mapFromJson static method

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

Implementation

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