// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'vpn_config.dart';

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

_$VpnConfigImpl _$$VpnConfigImplFromJson(Map<String, dynamic> json) =>
    _$VpnConfigImpl(
      cdnRouters: (json['cdnRouters'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList(),
      autoDisconnectMinutes: (json['autoDisconnectMinutes'] as num?)?.toInt(),
      connectArgs: json['connectArgs'] == null
          ? null
          : ConnectArgs.fromJson(json['connectArgs'] as Map<String, dynamic>),
      defaultDnsServers: json['defaultDnsServers'] as String?,
      forceSkipDomain: json['forceSkipDomain'] as String?,
      routers: (json['routers'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList(),
      skipIps: json['skipIps'] == null
          ? null
          : SkipIps.fromJson(json['skipIps'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$$VpnConfigImplToJson(_$VpnConfigImpl instance) =>
    <String, dynamic>{
      'cdnRouters': instance.cdnRouters,
      'autoDisconnectMinutes': instance.autoDisconnectMinutes,
      'connectArgs': instance.connectArgs,
      'defaultDnsServers': instance.defaultDnsServers,
      'forceSkipDomain': instance.forceSkipDomain,
      'routers': instance.routers,
      'skipIps': instance.skipIps,
    };

_$ConnectArgsImpl _$$ConnectArgsImplFromJson(Map<String, dynamic> json) =>
    _$ConnectArgsImpl(p: json['p'] as String?, v: json['v'] as String?);

Map<String, dynamic> _$$ConnectArgsImplToJson(_$ConnectArgsImpl instance) =>
    <String, dynamic>{'p': instance.p, 'v': instance.v};

_$SkipIpsImpl _$$SkipIpsImplFromJson(Map<String, dynamic> json) =>
    _$SkipIpsImpl(md5: json['md5'] as String?, url: json['url'] as String?);

Map<String, dynamic> _$$SkipIpsImplToJson(_$SkipIpsImpl instance) =>
    <String, dynamic>{'md5': instance.md5, 'url': instance.url};
