mandatoryToJson method Null safety

  1. @override
Map<String, J> mandatoryToJson(
  1. Map<String, D> map
)
override

Implementation

@override
Map<String, J> mandatoryToJson(Map<String, D> map) => map.map(
      (key, value) =>
          MapEntry(key, fieldValueTypes[key]!.convertToJson(value) as J),
    );