mandatoryToJson method Null safety
- Map<
K, D> map
override
Implementation
@override
Map<String, J> mandatoryToJson(Map<K, D> map) => map.map(
(key, value) => MapEntry(
keyValueType.convertToJson(key)!,
valueValueType.convertToJson(value) as J,
),
);