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