app_config.freezed.dart 64 KB

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