toJson method
Converts the current class to JSON
Implementation
String toJson() => jsonEncode(
toMap(),
toEncodable: (nonEncodable) => nonEncodable.runtimeType.toString(),
);
Converts the current class to JSON
String toJson() => jsonEncode(
toMap(),
toEncodable: (nonEncodable) => nonEncodable.runtimeType.toString(),
);