// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'groups.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

_$GroupsImpl _$$GroupsImplFromJson(Map<String, dynamic> json) => _$GroupsImpl(
  normal: json['normal'] == null
      ? null
      : Normal.fromJson(json['normal'] as Map<String, dynamic>),
  streaming: json['streaming'] == null
      ? null
      : Normal.fromJson(json['streaming'] as Map<String, dynamic>),
);

Map<String, dynamic> _$$GroupsImplToJson(_$GroupsImpl instance) =>
    <String, dynamic>{
      'normal': instance.normal,
      'streaming': instance.streaming,
    };

_$NormalImpl _$$NormalImplFromJson(Map<String, dynamic> json) => _$NormalImpl(
  tags: (json['tags'] as List<dynamic>?)
      ?.map((e) => Tags.fromJson(e as Map<String, dynamic>))
      .toList(),
  list: (json['list'] as List<dynamic>?)
      ?.map((e) => LocationList.fromJson(e as Map<String, dynamic>))
      .toList(),
);

Map<String, dynamic> _$$NormalImplToJson(_$NormalImpl instance) =>
    <String, dynamic>{'tags': instance.tags, 'list': instance.list};

_$TagsImpl _$$TagsImplFromJson(Map<String, dynamic> json) => _$TagsImpl(
  id: (json['id'] as num?)?.toInt(),
  name: json['name'] as String?,
  icon: json['icon'] as String?,
  sort: (json['sort'] as num?)?.toInt(),
);

Map<String, dynamic> _$$TagsImplToJson(_$TagsImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'icon': instance.icon,
      'sort': instance.sort,
    };

_$LocationListImpl _$$LocationListImplFromJson(Map<String, dynamic> json) =>
    _$LocationListImpl(
      id: (json['id'] as num?)?.toInt(),
      name: json['name'] as String?,
      icon: json['icon'] as String?,
      tag: (json['tag'] as num?)?.toInt(),
      locations: (json['locations'] as List<dynamic>?)
          ?.map((e) => Locations.fromJson(e as Map<String, dynamic>))
          .toList(),
    );

Map<String, dynamic> _$$LocationListImplToJson(_$LocationListImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'icon': instance.icon,
      'tag': instance.tag,
      'locations': instance.locations,
    };

_$LocationsImpl _$$LocationsImplFromJson(Map<String, dynamic> json) =>
    _$LocationsImpl(
      id: (json['id'] as num?)?.toInt(),
      name: json['name'] as String?,
      code: json['code'] as String?,
      icon: json['icon'] as String?,
      country: json['country'] as String?,
      sort: (json['sort'] as num?)?.toInt(),
      latency: (json['latency'] as num?)?.toInt(),
    );

Map<String, dynamic> _$$LocationsImplToJson(_$LocationsImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'code': instance.code,
      'icon': instance.icon,
      'country': instance.country,
      'sort': instance.sort,
      'latency': instance.latency,
    };
