mandatoryToJson method Null safety

  1. @override
List<J> mandatoryToJson(
  1. List<D> list
)
override

Implementation

@override
List<J> mandatoryToJson(List<D> list) => list
    .map((element) => elementValueType.convertToJson(element) as J)
    .toList(growable: false);