mandatoryFromJson method Null safety

  1. @override
Map<String, D> mandatoryFromJson(
  1. Map<String, dynamic> json
)
override

Implementation

@override
Map<String, D> mandatoryFromJson(Map<String, dynamic> json) => json.map(
      (key, value) => MapEntry(
        key,
        fieldValueTypes[key]!.convertFromJson(value as J) as D,
      ),
    );