app_config.freezed.dart 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650
  1. // coverage:ignore-file
  2. // GENERATED CODE - DO NOT MODIFY BY HAND
  3. // ignore_for_file: type=lint
  4. // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
  5. part of 'app_config.dart';
  6. // **************************************************************************
  7. // FreezedGenerator
  8. // **************************************************************************
  9. T _$identity<T>(T value) => value;
  10. final _privateConstructorUsedError = UnsupportedError(
  11. 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models',
  12. );
  13. AppConfig _$AppConfigFromJson(Map<String, dynamic> json) {
  14. return _AppConfig.fromJson(json);
  15. }
  16. /// @nodoc
  17. mixin _$AppConfig {
  18. List<String>? get apiIps => throw _privateConstructorUsedError;
  19. List<String>? get apiUrls => throw _privateConstructorUsedError;
  20. List<String>? get routerApiUrls => throw _privateConstructorUsedError;
  21. List<String>? get appStatUrls => throw _privateConstructorUsedError;
  22. List<String>? get assetUrls => throw _privateConstructorUsedError;
  23. List<String>? get logFileUploadUrls => throw _privateConstructorUsedError;
  24. List<String>? get realityApiUrls => throw _privateConstructorUsedError;
  25. List<String>? get realityAppStatUrls => throw _privateConstructorUsedError;
  26. List<String>? get realityLogFileUploadUrls =>
  27. throw _privateConstructorUsedError;
  28. bool? get autoPing => throw _privateConstructorUsedError;
  29. int? get autoPingInterval => throw _privateConstructorUsedError;
  30. List<String>? get backupApiUrls => throw _privateConstructorUsedError;
  31. int? get cacheDataEffectiveDays => throw _privateConstructorUsedError;
  32. List<Contacts>? get contacts => throw _privateConstructorUsedError;
  33. List<Contacts>? get follows => throw _privateConstructorUsedError;
  34. List<String>? get providers => throw _privateConstructorUsedError;
  35. List<int>? get signalThresholds => throw _privateConstructorUsedError;
  36. List<int>? get packetLossThresholds => throw _privateConstructorUsedError;
  37. SkipGeo? get skipGeo => throw _privateConstructorUsedError;
  38. List<SpeedTestTargetList>? get speedTestTargetList =>
  39. throw _privateConstructorUsedError;
  40. String? get websiteUrl => throw _privateConstructorUsedError;
  41. bool? get visitorDisabled => throw _privateConstructorUsedError; // 游客模式
  42. PrivacyTerms? get privacyAgreement => throw _privateConstructorUsedError;
  43. String? get email => throw _privateConstructorUsedError;
  44. List<String>? get blackPkgs => throw _privateConstructorUsedError;
  45. List<String>? get whitePkgs => throw _privateConstructorUsedError;
  46. int? get accelerationSampleCount => throw _privateConstructorUsedError;
  47. int? get minAccelerationSampleCount => throw _privateConstructorUsedError;
  48. int? get connectionWarningThreshold => throw _privateConstructorUsedError;
  49. String? get connectiveTestUrl => throw _privateConstructorUsedError;
  50. List<String>? get disabledLogModules => throw _privateConstructorUsedError;
  51. String? get realTimeDbPath => throw _privateConstructorUsedError;
  52. int? get boostTimeInterval => throw _privateConstructorUsedError;
  53. int? get pingDisplayMode => throw _privateConstructorUsedError;
  54. int? get peekTimeInterval => throw _privateConstructorUsedError;
  55. bool? get enableAd => throw _privateConstructorUsedError;
  56. int? get adTimeoutDuration => throw _privateConstructorUsedError;
  57. int? get reportActiveInterval => throw _privateConstructorUsedError;
  58. int? get serverTime => throw _privateConstructorUsedError;
  59. /// Serializes this AppConfig to a JSON map.
  60. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  61. /// Create a copy of AppConfig
  62. /// with the given fields replaced by the non-null parameter values.
  63. @JsonKey(includeFromJson: false, includeToJson: false)
  64. $AppConfigCopyWith<AppConfig> get copyWith =>
  65. throw _privateConstructorUsedError;
  66. }
  67. /// @nodoc
  68. abstract class $AppConfigCopyWith<$Res> {
  69. factory $AppConfigCopyWith(AppConfig value, $Res Function(AppConfig) then) =
  70. _$AppConfigCopyWithImpl<$Res, AppConfig>;
  71. @useResult
  72. $Res call({
  73. List<String>? apiIps,
  74. List<String>? apiUrls,
  75. List<String>? routerApiUrls,
  76. List<String>? appStatUrls,
  77. List<String>? assetUrls,
  78. List<String>? logFileUploadUrls,
  79. List<String>? realityApiUrls,
  80. List<String>? realityAppStatUrls,
  81. List<String>? realityLogFileUploadUrls,
  82. bool? autoPing,
  83. int? autoPingInterval,
  84. List<String>? backupApiUrls,
  85. int? cacheDataEffectiveDays,
  86. List<Contacts>? contacts,
  87. List<Contacts>? follows,
  88. List<String>? providers,
  89. List<int>? signalThresholds,
  90. List<int>? packetLossThresholds,
  91. SkipGeo? skipGeo,
  92. List<SpeedTestTargetList>? speedTestTargetList,
  93. String? websiteUrl,
  94. bool? visitorDisabled,
  95. PrivacyTerms? privacyAgreement,
  96. String? email,
  97. List<String>? blackPkgs,
  98. List<String>? whitePkgs,
  99. int? accelerationSampleCount,
  100. int? minAccelerationSampleCount,
  101. int? connectionWarningThreshold,
  102. String? connectiveTestUrl,
  103. List<String>? disabledLogModules,
  104. String? realTimeDbPath,
  105. int? boostTimeInterval,
  106. int? pingDisplayMode,
  107. int? peekTimeInterval,
  108. bool? enableAd,
  109. int? adTimeoutDuration,
  110. int? reportActiveInterval,
  111. int? serverTime,
  112. });
  113. }
  114. /// @nodoc
  115. class _$AppConfigCopyWithImpl<$Res, $Val extends AppConfig>
  116. implements $AppConfigCopyWith<$Res> {
  117. _$AppConfigCopyWithImpl(this._value, this._then);
  118. // ignore: unused_field
  119. final $Val _value;
  120. // ignore: unused_field
  121. final $Res Function($Val) _then;
  122. /// Create a copy of AppConfig
  123. /// with the given fields replaced by the non-null parameter values.
  124. @pragma('vm:prefer-inline')
  125. @override
  126. $Res call({
  127. Object? apiIps = freezed,
  128. Object? apiUrls = freezed,
  129. Object? routerApiUrls = freezed,
  130. Object? appStatUrls = freezed,
  131. Object? assetUrls = freezed,
  132. Object? logFileUploadUrls = freezed,
  133. Object? realityApiUrls = freezed,
  134. Object? realityAppStatUrls = freezed,
  135. Object? realityLogFileUploadUrls = freezed,
  136. Object? autoPing = freezed,
  137. Object? autoPingInterval = freezed,
  138. Object? backupApiUrls = freezed,
  139. Object? cacheDataEffectiveDays = freezed,
  140. Object? contacts = freezed,
  141. Object? follows = freezed,
  142. Object? providers = freezed,
  143. Object? signalThresholds = freezed,
  144. Object? packetLossThresholds = freezed,
  145. Object? skipGeo = freezed,
  146. Object? speedTestTargetList = freezed,
  147. Object? websiteUrl = freezed,
  148. Object? visitorDisabled = freezed,
  149. Object? privacyAgreement = freezed,
  150. Object? email = freezed,
  151. Object? blackPkgs = freezed,
  152. Object? whitePkgs = freezed,
  153. Object? accelerationSampleCount = freezed,
  154. Object? minAccelerationSampleCount = freezed,
  155. Object? connectionWarningThreshold = freezed,
  156. Object? connectiveTestUrl = freezed,
  157. Object? disabledLogModules = freezed,
  158. Object? realTimeDbPath = freezed,
  159. Object? boostTimeInterval = freezed,
  160. Object? pingDisplayMode = freezed,
  161. Object? peekTimeInterval = freezed,
  162. Object? enableAd = freezed,
  163. Object? adTimeoutDuration = freezed,
  164. Object? reportActiveInterval = freezed,
  165. Object? serverTime = freezed,
  166. }) {
  167. return _then(
  168. _value.copyWith(
  169. apiIps: freezed == apiIps
  170. ? _value.apiIps
  171. : apiIps // ignore: cast_nullable_to_non_nullable
  172. as List<String>?,
  173. apiUrls: freezed == apiUrls
  174. ? _value.apiUrls
  175. : apiUrls // ignore: cast_nullable_to_non_nullable
  176. as List<String>?,
  177. routerApiUrls: freezed == routerApiUrls
  178. ? _value.routerApiUrls
  179. : routerApiUrls // ignore: cast_nullable_to_non_nullable
  180. as List<String>?,
  181. appStatUrls: freezed == appStatUrls
  182. ? _value.appStatUrls
  183. : appStatUrls // ignore: cast_nullable_to_non_nullable
  184. as List<String>?,
  185. assetUrls: freezed == assetUrls
  186. ? _value.assetUrls
  187. : assetUrls // ignore: cast_nullable_to_non_nullable
  188. as List<String>?,
  189. logFileUploadUrls: freezed == logFileUploadUrls
  190. ? _value.logFileUploadUrls
  191. : logFileUploadUrls // ignore: cast_nullable_to_non_nullable
  192. as List<String>?,
  193. realityApiUrls: freezed == realityApiUrls
  194. ? _value.realityApiUrls
  195. : realityApiUrls // ignore: cast_nullable_to_non_nullable
  196. as List<String>?,
  197. realityAppStatUrls: freezed == realityAppStatUrls
  198. ? _value.realityAppStatUrls
  199. : realityAppStatUrls // ignore: cast_nullable_to_non_nullable
  200. as List<String>?,
  201. realityLogFileUploadUrls: freezed == realityLogFileUploadUrls
  202. ? _value.realityLogFileUploadUrls
  203. : realityLogFileUploadUrls // ignore: cast_nullable_to_non_nullable
  204. as List<String>?,
  205. autoPing: freezed == autoPing
  206. ? _value.autoPing
  207. : autoPing // ignore: cast_nullable_to_non_nullable
  208. as bool?,
  209. autoPingInterval: freezed == autoPingInterval
  210. ? _value.autoPingInterval
  211. : autoPingInterval // ignore: cast_nullable_to_non_nullable
  212. as int?,
  213. backupApiUrls: freezed == backupApiUrls
  214. ? _value.backupApiUrls
  215. : backupApiUrls // ignore: cast_nullable_to_non_nullable
  216. as List<String>?,
  217. cacheDataEffectiveDays: freezed == cacheDataEffectiveDays
  218. ? _value.cacheDataEffectiveDays
  219. : cacheDataEffectiveDays // ignore: cast_nullable_to_non_nullable
  220. as int?,
  221. contacts: freezed == contacts
  222. ? _value.contacts
  223. : contacts // ignore: cast_nullable_to_non_nullable
  224. as List<Contacts>?,
  225. follows: freezed == follows
  226. ? _value.follows
  227. : follows // ignore: cast_nullable_to_non_nullable
  228. as List<Contacts>?,
  229. providers: freezed == providers
  230. ? _value.providers
  231. : providers // ignore: cast_nullable_to_non_nullable
  232. as List<String>?,
  233. signalThresholds: freezed == signalThresholds
  234. ? _value.signalThresholds
  235. : signalThresholds // ignore: cast_nullable_to_non_nullable
  236. as List<int>?,
  237. packetLossThresholds: freezed == packetLossThresholds
  238. ? _value.packetLossThresholds
  239. : packetLossThresholds // ignore: cast_nullable_to_non_nullable
  240. as List<int>?,
  241. skipGeo: freezed == skipGeo
  242. ? _value.skipGeo
  243. : skipGeo // ignore: cast_nullable_to_non_nullable
  244. as SkipGeo?,
  245. speedTestTargetList: freezed == speedTestTargetList
  246. ? _value.speedTestTargetList
  247. : speedTestTargetList // ignore: cast_nullable_to_non_nullable
  248. as List<SpeedTestTargetList>?,
  249. websiteUrl: freezed == websiteUrl
  250. ? _value.websiteUrl
  251. : websiteUrl // ignore: cast_nullable_to_non_nullable
  252. as String?,
  253. visitorDisabled: freezed == visitorDisabled
  254. ? _value.visitorDisabled
  255. : visitorDisabled // ignore: cast_nullable_to_non_nullable
  256. as bool?,
  257. privacyAgreement: freezed == privacyAgreement
  258. ? _value.privacyAgreement
  259. : privacyAgreement // ignore: cast_nullable_to_non_nullable
  260. as PrivacyTerms?,
  261. email: freezed == email
  262. ? _value.email
  263. : email // ignore: cast_nullable_to_non_nullable
  264. as String?,
  265. blackPkgs: freezed == blackPkgs
  266. ? _value.blackPkgs
  267. : blackPkgs // ignore: cast_nullable_to_non_nullable
  268. as List<String>?,
  269. whitePkgs: freezed == whitePkgs
  270. ? _value.whitePkgs
  271. : whitePkgs // ignore: cast_nullable_to_non_nullable
  272. as List<String>?,
  273. accelerationSampleCount: freezed == accelerationSampleCount
  274. ? _value.accelerationSampleCount
  275. : accelerationSampleCount // ignore: cast_nullable_to_non_nullable
  276. as int?,
  277. minAccelerationSampleCount: freezed == minAccelerationSampleCount
  278. ? _value.minAccelerationSampleCount
  279. : minAccelerationSampleCount // ignore: cast_nullable_to_non_nullable
  280. as int?,
  281. connectionWarningThreshold: freezed == connectionWarningThreshold
  282. ? _value.connectionWarningThreshold
  283. : connectionWarningThreshold // ignore: cast_nullable_to_non_nullable
  284. as int?,
  285. connectiveTestUrl: freezed == connectiveTestUrl
  286. ? _value.connectiveTestUrl
  287. : connectiveTestUrl // ignore: cast_nullable_to_non_nullable
  288. as String?,
  289. disabledLogModules: freezed == disabledLogModules
  290. ? _value.disabledLogModules
  291. : disabledLogModules // ignore: cast_nullable_to_non_nullable
  292. as List<String>?,
  293. realTimeDbPath: freezed == realTimeDbPath
  294. ? _value.realTimeDbPath
  295. : realTimeDbPath // ignore: cast_nullable_to_non_nullable
  296. as String?,
  297. boostTimeInterval: freezed == boostTimeInterval
  298. ? _value.boostTimeInterval
  299. : boostTimeInterval // ignore: cast_nullable_to_non_nullable
  300. as int?,
  301. pingDisplayMode: freezed == pingDisplayMode
  302. ? _value.pingDisplayMode
  303. : pingDisplayMode // ignore: cast_nullable_to_non_nullable
  304. as int?,
  305. peekTimeInterval: freezed == peekTimeInterval
  306. ? _value.peekTimeInterval
  307. : peekTimeInterval // ignore: cast_nullable_to_non_nullable
  308. as int?,
  309. enableAd: freezed == enableAd
  310. ? _value.enableAd
  311. : enableAd // ignore: cast_nullable_to_non_nullable
  312. as bool?,
  313. adTimeoutDuration: freezed == adTimeoutDuration
  314. ? _value.adTimeoutDuration
  315. : adTimeoutDuration // ignore: cast_nullable_to_non_nullable
  316. as int?,
  317. reportActiveInterval: freezed == reportActiveInterval
  318. ? _value.reportActiveInterval
  319. : reportActiveInterval // ignore: cast_nullable_to_non_nullable
  320. as int?,
  321. serverTime: freezed == serverTime
  322. ? _value.serverTime
  323. : serverTime // ignore: cast_nullable_to_non_nullable
  324. as int?,
  325. )
  326. as $Val,
  327. );
  328. }
  329. }
  330. /// @nodoc
  331. abstract class _$$AppConfigImplCopyWith<$Res>
  332. implements $AppConfigCopyWith<$Res> {
  333. factory _$$AppConfigImplCopyWith(
  334. _$AppConfigImpl value,
  335. $Res Function(_$AppConfigImpl) then,
  336. ) = __$$AppConfigImplCopyWithImpl<$Res>;
  337. @override
  338. @useResult
  339. $Res call({
  340. List<String>? apiIps,
  341. List<String>? apiUrls,
  342. List<String>? routerApiUrls,
  343. List<String>? appStatUrls,
  344. List<String>? assetUrls,
  345. List<String>? logFileUploadUrls,
  346. List<String>? realityApiUrls,
  347. List<String>? realityAppStatUrls,
  348. List<String>? realityLogFileUploadUrls,
  349. bool? autoPing,
  350. int? autoPingInterval,
  351. List<String>? backupApiUrls,
  352. int? cacheDataEffectiveDays,
  353. List<Contacts>? contacts,
  354. List<Contacts>? follows,
  355. List<String>? providers,
  356. List<int>? signalThresholds,
  357. List<int>? packetLossThresholds,
  358. SkipGeo? skipGeo,
  359. List<SpeedTestTargetList>? speedTestTargetList,
  360. String? websiteUrl,
  361. bool? visitorDisabled,
  362. PrivacyTerms? privacyAgreement,
  363. String? email,
  364. List<String>? blackPkgs,
  365. List<String>? whitePkgs,
  366. int? accelerationSampleCount,
  367. int? minAccelerationSampleCount,
  368. int? connectionWarningThreshold,
  369. String? connectiveTestUrl,
  370. List<String>? disabledLogModules,
  371. String? realTimeDbPath,
  372. int? boostTimeInterval,
  373. int? pingDisplayMode,
  374. int? peekTimeInterval,
  375. bool? enableAd,
  376. int? adTimeoutDuration,
  377. int? reportActiveInterval,
  378. int? serverTime,
  379. });
  380. }
  381. /// @nodoc
  382. class __$$AppConfigImplCopyWithImpl<$Res>
  383. extends _$AppConfigCopyWithImpl<$Res, _$AppConfigImpl>
  384. implements _$$AppConfigImplCopyWith<$Res> {
  385. __$$AppConfigImplCopyWithImpl(
  386. _$AppConfigImpl _value,
  387. $Res Function(_$AppConfigImpl) _then,
  388. ) : super(_value, _then);
  389. /// Create a copy of AppConfig
  390. /// with the given fields replaced by the non-null parameter values.
  391. @pragma('vm:prefer-inline')
  392. @override
  393. $Res call({
  394. Object? apiIps = freezed,
  395. Object? apiUrls = freezed,
  396. Object? routerApiUrls = freezed,
  397. Object? appStatUrls = freezed,
  398. Object? assetUrls = freezed,
  399. Object? logFileUploadUrls = freezed,
  400. Object? realityApiUrls = freezed,
  401. Object? realityAppStatUrls = freezed,
  402. Object? realityLogFileUploadUrls = freezed,
  403. Object? autoPing = freezed,
  404. Object? autoPingInterval = freezed,
  405. Object? backupApiUrls = freezed,
  406. Object? cacheDataEffectiveDays = freezed,
  407. Object? contacts = freezed,
  408. Object? follows = freezed,
  409. Object? providers = freezed,
  410. Object? signalThresholds = freezed,
  411. Object? packetLossThresholds = freezed,
  412. Object? skipGeo = freezed,
  413. Object? speedTestTargetList = freezed,
  414. Object? websiteUrl = freezed,
  415. Object? visitorDisabled = freezed,
  416. Object? privacyAgreement = freezed,
  417. Object? email = freezed,
  418. Object? blackPkgs = freezed,
  419. Object? whitePkgs = freezed,
  420. Object? accelerationSampleCount = freezed,
  421. Object? minAccelerationSampleCount = freezed,
  422. Object? connectionWarningThreshold = freezed,
  423. Object? connectiveTestUrl = freezed,
  424. Object? disabledLogModules = freezed,
  425. Object? realTimeDbPath = freezed,
  426. Object? boostTimeInterval = freezed,
  427. Object? pingDisplayMode = freezed,
  428. Object? peekTimeInterval = freezed,
  429. Object? enableAd = freezed,
  430. Object? adTimeoutDuration = freezed,
  431. Object? reportActiveInterval = freezed,
  432. Object? serverTime = freezed,
  433. }) {
  434. return _then(
  435. _$AppConfigImpl(
  436. apiIps: freezed == apiIps
  437. ? _value._apiIps
  438. : apiIps // ignore: cast_nullable_to_non_nullable
  439. as List<String>?,
  440. apiUrls: freezed == apiUrls
  441. ? _value._apiUrls
  442. : apiUrls // ignore: cast_nullable_to_non_nullable
  443. as List<String>?,
  444. routerApiUrls: freezed == routerApiUrls
  445. ? _value._routerApiUrls
  446. : routerApiUrls // ignore: cast_nullable_to_non_nullable
  447. as List<String>?,
  448. appStatUrls: freezed == appStatUrls
  449. ? _value._appStatUrls
  450. : appStatUrls // ignore: cast_nullable_to_non_nullable
  451. as List<String>?,
  452. assetUrls: freezed == assetUrls
  453. ? _value._assetUrls
  454. : assetUrls // ignore: cast_nullable_to_non_nullable
  455. as List<String>?,
  456. logFileUploadUrls: freezed == logFileUploadUrls
  457. ? _value._logFileUploadUrls
  458. : logFileUploadUrls // ignore: cast_nullable_to_non_nullable
  459. as List<String>?,
  460. realityApiUrls: freezed == realityApiUrls
  461. ? _value._realityApiUrls
  462. : realityApiUrls // ignore: cast_nullable_to_non_nullable
  463. as List<String>?,
  464. realityAppStatUrls: freezed == realityAppStatUrls
  465. ? _value._realityAppStatUrls
  466. : realityAppStatUrls // ignore: cast_nullable_to_non_nullable
  467. as List<String>?,
  468. realityLogFileUploadUrls: freezed == realityLogFileUploadUrls
  469. ? _value._realityLogFileUploadUrls
  470. : realityLogFileUploadUrls // ignore: cast_nullable_to_non_nullable
  471. as List<String>?,
  472. autoPing: freezed == autoPing
  473. ? _value.autoPing
  474. : autoPing // ignore: cast_nullable_to_non_nullable
  475. as bool?,
  476. autoPingInterval: freezed == autoPingInterval
  477. ? _value.autoPingInterval
  478. : autoPingInterval // ignore: cast_nullable_to_non_nullable
  479. as int?,
  480. backupApiUrls: freezed == backupApiUrls
  481. ? _value._backupApiUrls
  482. : backupApiUrls // ignore: cast_nullable_to_non_nullable
  483. as List<String>?,
  484. cacheDataEffectiveDays: freezed == cacheDataEffectiveDays
  485. ? _value.cacheDataEffectiveDays
  486. : cacheDataEffectiveDays // ignore: cast_nullable_to_non_nullable
  487. as int?,
  488. contacts: freezed == contacts
  489. ? _value._contacts
  490. : contacts // ignore: cast_nullable_to_non_nullable
  491. as List<Contacts>?,
  492. follows: freezed == follows
  493. ? _value._follows
  494. : follows // ignore: cast_nullable_to_non_nullable
  495. as List<Contacts>?,
  496. providers: freezed == providers
  497. ? _value._providers
  498. : providers // ignore: cast_nullable_to_non_nullable
  499. as List<String>?,
  500. signalThresholds: freezed == signalThresholds
  501. ? _value._signalThresholds
  502. : signalThresholds // ignore: cast_nullable_to_non_nullable
  503. as List<int>?,
  504. packetLossThresholds: freezed == packetLossThresholds
  505. ? _value._packetLossThresholds
  506. : packetLossThresholds // ignore: cast_nullable_to_non_nullable
  507. as List<int>?,
  508. skipGeo: freezed == skipGeo
  509. ? _value.skipGeo
  510. : skipGeo // ignore: cast_nullable_to_non_nullable
  511. as SkipGeo?,
  512. speedTestTargetList: freezed == speedTestTargetList
  513. ? _value._speedTestTargetList
  514. : speedTestTargetList // ignore: cast_nullable_to_non_nullable
  515. as List<SpeedTestTargetList>?,
  516. websiteUrl: freezed == websiteUrl
  517. ? _value.websiteUrl
  518. : websiteUrl // ignore: cast_nullable_to_non_nullable
  519. as String?,
  520. visitorDisabled: freezed == visitorDisabled
  521. ? _value.visitorDisabled
  522. : visitorDisabled // ignore: cast_nullable_to_non_nullable
  523. as bool?,
  524. privacyAgreement: freezed == privacyAgreement
  525. ? _value.privacyAgreement
  526. : privacyAgreement // ignore: cast_nullable_to_non_nullable
  527. as PrivacyTerms?,
  528. email: freezed == email
  529. ? _value.email
  530. : email // ignore: cast_nullable_to_non_nullable
  531. as String?,
  532. blackPkgs: freezed == blackPkgs
  533. ? _value._blackPkgs
  534. : blackPkgs // ignore: cast_nullable_to_non_nullable
  535. as List<String>?,
  536. whitePkgs: freezed == whitePkgs
  537. ? _value._whitePkgs
  538. : whitePkgs // ignore: cast_nullable_to_non_nullable
  539. as List<String>?,
  540. accelerationSampleCount: freezed == accelerationSampleCount
  541. ? _value.accelerationSampleCount
  542. : accelerationSampleCount // ignore: cast_nullable_to_non_nullable
  543. as int?,
  544. minAccelerationSampleCount: freezed == minAccelerationSampleCount
  545. ? _value.minAccelerationSampleCount
  546. : minAccelerationSampleCount // ignore: cast_nullable_to_non_nullable
  547. as int?,
  548. connectionWarningThreshold: freezed == connectionWarningThreshold
  549. ? _value.connectionWarningThreshold
  550. : connectionWarningThreshold // ignore: cast_nullable_to_non_nullable
  551. as int?,
  552. connectiveTestUrl: freezed == connectiveTestUrl
  553. ? _value.connectiveTestUrl
  554. : connectiveTestUrl // ignore: cast_nullable_to_non_nullable
  555. as String?,
  556. disabledLogModules: freezed == disabledLogModules
  557. ? _value._disabledLogModules
  558. : disabledLogModules // ignore: cast_nullable_to_non_nullable
  559. as List<String>?,
  560. realTimeDbPath: freezed == realTimeDbPath
  561. ? _value.realTimeDbPath
  562. : realTimeDbPath // ignore: cast_nullable_to_non_nullable
  563. as String?,
  564. boostTimeInterval: freezed == boostTimeInterval
  565. ? _value.boostTimeInterval
  566. : boostTimeInterval // ignore: cast_nullable_to_non_nullable
  567. as int?,
  568. pingDisplayMode: freezed == pingDisplayMode
  569. ? _value.pingDisplayMode
  570. : pingDisplayMode // ignore: cast_nullable_to_non_nullable
  571. as int?,
  572. peekTimeInterval: freezed == peekTimeInterval
  573. ? _value.peekTimeInterval
  574. : peekTimeInterval // ignore: cast_nullable_to_non_nullable
  575. as int?,
  576. enableAd: freezed == enableAd
  577. ? _value.enableAd
  578. : enableAd // ignore: cast_nullable_to_non_nullable
  579. as bool?,
  580. adTimeoutDuration: freezed == adTimeoutDuration
  581. ? _value.adTimeoutDuration
  582. : adTimeoutDuration // ignore: cast_nullable_to_non_nullable
  583. as int?,
  584. reportActiveInterval: freezed == reportActiveInterval
  585. ? _value.reportActiveInterval
  586. : reportActiveInterval // ignore: cast_nullable_to_non_nullable
  587. as int?,
  588. serverTime: freezed == serverTime
  589. ? _value.serverTime
  590. : serverTime // ignore: cast_nullable_to_non_nullable
  591. as int?,
  592. ),
  593. );
  594. }
  595. }
  596. /// @nodoc
  597. @JsonSerializable()
  598. class _$AppConfigImpl with DiagnosticableTreeMixin implements _AppConfig {
  599. const _$AppConfigImpl({
  600. final List<String>? apiIps,
  601. final List<String>? apiUrls,
  602. final List<String>? routerApiUrls,
  603. final List<String>? appStatUrls,
  604. final List<String>? assetUrls,
  605. final List<String>? logFileUploadUrls,
  606. final List<String>? realityApiUrls,
  607. final List<String>? realityAppStatUrls,
  608. final List<String>? realityLogFileUploadUrls,
  609. this.autoPing,
  610. this.autoPingInterval,
  611. final List<String>? backupApiUrls,
  612. this.cacheDataEffectiveDays,
  613. final List<Contacts>? contacts,
  614. final List<Contacts>? follows,
  615. final List<String>? providers,
  616. final List<int>? signalThresholds,
  617. final List<int>? packetLossThresholds,
  618. this.skipGeo,
  619. final List<SpeedTestTargetList>? speedTestTargetList,
  620. this.websiteUrl,
  621. this.visitorDisabled,
  622. this.privacyAgreement,
  623. this.email,
  624. final List<String>? blackPkgs,
  625. final List<String>? whitePkgs,
  626. this.accelerationSampleCount,
  627. this.minAccelerationSampleCount,
  628. this.connectionWarningThreshold,
  629. this.connectiveTestUrl,
  630. final List<String>? disabledLogModules,
  631. this.realTimeDbPath,
  632. this.boostTimeInterval,
  633. this.pingDisplayMode,
  634. this.peekTimeInterval,
  635. this.enableAd,
  636. this.adTimeoutDuration,
  637. this.reportActiveInterval,
  638. this.serverTime,
  639. }) : _apiIps = apiIps,
  640. _apiUrls = apiUrls,
  641. _routerApiUrls = routerApiUrls,
  642. _appStatUrls = appStatUrls,
  643. _assetUrls = assetUrls,
  644. _logFileUploadUrls = logFileUploadUrls,
  645. _realityApiUrls = realityApiUrls,
  646. _realityAppStatUrls = realityAppStatUrls,
  647. _realityLogFileUploadUrls = realityLogFileUploadUrls,
  648. _backupApiUrls = backupApiUrls,
  649. _contacts = contacts,
  650. _follows = follows,
  651. _providers = providers,
  652. _signalThresholds = signalThresholds,
  653. _packetLossThresholds = packetLossThresholds,
  654. _speedTestTargetList = speedTestTargetList,
  655. _blackPkgs = blackPkgs,
  656. _whitePkgs = whitePkgs,
  657. _disabledLogModules = disabledLogModules;
  658. factory _$AppConfigImpl.fromJson(Map<String, dynamic> json) =>
  659. _$$AppConfigImplFromJson(json);
  660. final List<String>? _apiIps;
  661. @override
  662. List<String>? get apiIps {
  663. final value = _apiIps;
  664. if (value == null) return null;
  665. if (_apiIps is EqualUnmodifiableListView) return _apiIps;
  666. // ignore: implicit_dynamic_type
  667. return EqualUnmodifiableListView(value);
  668. }
  669. final List<String>? _apiUrls;
  670. @override
  671. List<String>? get apiUrls {
  672. final value = _apiUrls;
  673. if (value == null) return null;
  674. if (_apiUrls is EqualUnmodifiableListView) return _apiUrls;
  675. // ignore: implicit_dynamic_type
  676. return EqualUnmodifiableListView(value);
  677. }
  678. final List<String>? _routerApiUrls;
  679. @override
  680. List<String>? get routerApiUrls {
  681. final value = _routerApiUrls;
  682. if (value == null) return null;
  683. if (_routerApiUrls is EqualUnmodifiableListView) return _routerApiUrls;
  684. // ignore: implicit_dynamic_type
  685. return EqualUnmodifiableListView(value);
  686. }
  687. final List<String>? _appStatUrls;
  688. @override
  689. List<String>? get appStatUrls {
  690. final value = _appStatUrls;
  691. if (value == null) return null;
  692. if (_appStatUrls is EqualUnmodifiableListView) return _appStatUrls;
  693. // ignore: implicit_dynamic_type
  694. return EqualUnmodifiableListView(value);
  695. }
  696. final List<String>? _assetUrls;
  697. @override
  698. List<String>? get assetUrls {
  699. final value = _assetUrls;
  700. if (value == null) return null;
  701. if (_assetUrls is EqualUnmodifiableListView) return _assetUrls;
  702. // ignore: implicit_dynamic_type
  703. return EqualUnmodifiableListView(value);
  704. }
  705. final List<String>? _logFileUploadUrls;
  706. @override
  707. List<String>? get logFileUploadUrls {
  708. final value = _logFileUploadUrls;
  709. if (value == null) return null;
  710. if (_logFileUploadUrls is EqualUnmodifiableListView)
  711. return _logFileUploadUrls;
  712. // ignore: implicit_dynamic_type
  713. return EqualUnmodifiableListView(value);
  714. }
  715. final List<String>? _realityApiUrls;
  716. @override
  717. List<String>? get realityApiUrls {
  718. final value = _realityApiUrls;
  719. if (value == null) return null;
  720. if (_realityApiUrls is EqualUnmodifiableListView) return _realityApiUrls;
  721. // ignore: implicit_dynamic_type
  722. return EqualUnmodifiableListView(value);
  723. }
  724. final List<String>? _realityAppStatUrls;
  725. @override
  726. List<String>? get realityAppStatUrls {
  727. final value = _realityAppStatUrls;
  728. if (value == null) return null;
  729. if (_realityAppStatUrls is EqualUnmodifiableListView)
  730. return _realityAppStatUrls;
  731. // ignore: implicit_dynamic_type
  732. return EqualUnmodifiableListView(value);
  733. }
  734. final List<String>? _realityLogFileUploadUrls;
  735. @override
  736. List<String>? get realityLogFileUploadUrls {
  737. final value = _realityLogFileUploadUrls;
  738. if (value == null) return null;
  739. if (_realityLogFileUploadUrls is EqualUnmodifiableListView)
  740. return _realityLogFileUploadUrls;
  741. // ignore: implicit_dynamic_type
  742. return EqualUnmodifiableListView(value);
  743. }
  744. @override
  745. final bool? autoPing;
  746. @override
  747. final int? autoPingInterval;
  748. final List<String>? _backupApiUrls;
  749. @override
  750. List<String>? get backupApiUrls {
  751. final value = _backupApiUrls;
  752. if (value == null) return null;
  753. if (_backupApiUrls is EqualUnmodifiableListView) return _backupApiUrls;
  754. // ignore: implicit_dynamic_type
  755. return EqualUnmodifiableListView(value);
  756. }
  757. @override
  758. final int? cacheDataEffectiveDays;
  759. final List<Contacts>? _contacts;
  760. @override
  761. List<Contacts>? get contacts {
  762. final value = _contacts;
  763. if (value == null) return null;
  764. if (_contacts is EqualUnmodifiableListView) return _contacts;
  765. // ignore: implicit_dynamic_type
  766. return EqualUnmodifiableListView(value);
  767. }
  768. final List<Contacts>? _follows;
  769. @override
  770. List<Contacts>? get follows {
  771. final value = _follows;
  772. if (value == null) return null;
  773. if (_follows is EqualUnmodifiableListView) return _follows;
  774. // ignore: implicit_dynamic_type
  775. return EqualUnmodifiableListView(value);
  776. }
  777. final List<String>? _providers;
  778. @override
  779. List<String>? get providers {
  780. final value = _providers;
  781. if (value == null) return null;
  782. if (_providers is EqualUnmodifiableListView) return _providers;
  783. // ignore: implicit_dynamic_type
  784. return EqualUnmodifiableListView(value);
  785. }
  786. final List<int>? _signalThresholds;
  787. @override
  788. List<int>? get signalThresholds {
  789. final value = _signalThresholds;
  790. if (value == null) return null;
  791. if (_signalThresholds is EqualUnmodifiableListView)
  792. return _signalThresholds;
  793. // ignore: implicit_dynamic_type
  794. return EqualUnmodifiableListView(value);
  795. }
  796. final List<int>? _packetLossThresholds;
  797. @override
  798. List<int>? get packetLossThresholds {
  799. final value = _packetLossThresholds;
  800. if (value == null) return null;
  801. if (_packetLossThresholds is EqualUnmodifiableListView)
  802. return _packetLossThresholds;
  803. // ignore: implicit_dynamic_type
  804. return EqualUnmodifiableListView(value);
  805. }
  806. @override
  807. final SkipGeo? skipGeo;
  808. final List<SpeedTestTargetList>? _speedTestTargetList;
  809. @override
  810. List<SpeedTestTargetList>? get speedTestTargetList {
  811. final value = _speedTestTargetList;
  812. if (value == null) return null;
  813. if (_speedTestTargetList is EqualUnmodifiableListView)
  814. return _speedTestTargetList;
  815. // ignore: implicit_dynamic_type
  816. return EqualUnmodifiableListView(value);
  817. }
  818. @override
  819. final String? websiteUrl;
  820. @override
  821. final bool? visitorDisabled;
  822. // 游客模式
  823. @override
  824. final PrivacyTerms? privacyAgreement;
  825. @override
  826. final String? email;
  827. final List<String>? _blackPkgs;
  828. @override
  829. List<String>? get blackPkgs {
  830. final value = _blackPkgs;
  831. if (value == null) return null;
  832. if (_blackPkgs is EqualUnmodifiableListView) return _blackPkgs;
  833. // ignore: implicit_dynamic_type
  834. return EqualUnmodifiableListView(value);
  835. }
  836. final List<String>? _whitePkgs;
  837. @override
  838. List<String>? get whitePkgs {
  839. final value = _whitePkgs;
  840. if (value == null) return null;
  841. if (_whitePkgs is EqualUnmodifiableListView) return _whitePkgs;
  842. // ignore: implicit_dynamic_type
  843. return EqualUnmodifiableListView(value);
  844. }
  845. @override
  846. final int? accelerationSampleCount;
  847. @override
  848. final int? minAccelerationSampleCount;
  849. @override
  850. final int? connectionWarningThreshold;
  851. @override
  852. final String? connectiveTestUrl;
  853. final List<String>? _disabledLogModules;
  854. @override
  855. List<String>? get disabledLogModules {
  856. final value = _disabledLogModules;
  857. if (value == null) return null;
  858. if (_disabledLogModules is EqualUnmodifiableListView)
  859. return _disabledLogModules;
  860. // ignore: implicit_dynamic_type
  861. return EqualUnmodifiableListView(value);
  862. }
  863. @override
  864. final String? realTimeDbPath;
  865. @override
  866. final int? boostTimeInterval;
  867. @override
  868. final int? pingDisplayMode;
  869. @override
  870. final int? peekTimeInterval;
  871. @override
  872. final bool? enableAd;
  873. @override
  874. final int? adTimeoutDuration;
  875. @override
  876. final int? reportActiveInterval;
  877. @override
  878. final int? serverTime;
  879. @override
  880. String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
  881. return 'AppConfig(apiIps: $apiIps, apiUrls: $apiUrls, routerApiUrls: $routerApiUrls, appStatUrls: $appStatUrls, assetUrls: $assetUrls, logFileUploadUrls: $logFileUploadUrls, realityApiUrls: $realityApiUrls, realityAppStatUrls: $realityAppStatUrls, realityLogFileUploadUrls: $realityLogFileUploadUrls, autoPing: $autoPing, autoPingInterval: $autoPingInterval, backupApiUrls: $backupApiUrls, cacheDataEffectiveDays: $cacheDataEffectiveDays, contacts: $contacts, follows: $follows, providers: $providers, signalThresholds: $signalThresholds, packetLossThresholds: $packetLossThresholds, skipGeo: $skipGeo, speedTestTargetList: $speedTestTargetList, websiteUrl: $websiteUrl, visitorDisabled: $visitorDisabled, privacyAgreement: $privacyAgreement, email: $email, blackPkgs: $blackPkgs, whitePkgs: $whitePkgs, accelerationSampleCount: $accelerationSampleCount, minAccelerationSampleCount: $minAccelerationSampleCount, connectionWarningThreshold: $connectionWarningThreshold, connectiveTestUrl: $connectiveTestUrl, disabledLogModules: $disabledLogModules, realTimeDbPath: $realTimeDbPath, boostTimeInterval: $boostTimeInterval, pingDisplayMode: $pingDisplayMode, peekTimeInterval: $peekTimeInterval, enableAd: $enableAd, adTimeoutDuration: $adTimeoutDuration, reportActiveInterval: $reportActiveInterval, serverTime: $serverTime)';
  882. }
  883. @override
  884. void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  885. super.debugFillProperties(properties);
  886. properties
  887. ..add(DiagnosticsProperty('type', 'AppConfig'))
  888. ..add(DiagnosticsProperty('apiIps', apiIps))
  889. ..add(DiagnosticsProperty('apiUrls', apiUrls))
  890. ..add(DiagnosticsProperty('routerApiUrls', routerApiUrls))
  891. ..add(DiagnosticsProperty('appStatUrls', appStatUrls))
  892. ..add(DiagnosticsProperty('assetUrls', assetUrls))
  893. ..add(DiagnosticsProperty('logFileUploadUrls', logFileUploadUrls))
  894. ..add(DiagnosticsProperty('realityApiUrls', realityApiUrls))
  895. ..add(DiagnosticsProperty('realityAppStatUrls', realityAppStatUrls))
  896. ..add(
  897. DiagnosticsProperty(
  898. 'realityLogFileUploadUrls',
  899. realityLogFileUploadUrls,
  900. ),
  901. )
  902. ..add(DiagnosticsProperty('autoPing', autoPing))
  903. ..add(DiagnosticsProperty('autoPingInterval', autoPingInterval))
  904. ..add(DiagnosticsProperty('backupApiUrls', backupApiUrls))
  905. ..add(
  906. DiagnosticsProperty('cacheDataEffectiveDays', cacheDataEffectiveDays),
  907. )
  908. ..add(DiagnosticsProperty('contacts', contacts))
  909. ..add(DiagnosticsProperty('follows', follows))
  910. ..add(DiagnosticsProperty('providers', providers))
  911. ..add(DiagnosticsProperty('signalThresholds', signalThresholds))
  912. ..add(DiagnosticsProperty('packetLossThresholds', packetLossThresholds))
  913. ..add(DiagnosticsProperty('skipGeo', skipGeo))
  914. ..add(DiagnosticsProperty('speedTestTargetList', speedTestTargetList))
  915. ..add(DiagnosticsProperty('websiteUrl', websiteUrl))
  916. ..add(DiagnosticsProperty('visitorDisabled', visitorDisabled))
  917. ..add(DiagnosticsProperty('privacyAgreement', privacyAgreement))
  918. ..add(DiagnosticsProperty('email', email))
  919. ..add(DiagnosticsProperty('blackPkgs', blackPkgs))
  920. ..add(DiagnosticsProperty('whitePkgs', whitePkgs))
  921. ..add(
  922. DiagnosticsProperty('accelerationSampleCount', accelerationSampleCount),
  923. )
  924. ..add(
  925. DiagnosticsProperty(
  926. 'minAccelerationSampleCount',
  927. minAccelerationSampleCount,
  928. ),
  929. )
  930. ..add(
  931. DiagnosticsProperty(
  932. 'connectionWarningThreshold',
  933. connectionWarningThreshold,
  934. ),
  935. )
  936. ..add(DiagnosticsProperty('connectiveTestUrl', connectiveTestUrl))
  937. ..add(DiagnosticsProperty('disabledLogModules', disabledLogModules))
  938. ..add(DiagnosticsProperty('realTimeDbPath', realTimeDbPath))
  939. ..add(DiagnosticsProperty('boostTimeInterval', boostTimeInterval))
  940. ..add(DiagnosticsProperty('pingDisplayMode', pingDisplayMode))
  941. ..add(DiagnosticsProperty('peekTimeInterval', peekTimeInterval))
  942. ..add(DiagnosticsProperty('enableAd', enableAd))
  943. ..add(DiagnosticsProperty('adTimeoutDuration', adTimeoutDuration))
  944. ..add(DiagnosticsProperty('reportActiveInterval', reportActiveInterval))
  945. ..add(DiagnosticsProperty('serverTime', serverTime));
  946. }
  947. @override
  948. bool operator ==(Object other) {
  949. return identical(this, other) ||
  950. (other.runtimeType == runtimeType &&
  951. other is _$AppConfigImpl &&
  952. const DeepCollectionEquality().equals(other._apiIps, _apiIps) &&
  953. const DeepCollectionEquality().equals(other._apiUrls, _apiUrls) &&
  954. const DeepCollectionEquality().equals(
  955. other._routerApiUrls,
  956. _routerApiUrls,
  957. ) &&
  958. const DeepCollectionEquality().equals(
  959. other._appStatUrls,
  960. _appStatUrls,
  961. ) &&
  962. const DeepCollectionEquality().equals(
  963. other._assetUrls,
  964. _assetUrls,
  965. ) &&
  966. const DeepCollectionEquality().equals(
  967. other._logFileUploadUrls,
  968. _logFileUploadUrls,
  969. ) &&
  970. const DeepCollectionEquality().equals(
  971. other._realityApiUrls,
  972. _realityApiUrls,
  973. ) &&
  974. const DeepCollectionEquality().equals(
  975. other._realityAppStatUrls,
  976. _realityAppStatUrls,
  977. ) &&
  978. const DeepCollectionEquality().equals(
  979. other._realityLogFileUploadUrls,
  980. _realityLogFileUploadUrls,
  981. ) &&
  982. (identical(other.autoPing, autoPing) ||
  983. other.autoPing == autoPing) &&
  984. (identical(other.autoPingInterval, autoPingInterval) ||
  985. other.autoPingInterval == autoPingInterval) &&
  986. const DeepCollectionEquality().equals(
  987. other._backupApiUrls,
  988. _backupApiUrls,
  989. ) &&
  990. (identical(other.cacheDataEffectiveDays, cacheDataEffectiveDays) ||
  991. other.cacheDataEffectiveDays == cacheDataEffectiveDays) &&
  992. const DeepCollectionEquality().equals(other._contacts, _contacts) &&
  993. const DeepCollectionEquality().equals(other._follows, _follows) &&
  994. const DeepCollectionEquality().equals(
  995. other._providers,
  996. _providers,
  997. ) &&
  998. const DeepCollectionEquality().equals(
  999. other._signalThresholds,
  1000. _signalThresholds,
  1001. ) &&
  1002. const DeepCollectionEquality().equals(
  1003. other._packetLossThresholds,
  1004. _packetLossThresholds,
  1005. ) &&
  1006. (identical(other.skipGeo, skipGeo) || other.skipGeo == skipGeo) &&
  1007. const DeepCollectionEquality().equals(
  1008. other._speedTestTargetList,
  1009. _speedTestTargetList,
  1010. ) &&
  1011. (identical(other.websiteUrl, websiteUrl) ||
  1012. other.websiteUrl == websiteUrl) &&
  1013. (identical(other.visitorDisabled, visitorDisabled) ||
  1014. other.visitorDisabled == visitorDisabled) &&
  1015. (identical(other.privacyAgreement, privacyAgreement) ||
  1016. other.privacyAgreement == privacyAgreement) &&
  1017. (identical(other.email, email) || other.email == email) &&
  1018. const DeepCollectionEquality().equals(
  1019. other._blackPkgs,
  1020. _blackPkgs,
  1021. ) &&
  1022. const DeepCollectionEquality().equals(
  1023. other._whitePkgs,
  1024. _whitePkgs,
  1025. ) &&
  1026. (identical(
  1027. other.accelerationSampleCount,
  1028. accelerationSampleCount,
  1029. ) ||
  1030. other.accelerationSampleCount == accelerationSampleCount) &&
  1031. (identical(
  1032. other.minAccelerationSampleCount,
  1033. minAccelerationSampleCount,
  1034. ) ||
  1035. other.minAccelerationSampleCount ==
  1036. minAccelerationSampleCount) &&
  1037. (identical(
  1038. other.connectionWarningThreshold,
  1039. connectionWarningThreshold,
  1040. ) ||
  1041. other.connectionWarningThreshold ==
  1042. connectionWarningThreshold) &&
  1043. (identical(other.connectiveTestUrl, connectiveTestUrl) ||
  1044. other.connectiveTestUrl == connectiveTestUrl) &&
  1045. const DeepCollectionEquality().equals(
  1046. other._disabledLogModules,
  1047. _disabledLogModules,
  1048. ) &&
  1049. (identical(other.realTimeDbPath, realTimeDbPath) ||
  1050. other.realTimeDbPath == realTimeDbPath) &&
  1051. (identical(other.boostTimeInterval, boostTimeInterval) ||
  1052. other.boostTimeInterval == boostTimeInterval) &&
  1053. (identical(other.pingDisplayMode, pingDisplayMode) ||
  1054. other.pingDisplayMode == pingDisplayMode) &&
  1055. (identical(other.peekTimeInterval, peekTimeInterval) ||
  1056. other.peekTimeInterval == peekTimeInterval) &&
  1057. (identical(other.enableAd, enableAd) ||
  1058. other.enableAd == enableAd) &&
  1059. (identical(other.adTimeoutDuration, adTimeoutDuration) ||
  1060. other.adTimeoutDuration == adTimeoutDuration) &&
  1061. (identical(other.reportActiveInterval, reportActiveInterval) ||
  1062. other.reportActiveInterval == reportActiveInterval) &&
  1063. (identical(other.serverTime, serverTime) ||
  1064. other.serverTime == serverTime));
  1065. }
  1066. @JsonKey(includeFromJson: false, includeToJson: false)
  1067. @override
  1068. int get hashCode => Object.hashAll([
  1069. runtimeType,
  1070. const DeepCollectionEquality().hash(_apiIps),
  1071. const DeepCollectionEquality().hash(_apiUrls),
  1072. const DeepCollectionEquality().hash(_routerApiUrls),
  1073. const DeepCollectionEquality().hash(_appStatUrls),
  1074. const DeepCollectionEquality().hash(_assetUrls),
  1075. const DeepCollectionEquality().hash(_logFileUploadUrls),
  1076. const DeepCollectionEquality().hash(_realityApiUrls),
  1077. const DeepCollectionEquality().hash(_realityAppStatUrls),
  1078. const DeepCollectionEquality().hash(_realityLogFileUploadUrls),
  1079. autoPing,
  1080. autoPingInterval,
  1081. const DeepCollectionEquality().hash(_backupApiUrls),
  1082. cacheDataEffectiveDays,
  1083. const DeepCollectionEquality().hash(_contacts),
  1084. const DeepCollectionEquality().hash(_follows),
  1085. const DeepCollectionEquality().hash(_providers),
  1086. const DeepCollectionEquality().hash(_signalThresholds),
  1087. const DeepCollectionEquality().hash(_packetLossThresholds),
  1088. skipGeo,
  1089. const DeepCollectionEquality().hash(_speedTestTargetList),
  1090. websiteUrl,
  1091. visitorDisabled,
  1092. privacyAgreement,
  1093. email,
  1094. const DeepCollectionEquality().hash(_blackPkgs),
  1095. const DeepCollectionEquality().hash(_whitePkgs),
  1096. accelerationSampleCount,
  1097. minAccelerationSampleCount,
  1098. connectionWarningThreshold,
  1099. connectiveTestUrl,
  1100. const DeepCollectionEquality().hash(_disabledLogModules),
  1101. realTimeDbPath,
  1102. boostTimeInterval,
  1103. pingDisplayMode,
  1104. peekTimeInterval,
  1105. enableAd,
  1106. adTimeoutDuration,
  1107. reportActiveInterval,
  1108. serverTime,
  1109. ]);
  1110. /// Create a copy of AppConfig
  1111. /// with the given fields replaced by the non-null parameter values.
  1112. @JsonKey(includeFromJson: false, includeToJson: false)
  1113. @override
  1114. @pragma('vm:prefer-inline')
  1115. _$$AppConfigImplCopyWith<_$AppConfigImpl> get copyWith =>
  1116. __$$AppConfigImplCopyWithImpl<_$AppConfigImpl>(this, _$identity);
  1117. @override
  1118. Map<String, dynamic> toJson() {
  1119. return _$$AppConfigImplToJson(this);
  1120. }
  1121. }
  1122. abstract class _AppConfig implements AppConfig {
  1123. const factory _AppConfig({
  1124. final List<String>? apiIps,
  1125. final List<String>? apiUrls,
  1126. final List<String>? routerApiUrls,
  1127. final List<String>? appStatUrls,
  1128. final List<String>? assetUrls,
  1129. final List<String>? logFileUploadUrls,
  1130. final List<String>? realityApiUrls,
  1131. final List<String>? realityAppStatUrls,
  1132. final List<String>? realityLogFileUploadUrls,
  1133. final bool? autoPing,
  1134. final int? autoPingInterval,
  1135. final List<String>? backupApiUrls,
  1136. final int? cacheDataEffectiveDays,
  1137. final List<Contacts>? contacts,
  1138. final List<Contacts>? follows,
  1139. final List<String>? providers,
  1140. final List<int>? signalThresholds,
  1141. final List<int>? packetLossThresholds,
  1142. final SkipGeo? skipGeo,
  1143. final List<SpeedTestTargetList>? speedTestTargetList,
  1144. final String? websiteUrl,
  1145. final bool? visitorDisabled,
  1146. final PrivacyTerms? privacyAgreement,
  1147. final String? email,
  1148. final List<String>? blackPkgs,
  1149. final List<String>? whitePkgs,
  1150. final int? accelerationSampleCount,
  1151. final int? minAccelerationSampleCount,
  1152. final int? connectionWarningThreshold,
  1153. final String? connectiveTestUrl,
  1154. final List<String>? disabledLogModules,
  1155. final String? realTimeDbPath,
  1156. final int? boostTimeInterval,
  1157. final int? pingDisplayMode,
  1158. final int? peekTimeInterval,
  1159. final bool? enableAd,
  1160. final int? adTimeoutDuration,
  1161. final int? reportActiveInterval,
  1162. final int? serverTime,
  1163. }) = _$AppConfigImpl;
  1164. factory _AppConfig.fromJson(Map<String, dynamic> json) =
  1165. _$AppConfigImpl.fromJson;
  1166. @override
  1167. List<String>? get apiIps;
  1168. @override
  1169. List<String>? get apiUrls;
  1170. @override
  1171. List<String>? get routerApiUrls;
  1172. @override
  1173. List<String>? get appStatUrls;
  1174. @override
  1175. List<String>? get assetUrls;
  1176. @override
  1177. List<String>? get logFileUploadUrls;
  1178. @override
  1179. List<String>? get realityApiUrls;
  1180. @override
  1181. List<String>? get realityAppStatUrls;
  1182. @override
  1183. List<String>? get realityLogFileUploadUrls;
  1184. @override
  1185. bool? get autoPing;
  1186. @override
  1187. int? get autoPingInterval;
  1188. @override
  1189. List<String>? get backupApiUrls;
  1190. @override
  1191. int? get cacheDataEffectiveDays;
  1192. @override
  1193. List<Contacts>? get contacts;
  1194. @override
  1195. List<Contacts>? get follows;
  1196. @override
  1197. List<String>? get providers;
  1198. @override
  1199. List<int>? get signalThresholds;
  1200. @override
  1201. List<int>? get packetLossThresholds;
  1202. @override
  1203. SkipGeo? get skipGeo;
  1204. @override
  1205. List<SpeedTestTargetList>? get speedTestTargetList;
  1206. @override
  1207. String? get websiteUrl;
  1208. @override
  1209. bool? get visitorDisabled; // 游客模式
  1210. @override
  1211. PrivacyTerms? get privacyAgreement;
  1212. @override
  1213. String? get email;
  1214. @override
  1215. List<String>? get blackPkgs;
  1216. @override
  1217. List<String>? get whitePkgs;
  1218. @override
  1219. int? get accelerationSampleCount;
  1220. @override
  1221. int? get minAccelerationSampleCount;
  1222. @override
  1223. int? get connectionWarningThreshold;
  1224. @override
  1225. String? get connectiveTestUrl;
  1226. @override
  1227. List<String>? get disabledLogModules;
  1228. @override
  1229. String? get realTimeDbPath;
  1230. @override
  1231. int? get boostTimeInterval;
  1232. @override
  1233. int? get pingDisplayMode;
  1234. @override
  1235. int? get peekTimeInterval;
  1236. @override
  1237. bool? get enableAd;
  1238. @override
  1239. int? get adTimeoutDuration;
  1240. @override
  1241. int? get reportActiveInterval;
  1242. @override
  1243. int? get serverTime;
  1244. /// Create a copy of AppConfig
  1245. /// with the given fields replaced by the non-null parameter values.
  1246. @override
  1247. @JsonKey(includeFromJson: false, includeToJson: false)
  1248. _$$AppConfigImplCopyWith<_$AppConfigImpl> get copyWith =>
  1249. throw _privateConstructorUsedError;
  1250. }
  1251. Contacts _$ContactsFromJson(Map<String, dynamic> json) {
  1252. return _Contacts.fromJson(json);
  1253. }
  1254. /// @nodoc
  1255. mixin _$Contacts {
  1256. String? get title => throw _privateConstructorUsedError;
  1257. String? get url => throw _privateConstructorUsedError;
  1258. /// Serializes this Contacts to a JSON map.
  1259. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  1260. /// Create a copy of Contacts
  1261. /// with the given fields replaced by the non-null parameter values.
  1262. @JsonKey(includeFromJson: false, includeToJson: false)
  1263. $ContactsCopyWith<Contacts> get copyWith =>
  1264. throw _privateConstructorUsedError;
  1265. }
  1266. /// @nodoc
  1267. abstract class $ContactsCopyWith<$Res> {
  1268. factory $ContactsCopyWith(Contacts value, $Res Function(Contacts) then) =
  1269. _$ContactsCopyWithImpl<$Res, Contacts>;
  1270. @useResult
  1271. $Res call({String? title, String? url});
  1272. }
  1273. /// @nodoc
  1274. class _$ContactsCopyWithImpl<$Res, $Val extends Contacts>
  1275. implements $ContactsCopyWith<$Res> {
  1276. _$ContactsCopyWithImpl(this._value, this._then);
  1277. // ignore: unused_field
  1278. final $Val _value;
  1279. // ignore: unused_field
  1280. final $Res Function($Val) _then;
  1281. /// Create a copy of Contacts
  1282. /// with the given fields replaced by the non-null parameter values.
  1283. @pragma('vm:prefer-inline')
  1284. @override
  1285. $Res call({Object? title = freezed, Object? url = freezed}) {
  1286. return _then(
  1287. _value.copyWith(
  1288. title: freezed == title
  1289. ? _value.title
  1290. : title // ignore: cast_nullable_to_non_nullable
  1291. as String?,
  1292. url: freezed == url
  1293. ? _value.url
  1294. : url // ignore: cast_nullable_to_non_nullable
  1295. as String?,
  1296. )
  1297. as $Val,
  1298. );
  1299. }
  1300. }
  1301. /// @nodoc
  1302. abstract class _$$ContactsImplCopyWith<$Res>
  1303. implements $ContactsCopyWith<$Res> {
  1304. factory _$$ContactsImplCopyWith(
  1305. _$ContactsImpl value,
  1306. $Res Function(_$ContactsImpl) then,
  1307. ) = __$$ContactsImplCopyWithImpl<$Res>;
  1308. @override
  1309. @useResult
  1310. $Res call({String? title, String? url});
  1311. }
  1312. /// @nodoc
  1313. class __$$ContactsImplCopyWithImpl<$Res>
  1314. extends _$ContactsCopyWithImpl<$Res, _$ContactsImpl>
  1315. implements _$$ContactsImplCopyWith<$Res> {
  1316. __$$ContactsImplCopyWithImpl(
  1317. _$ContactsImpl _value,
  1318. $Res Function(_$ContactsImpl) _then,
  1319. ) : super(_value, _then);
  1320. /// Create a copy of Contacts
  1321. /// with the given fields replaced by the non-null parameter values.
  1322. @pragma('vm:prefer-inline')
  1323. @override
  1324. $Res call({Object? title = freezed, Object? url = freezed}) {
  1325. return _then(
  1326. _$ContactsImpl(
  1327. title: freezed == title
  1328. ? _value.title
  1329. : title // ignore: cast_nullable_to_non_nullable
  1330. as String?,
  1331. url: freezed == url
  1332. ? _value.url
  1333. : url // ignore: cast_nullable_to_non_nullable
  1334. as String?,
  1335. ),
  1336. );
  1337. }
  1338. }
  1339. /// @nodoc
  1340. @JsonSerializable()
  1341. class _$ContactsImpl with DiagnosticableTreeMixin implements _Contacts {
  1342. const _$ContactsImpl({this.title, this.url});
  1343. factory _$ContactsImpl.fromJson(Map<String, dynamic> json) =>
  1344. _$$ContactsImplFromJson(json);
  1345. @override
  1346. final String? title;
  1347. @override
  1348. final String? url;
  1349. @override
  1350. String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
  1351. return 'Contacts(title: $title, url: $url)';
  1352. }
  1353. @override
  1354. void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  1355. super.debugFillProperties(properties);
  1356. properties
  1357. ..add(DiagnosticsProperty('type', 'Contacts'))
  1358. ..add(DiagnosticsProperty('title', title))
  1359. ..add(DiagnosticsProperty('url', url));
  1360. }
  1361. @override
  1362. bool operator ==(Object other) {
  1363. return identical(this, other) ||
  1364. (other.runtimeType == runtimeType &&
  1365. other is _$ContactsImpl &&
  1366. (identical(other.title, title) || other.title == title) &&
  1367. (identical(other.url, url) || other.url == url));
  1368. }
  1369. @JsonKey(includeFromJson: false, includeToJson: false)
  1370. @override
  1371. int get hashCode => Object.hash(runtimeType, title, url);
  1372. /// Create a copy of Contacts
  1373. /// with the given fields replaced by the non-null parameter values.
  1374. @JsonKey(includeFromJson: false, includeToJson: false)
  1375. @override
  1376. @pragma('vm:prefer-inline')
  1377. _$$ContactsImplCopyWith<_$ContactsImpl> get copyWith =>
  1378. __$$ContactsImplCopyWithImpl<_$ContactsImpl>(this, _$identity);
  1379. @override
  1380. Map<String, dynamic> toJson() {
  1381. return _$$ContactsImplToJson(this);
  1382. }
  1383. }
  1384. abstract class _Contacts implements Contacts {
  1385. const factory _Contacts({final String? title, final String? url}) =
  1386. _$ContactsImpl;
  1387. factory _Contacts.fromJson(Map<String, dynamic> json) =
  1388. _$ContactsImpl.fromJson;
  1389. @override
  1390. String? get title;
  1391. @override
  1392. String? get url;
  1393. /// Create a copy of Contacts
  1394. /// with the given fields replaced by the non-null parameter values.
  1395. @override
  1396. @JsonKey(includeFromJson: false, includeToJson: false)
  1397. _$$ContactsImplCopyWith<_$ContactsImpl> get copyWith =>
  1398. throw _privateConstructorUsedError;
  1399. }
  1400. SpeedTestTargetList _$SpeedTestTargetListFromJson(Map<String, dynamic> json) {
  1401. return _SpeedTestTargetList.fromJson(json);
  1402. }
  1403. /// @nodoc
  1404. mixin _$SpeedTestTargetList {
  1405. String? get title => throw _privateConstructorUsedError;
  1406. String? get url => throw _privateConstructorUsedError;
  1407. /// Serializes this SpeedTestTargetList to a JSON map.
  1408. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  1409. /// Create a copy of SpeedTestTargetList
  1410. /// with the given fields replaced by the non-null parameter values.
  1411. @JsonKey(includeFromJson: false, includeToJson: false)
  1412. $SpeedTestTargetListCopyWith<SpeedTestTargetList> get copyWith =>
  1413. throw _privateConstructorUsedError;
  1414. }
  1415. /// @nodoc
  1416. abstract class $SpeedTestTargetListCopyWith<$Res> {
  1417. factory $SpeedTestTargetListCopyWith(
  1418. SpeedTestTargetList value,
  1419. $Res Function(SpeedTestTargetList) then,
  1420. ) = _$SpeedTestTargetListCopyWithImpl<$Res, SpeedTestTargetList>;
  1421. @useResult
  1422. $Res call({String? title, String? url});
  1423. }
  1424. /// @nodoc
  1425. class _$SpeedTestTargetListCopyWithImpl<$Res, $Val extends SpeedTestTargetList>
  1426. implements $SpeedTestTargetListCopyWith<$Res> {
  1427. _$SpeedTestTargetListCopyWithImpl(this._value, this._then);
  1428. // ignore: unused_field
  1429. final $Val _value;
  1430. // ignore: unused_field
  1431. final $Res Function($Val) _then;
  1432. /// Create a copy of SpeedTestTargetList
  1433. /// with the given fields replaced by the non-null parameter values.
  1434. @pragma('vm:prefer-inline')
  1435. @override
  1436. $Res call({Object? title = freezed, Object? url = freezed}) {
  1437. return _then(
  1438. _value.copyWith(
  1439. title: freezed == title
  1440. ? _value.title
  1441. : title // ignore: cast_nullable_to_non_nullable
  1442. as String?,
  1443. url: freezed == url
  1444. ? _value.url
  1445. : url // ignore: cast_nullable_to_non_nullable
  1446. as String?,
  1447. )
  1448. as $Val,
  1449. );
  1450. }
  1451. }
  1452. /// @nodoc
  1453. abstract class _$$SpeedTestTargetListImplCopyWith<$Res>
  1454. implements $SpeedTestTargetListCopyWith<$Res> {
  1455. factory _$$SpeedTestTargetListImplCopyWith(
  1456. _$SpeedTestTargetListImpl value,
  1457. $Res Function(_$SpeedTestTargetListImpl) then,
  1458. ) = __$$SpeedTestTargetListImplCopyWithImpl<$Res>;
  1459. @override
  1460. @useResult
  1461. $Res call({String? title, String? url});
  1462. }
  1463. /// @nodoc
  1464. class __$$SpeedTestTargetListImplCopyWithImpl<$Res>
  1465. extends _$SpeedTestTargetListCopyWithImpl<$Res, _$SpeedTestTargetListImpl>
  1466. implements _$$SpeedTestTargetListImplCopyWith<$Res> {
  1467. __$$SpeedTestTargetListImplCopyWithImpl(
  1468. _$SpeedTestTargetListImpl _value,
  1469. $Res Function(_$SpeedTestTargetListImpl) _then,
  1470. ) : super(_value, _then);
  1471. /// Create a copy of SpeedTestTargetList
  1472. /// with the given fields replaced by the non-null parameter values.
  1473. @pragma('vm:prefer-inline')
  1474. @override
  1475. $Res call({Object? title = freezed, Object? url = freezed}) {
  1476. return _then(
  1477. _$SpeedTestTargetListImpl(
  1478. title: freezed == title
  1479. ? _value.title
  1480. : title // ignore: cast_nullable_to_non_nullable
  1481. as String?,
  1482. url: freezed == url
  1483. ? _value.url
  1484. : url // ignore: cast_nullable_to_non_nullable
  1485. as String?,
  1486. ),
  1487. );
  1488. }
  1489. }
  1490. /// @nodoc
  1491. @JsonSerializable()
  1492. class _$SpeedTestTargetListImpl
  1493. with DiagnosticableTreeMixin
  1494. implements _SpeedTestTargetList {
  1495. const _$SpeedTestTargetListImpl({this.title, this.url});
  1496. factory _$SpeedTestTargetListImpl.fromJson(Map<String, dynamic> json) =>
  1497. _$$SpeedTestTargetListImplFromJson(json);
  1498. @override
  1499. final String? title;
  1500. @override
  1501. final String? url;
  1502. @override
  1503. String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
  1504. return 'SpeedTestTargetList(title: $title, url: $url)';
  1505. }
  1506. @override
  1507. void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  1508. super.debugFillProperties(properties);
  1509. properties
  1510. ..add(DiagnosticsProperty('type', 'SpeedTestTargetList'))
  1511. ..add(DiagnosticsProperty('title', title))
  1512. ..add(DiagnosticsProperty('url', url));
  1513. }
  1514. @override
  1515. bool operator ==(Object other) {
  1516. return identical(this, other) ||
  1517. (other.runtimeType == runtimeType &&
  1518. other is _$SpeedTestTargetListImpl &&
  1519. (identical(other.title, title) || other.title == title) &&
  1520. (identical(other.url, url) || other.url == url));
  1521. }
  1522. @JsonKey(includeFromJson: false, includeToJson: false)
  1523. @override
  1524. int get hashCode => Object.hash(runtimeType, title, url);
  1525. /// Create a copy of SpeedTestTargetList
  1526. /// with the given fields replaced by the non-null parameter values.
  1527. @JsonKey(includeFromJson: false, includeToJson: false)
  1528. @override
  1529. @pragma('vm:prefer-inline')
  1530. _$$SpeedTestTargetListImplCopyWith<_$SpeedTestTargetListImpl> get copyWith =>
  1531. __$$SpeedTestTargetListImplCopyWithImpl<_$SpeedTestTargetListImpl>(
  1532. this,
  1533. _$identity,
  1534. );
  1535. @override
  1536. Map<String, dynamic> toJson() {
  1537. return _$$SpeedTestTargetListImplToJson(this);
  1538. }
  1539. }
  1540. abstract class _SpeedTestTargetList implements SpeedTestTargetList {
  1541. const factory _SpeedTestTargetList({final String? title, final String? url}) =
  1542. _$SpeedTestTargetListImpl;
  1543. factory _SpeedTestTargetList.fromJson(Map<String, dynamic> json) =
  1544. _$SpeedTestTargetListImpl.fromJson;
  1545. @override
  1546. String? get title;
  1547. @override
  1548. String? get url;
  1549. /// Create a copy of SpeedTestTargetList
  1550. /// with the given fields replaced by the non-null parameter values.
  1551. @override
  1552. @JsonKey(includeFromJson: false, includeToJson: false)
  1553. _$$SpeedTestTargetListImplCopyWith<_$SpeedTestTargetListImpl> get copyWith =>
  1554. throw _privateConstructorUsedError;
  1555. }