toJson method
Convert object to json compatible types
Implementation
@override
dynamic toJson() {
final json = <String, dynamic>{};
for (final entry in entries) {
json[entry.key] = entry.value.toJson();
}
return json;
}
Convert object to json compatible types
@override
dynamic toJson() {
final json = <String, dynamic>{};
for (final entry in entries) {
json[entry.key] = entry.value.toJson();
}
return json;
}