app_config.g.dart 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'app_config.dart';
  3. // **************************************************************************
  4. // JsonSerializableGenerator
  5. // **************************************************************************
  6. AppConfig _$AppConfigFromJson(Map<String, dynamic> json) => AppConfig(
  7. startOnBoot: json['startOnBoot'] as bool,
  8. autoRunServer: json['autoRunServer'] as bool,
  9. darkMode: json['darkMode'] as bool,
  10. themeColor: json['themeColor'] as int,
  11. showAddress: json['showAddress'] as bool,
  12. enableStatistics: json['enableStatistics'] as bool,
  13. enableSpeedChart: json['enableSpeedChart'] as bool,
  14. updateSubscribeInterval: json['updateSubscribeInterval'] as int,
  15. updateThroughProxy: json['updateThroughProxy'] as bool,
  16. userAgent: json['userAgent'] as int,
  17. autoGetIp: json['autoGetIp'] as bool,
  18. autoConfigureSystemProxy: json['autoConfigureSystemProxy'] as bool,
  19. enableTun: json['enableTun'] as bool,
  20. socksPort: json['socksPort'] as int,
  21. httpPort: json['httpPort'] as int,
  22. mixedPort: json['mixedPort'] as int,
  23. listen: json['listen'] as String,
  24. enableUdp: json['enableUdp'] as bool,
  25. authentication: json['authentication'] as bool,
  26. user: json['user'] as String,
  27. password: json['password'] as String,
  28. coreApiPort: json['coreApiPort'] as int,
  29. enableSniffing: json['enableSniffing'] as bool,
  30. configureDns: json['configureDns'] as bool,
  31. remoteDns: json['remoteDns'] as String,
  32. directDns: json['directDns'] as String,
  33. domainStrategy: json['domainStrategy'] as int,
  34. domainMatcher: json['domainMatcher'] as int,
  35. enableCoreLog: json['enableCoreLog'] as bool,
  36. logLevel: json['logLevel'] as int,
  37. maxLogCount: json['maxLogCount'] as int,
  38. saveCoreLog: json['saveCoreLog'] as bool,
  39. routingProvider: json['routingProvider'] as int,
  40. vmessProvider: json['vmessProvider'] as int,
  41. vlessProvider: json['vlessProvider'] as int,
  42. shadowsocksProvider: json['shadowsocksProvider'] as int,
  43. trojanProvider: json['trojanProvider'] as int,
  44. hysteriaProvider: json['hysteriaProvider'] as int,
  45. additionalSocksPort: json['additionalSocksPort'] as int,
  46. tunProvider: json['tunProvider'] as int,
  47. enableIpv4: json['enableIpv4'] as bool,
  48. ipv4Address: json['ipv4Address'] as String,
  49. enableIpv6: json['enableIpv6'] as bool,
  50. ipv6Address: json['ipv6Address'] as String,
  51. mtu: json['mtu'] as int,
  52. stack: json['stack'] as int,
  53. autoRoute: json['autoRoute'] as bool,
  54. strictRoute: json['strictRoute'] as bool,
  55. );
  56. Map<String, dynamic> _$AppConfigToJson(AppConfig instance) => <String, dynamic>{
  57. 'startOnBoot': instance.startOnBoot,
  58. 'autoRunServer': instance.autoRunServer,
  59. 'darkMode': instance.darkMode,
  60. 'themeColor': instance.themeColor,
  61. 'showAddress': instance.showAddress,
  62. 'enableStatistics': instance.enableStatistics,
  63. 'enableSpeedChart': instance.enableSpeedChart,
  64. 'updateSubscribeInterval': instance.updateSubscribeInterval,
  65. 'updateThroughProxy': instance.updateThroughProxy,
  66. 'userAgent': instance.userAgent,
  67. 'autoGetIp': instance.autoGetIp,
  68. 'autoConfigureSystemProxy': instance.autoConfigureSystemProxy,
  69. 'enableTun': instance.enableTun,
  70. 'socksPort': instance.socksPort,
  71. 'httpPort': instance.httpPort,
  72. 'mixedPort': instance.mixedPort,
  73. 'listen': instance.listen,
  74. 'enableUdp': instance.enableUdp,
  75. 'authentication': instance.authentication,
  76. 'user': instance.user,
  77. 'password': instance.password,
  78. 'coreApiPort': instance.coreApiPort,
  79. 'enableSniffing': instance.enableSniffing,
  80. 'configureDns': instance.configureDns,
  81. 'remoteDns': instance.remoteDns,
  82. 'directDns': instance.directDns,
  83. 'domainStrategy': instance.domainStrategy,
  84. 'domainMatcher': instance.domainMatcher,
  85. 'enableCoreLog': instance.enableCoreLog,
  86. 'logLevel': instance.logLevel,
  87. 'maxLogCount': instance.maxLogCount,
  88. 'saveCoreLog': instance.saveCoreLog,
  89. 'routingProvider': instance.routingProvider,
  90. 'vmessProvider': instance.vmessProvider,
  91. 'vlessProvider': instance.vlessProvider,
  92. 'shadowsocksProvider': instance.shadowsocksProvider,
  93. 'trojanProvider': instance.trojanProvider,
  94. 'hysteriaProvider': instance.hysteriaProvider,
  95. 'additionalSocksPort': instance.additionalSocksPort,
  96. 'tunProvider': instance.tunProvider,
  97. 'enableIpv4': instance.enableIpv4,
  98. 'ipv4Address': instance.ipv4Address,
  99. 'enableIpv6': instance.enableIpv6,
  100. 'ipv6Address': instance.ipv6Address,
  101. 'mtu': instance.mtu,
  102. 'stack': instance.stack,
  103. 'autoRoute': instance.autoRoute,
  104. 'strictRoute': instance.strictRoute,
  105. };