app_config.freezed.dart 63 KB

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