fromJson method

  1. @override
List<FlutterShadow> fromJson(
  1. Object? json
)

Implementation

@override
List<FlutterShadow> fromJson(Object? json) {
  if (null == json) throw Exception();
  if (json is! List) throw Exception();
  return json
      .cast<Map<String, dynamic>>()
      .map((e) => FlutterShadow.c.fromJson(e))
      .toList();
}