toJsonMap method Null safety
Implementation
Map<String, Object?> toJsonMap() {
final map = <String, Object?>{};
for (final field in fields) {
map[field.key] = field.toJson()['value'];
}
return map;
}
Map<String, Object?> toJsonMap() {
final map = <String, Object?>{};
for (final field in fields) {
map[field.key] = field.toJson()['value'];
}
return map;
}