mandatoryFromJson method Null safety

  1. @override
List<D> mandatoryFromJson(
  1. List json
)
override

Implementation

@override
List<D> mandatoryFromJson(List<dynamic> json) => json
    .map((element) => elementValueType.convertFromJson(element) as D)
    .toList(growable: false);