fromJson method

  1. @override
List<T>? fromJson(
  1. dynamic json
)

Implementation

@override
List<T>? fromJson(dynamic json) {
  if (json == null) {
    return null;
  }
  Iterable<dynamic> list = json;
  return list.map<T>((value) => parseJson(value)).toList();
}