mapFromJson static method

Map<String, FilesList> mapFromJson(
  1. Map<String, Map<String, dynamic>> json
)

Implementation

static Map<String, FilesList> mapFromJson(
    Map<String, Map<String, dynamic>> json) {
  final map = Map<String, FilesList>();
  if (json.isNotEmpty) {
    json.forEach((String key, Map<String, dynamic> value) =>
        map[key] = FilesList.fromJson(value));
  }
  return map;
}