|
|
@@ -64,6 +64,7 @@ mixin _$AppConfig {
|
|
|
int? get serverTime => throw _privateConstructorUsedError;
|
|
|
int? get vipRemainNotice => throw _privateConstructorUsedError;
|
|
|
int? get upgradeNoticeTime => throw _privateConstructorUsedError;
|
|
|
+ int? get pushNoticeTime => throw _privateConstructorUsedError;
|
|
|
SmartGeo? get smartGeo => throw _privateConstructorUsedError;
|
|
|
|
|
|
/// Serializes this AppConfig to a JSON map.
|
|
|
@@ -123,6 +124,7 @@ abstract class $AppConfigCopyWith<$Res> {
|
|
|
int? serverTime,
|
|
|
int? vipRemainNotice,
|
|
|
int? upgradeNoticeTime,
|
|
|
+ int? pushNoticeTime,
|
|
|
SmartGeo? smartGeo,
|
|
|
});
|
|
|
|
|
|
@@ -185,6 +187,7 @@ class _$AppConfigCopyWithImpl<$Res, $Val extends AppConfig>
|
|
|
Object? serverTime = freezed,
|
|
|
Object? vipRemainNotice = freezed,
|
|
|
Object? upgradeNoticeTime = freezed,
|
|
|
+ Object? pushNoticeTime = freezed,
|
|
|
Object? smartGeo = freezed,
|
|
|
}) {
|
|
|
return _then(
|
|
|
@@ -353,6 +356,10 @@ class _$AppConfigCopyWithImpl<$Res, $Val extends AppConfig>
|
|
|
? _value.upgradeNoticeTime
|
|
|
: upgradeNoticeTime // ignore: cast_nullable_to_non_nullable
|
|
|
as int?,
|
|
|
+ pushNoticeTime: freezed == pushNoticeTime
|
|
|
+ ? _value.pushNoticeTime
|
|
|
+ : pushNoticeTime // ignore: cast_nullable_to_non_nullable
|
|
|
+ as int?,
|
|
|
smartGeo: freezed == smartGeo
|
|
|
? _value.smartGeo
|
|
|
: smartGeo // ignore: cast_nullable_to_non_nullable
|
|
|
@@ -428,6 +435,7 @@ abstract class _$$AppConfigImplCopyWith<$Res>
|
|
|
int? serverTime,
|
|
|
int? vipRemainNotice,
|
|
|
int? upgradeNoticeTime,
|
|
|
+ int? pushNoticeTime,
|
|
|
SmartGeo? smartGeo,
|
|
|
});
|
|
|
|
|
|
@@ -490,6 +498,7 @@ class __$$AppConfigImplCopyWithImpl<$Res>
|
|
|
Object? serverTime = freezed,
|
|
|
Object? vipRemainNotice = freezed,
|
|
|
Object? upgradeNoticeTime = freezed,
|
|
|
+ Object? pushNoticeTime = freezed,
|
|
|
Object? smartGeo = freezed,
|
|
|
}) {
|
|
|
return _then(
|
|
|
@@ -658,6 +667,10 @@ class __$$AppConfigImplCopyWithImpl<$Res>
|
|
|
? _value.upgradeNoticeTime
|
|
|
: upgradeNoticeTime // ignore: cast_nullable_to_non_nullable
|
|
|
as int?,
|
|
|
+ pushNoticeTime: freezed == pushNoticeTime
|
|
|
+ ? _value.pushNoticeTime
|
|
|
+ : pushNoticeTime // ignore: cast_nullable_to_non_nullable
|
|
|
+ as int?,
|
|
|
smartGeo: freezed == smartGeo
|
|
|
? _value.smartGeo
|
|
|
: smartGeo // ignore: cast_nullable_to_non_nullable
|
|
|
@@ -712,6 +725,7 @@ class _$AppConfigImpl with DiagnosticableTreeMixin implements _AppConfig {
|
|
|
this.serverTime,
|
|
|
this.vipRemainNotice,
|
|
|
this.upgradeNoticeTime,
|
|
|
+ this.pushNoticeTime,
|
|
|
this.smartGeo,
|
|
|
}) : _apiIps = apiIps,
|
|
|
_apiUrls = apiUrls,
|
|
|
@@ -979,11 +993,13 @@ class _$AppConfigImpl with DiagnosticableTreeMixin implements _AppConfig {
|
|
|
@override
|
|
|
final int? upgradeNoticeTime;
|
|
|
@override
|
|
|
+ final int? pushNoticeTime;
|
|
|
+ @override
|
|
|
final SmartGeo? smartGeo;
|
|
|
|
|
|
@override
|
|
|
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
|
|
- return 'AppConfig(apiIps: $apiIps, apiUrls: $apiUrls, routerApiUrls: $routerApiUrls, appStatUrls: $appStatUrls, assetUrls: $assetUrls, logFileUploadUrls: $logFileUploadUrls, realityApiUrls: $realityApiUrls, realityAppStatUrls: $realityAppStatUrls, realityLogFileUploadUrls: $realityLogFileUploadUrls, autoPing: $autoPing, autoPingInterval: $autoPingInterval, backupApiUrls: $backupApiUrls, cacheDataEffectiveDays: $cacheDataEffectiveDays, contacts: $contacts, follows: $follows, providers: $providers, signalThresholds: $signalThresholds, packetLossThresholds: $packetLossThresholds, skipGeo: $skipGeo, speedTestTargetList: $speedTestTargetList, websiteUrl: $websiteUrl, visitorDisabled: $visitorDisabled, privacyAgreement: $privacyAgreement, email: $email, blackPkgs: $blackPkgs, whitePkgs: $whitePkgs, accelerationSampleCount: $accelerationSampleCount, minAccelerationSampleCount: $minAccelerationSampleCount, connectionWarningThreshold: $connectionWarningThreshold, connectiveTestUrl: $connectiveTestUrl, disabledLogModules: $disabledLogModules, realTimeDbPath: $realTimeDbPath, boostTimeInterval: $boostTimeInterval, pingDisplayMode: $pingDisplayMode, peekTimeInterval: $peekTimeInterval, enableAd: $enableAd, adTimeoutDuration: $adTimeoutDuration, reportActiveInterval: $reportActiveInterval, serverTime: $serverTime, vipRemainNotice: $vipRemainNotice, upgradeNoticeTime: $upgradeNoticeTime, smartGeo: $smartGeo)';
|
|
|
+ return 'AppConfig(apiIps: $apiIps, apiUrls: $apiUrls, routerApiUrls: $routerApiUrls, appStatUrls: $appStatUrls, assetUrls: $assetUrls, logFileUploadUrls: $logFileUploadUrls, realityApiUrls: $realityApiUrls, realityAppStatUrls: $realityAppStatUrls, realityLogFileUploadUrls: $realityLogFileUploadUrls, autoPing: $autoPing, autoPingInterval: $autoPingInterval, backupApiUrls: $backupApiUrls, cacheDataEffectiveDays: $cacheDataEffectiveDays, contacts: $contacts, follows: $follows, providers: $providers, signalThresholds: $signalThresholds, packetLossThresholds: $packetLossThresholds, skipGeo: $skipGeo, speedTestTargetList: $speedTestTargetList, websiteUrl: $websiteUrl, visitorDisabled: $visitorDisabled, privacyAgreement: $privacyAgreement, email: $email, blackPkgs: $blackPkgs, whitePkgs: $whitePkgs, accelerationSampleCount: $accelerationSampleCount, minAccelerationSampleCount: $minAccelerationSampleCount, connectionWarningThreshold: $connectionWarningThreshold, connectiveTestUrl: $connectiveTestUrl, disabledLogModules: $disabledLogModules, realTimeDbPath: $realTimeDbPath, boostTimeInterval: $boostTimeInterval, pingDisplayMode: $pingDisplayMode, peekTimeInterval: $peekTimeInterval, enableAd: $enableAd, adTimeoutDuration: $adTimeoutDuration, reportActiveInterval: $reportActiveInterval, serverTime: $serverTime, vipRemainNotice: $vipRemainNotice, upgradeNoticeTime: $upgradeNoticeTime, pushNoticeTime: $pushNoticeTime, smartGeo: $smartGeo)';
|
|
|
}
|
|
|
|
|
|
@override
|
|
|
@@ -1051,6 +1067,7 @@ class _$AppConfigImpl with DiagnosticableTreeMixin implements _AppConfig {
|
|
|
..add(DiagnosticsProperty('serverTime', serverTime))
|
|
|
..add(DiagnosticsProperty('vipRemainNotice', vipRemainNotice))
|
|
|
..add(DiagnosticsProperty('upgradeNoticeTime', upgradeNoticeTime))
|
|
|
+ ..add(DiagnosticsProperty('pushNoticeTime', pushNoticeTime))
|
|
|
..add(DiagnosticsProperty('smartGeo', smartGeo));
|
|
|
}
|
|
|
|
|
|
@@ -1176,6 +1193,8 @@ class _$AppConfigImpl with DiagnosticableTreeMixin implements _AppConfig {
|
|
|
other.vipRemainNotice == vipRemainNotice) &&
|
|
|
(identical(other.upgradeNoticeTime, upgradeNoticeTime) ||
|
|
|
other.upgradeNoticeTime == upgradeNoticeTime) &&
|
|
|
+ (identical(other.pushNoticeTime, pushNoticeTime) ||
|
|
|
+ other.pushNoticeTime == pushNoticeTime) &&
|
|
|
(identical(other.smartGeo, smartGeo) ||
|
|
|
other.smartGeo == smartGeo));
|
|
|
}
|
|
|
@@ -1225,6 +1244,7 @@ class _$AppConfigImpl with DiagnosticableTreeMixin implements _AppConfig {
|
|
|
serverTime,
|
|
|
vipRemainNotice,
|
|
|
upgradeNoticeTime,
|
|
|
+ pushNoticeTime,
|
|
|
smartGeo,
|
|
|
]);
|
|
|
|
|
|
@@ -1285,6 +1305,7 @@ abstract class _AppConfig implements AppConfig {
|
|
|
final int? serverTime,
|
|
|
final int? vipRemainNotice,
|
|
|
final int? upgradeNoticeTime,
|
|
|
+ final int? pushNoticeTime,
|
|
|
final SmartGeo? smartGeo,
|
|
|
}) = _$AppConfigImpl;
|
|
|
|
|
|
@@ -1374,6 +1395,8 @@ abstract class _AppConfig implements AppConfig {
|
|
|
@override
|
|
|
int? get upgradeNoticeTime;
|
|
|
@override
|
|
|
+ int? get pushNoticeTime;
|
|
|
+ @override
|
|
|
SmartGeo? get smartGeo;
|
|
|
|
|
|
/// Create a copy of AppConfig
|