app_config.freezed.dart 65 KB

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