|
@@ -23,6 +23,7 @@ NodesConfig _$NodesConfigFromJson(Map<String, dynamic> json) {
|
|
|
mixin _$NodesConfig {
|
|
mixin _$NodesConfig {
|
|
|
List<dynamic>? get nodes => throw _privateConstructorUsedError;
|
|
List<dynamic>? get nodes => throw _privateConstructorUsedError;
|
|
|
String? get tunnelConfig => throw _privateConstructorUsedError;
|
|
String? get tunnelConfig => throw _privateConstructorUsedError;
|
|
|
|
|
+ dynamic get dataConfig => throw _privateConstructorUsedError;
|
|
|
int? get socketPort => throw _privateConstructorUsedError;
|
|
int? get socketPort => throw _privateConstructorUsedError;
|
|
|
int? get maxTryCount => throw _privateConstructorUsedError;
|
|
int? get maxTryCount => throw _privateConstructorUsedError;
|
|
|
|
|
|
|
@@ -46,6 +47,7 @@ abstract class $NodesConfigCopyWith<$Res> {
|
|
|
$Res call({
|
|
$Res call({
|
|
|
List<dynamic>? nodes,
|
|
List<dynamic>? nodes,
|
|
|
String? tunnelConfig,
|
|
String? tunnelConfig,
|
|
|
|
|
+ dynamic dataConfig,
|
|
|
int? socketPort,
|
|
int? socketPort,
|
|
|
int? maxTryCount,
|
|
int? maxTryCount,
|
|
|
});
|
|
});
|
|
@@ -68,6 +70,7 @@ class _$NodesConfigCopyWithImpl<$Res, $Val extends NodesConfig>
|
|
|
$Res call({
|
|
$Res call({
|
|
|
Object? nodes = freezed,
|
|
Object? nodes = freezed,
|
|
|
Object? tunnelConfig = freezed,
|
|
Object? tunnelConfig = freezed,
|
|
|
|
|
+ Object? dataConfig = freezed,
|
|
|
Object? socketPort = freezed,
|
|
Object? socketPort = freezed,
|
|
|
Object? maxTryCount = freezed,
|
|
Object? maxTryCount = freezed,
|
|
|
}) {
|
|
}) {
|
|
@@ -81,6 +84,10 @@ class _$NodesConfigCopyWithImpl<$Res, $Val extends NodesConfig>
|
|
|
? _value.tunnelConfig
|
|
? _value.tunnelConfig
|
|
|
: tunnelConfig // ignore: cast_nullable_to_non_nullable
|
|
: tunnelConfig // ignore: cast_nullable_to_non_nullable
|
|
|
as String?,
|
|
as String?,
|
|
|
|
|
+ dataConfig: freezed == dataConfig
|
|
|
|
|
+ ? _value.dataConfig
|
|
|
|
|
+ : dataConfig // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
+ as dynamic,
|
|
|
socketPort: freezed == socketPort
|
|
socketPort: freezed == socketPort
|
|
|
? _value.socketPort
|
|
? _value.socketPort
|
|
|
: socketPort // ignore: cast_nullable_to_non_nullable
|
|
: socketPort // ignore: cast_nullable_to_non_nullable
|
|
@@ -107,6 +114,7 @@ abstract class _$$NodesConfigImplCopyWith<$Res>
|
|
|
$Res call({
|
|
$Res call({
|
|
|
List<dynamic>? nodes,
|
|
List<dynamic>? nodes,
|
|
|
String? tunnelConfig,
|
|
String? tunnelConfig,
|
|
|
|
|
+ dynamic dataConfig,
|
|
|
int? socketPort,
|
|
int? socketPort,
|
|
|
int? maxTryCount,
|
|
int? maxTryCount,
|
|
|
});
|
|
});
|
|
@@ -128,6 +136,7 @@ class __$$NodesConfigImplCopyWithImpl<$Res>
|
|
|
$Res call({
|
|
$Res call({
|
|
|
Object? nodes = freezed,
|
|
Object? nodes = freezed,
|
|
|
Object? tunnelConfig = freezed,
|
|
Object? tunnelConfig = freezed,
|
|
|
|
|
+ Object? dataConfig = freezed,
|
|
|
Object? socketPort = freezed,
|
|
Object? socketPort = freezed,
|
|
|
Object? maxTryCount = freezed,
|
|
Object? maxTryCount = freezed,
|
|
|
}) {
|
|
}) {
|
|
@@ -141,6 +150,10 @@ class __$$NodesConfigImplCopyWithImpl<$Res>
|
|
|
? _value.tunnelConfig
|
|
? _value.tunnelConfig
|
|
|
: tunnelConfig // ignore: cast_nullable_to_non_nullable
|
|
: tunnelConfig // ignore: cast_nullable_to_non_nullable
|
|
|
as String?,
|
|
as String?,
|
|
|
|
|
+ dataConfig: freezed == dataConfig
|
|
|
|
|
+ ? _value.dataConfig
|
|
|
|
|
+ : dataConfig // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
+ as dynamic,
|
|
|
socketPort: freezed == socketPort
|
|
socketPort: freezed == socketPort
|
|
|
? _value.socketPort
|
|
? _value.socketPort
|
|
|
: socketPort // ignore: cast_nullable_to_non_nullable
|
|
: socketPort // ignore: cast_nullable_to_non_nullable
|
|
@@ -160,6 +173,7 @@ class _$NodesConfigImpl with DiagnosticableTreeMixin implements _NodesConfig {
|
|
|
const _$NodesConfigImpl({
|
|
const _$NodesConfigImpl({
|
|
|
final List<dynamic>? nodes,
|
|
final List<dynamic>? nodes,
|
|
|
this.tunnelConfig,
|
|
this.tunnelConfig,
|
|
|
|
|
+ this.dataConfig,
|
|
|
this.socketPort,
|
|
this.socketPort,
|
|
|
this.maxTryCount,
|
|
this.maxTryCount,
|
|
|
}) : _nodes = nodes;
|
|
}) : _nodes = nodes;
|
|
@@ -180,13 +194,15 @@ class _$NodesConfigImpl with DiagnosticableTreeMixin implements _NodesConfig {
|
|
|
@override
|
|
@override
|
|
|
final String? tunnelConfig;
|
|
final String? tunnelConfig;
|
|
|
@override
|
|
@override
|
|
|
|
|
+ final dynamic dataConfig;
|
|
|
|
|
+ @override
|
|
|
final int? socketPort;
|
|
final int? socketPort;
|
|
|
@override
|
|
@override
|
|
|
final int? maxTryCount;
|
|
final int? maxTryCount;
|
|
|
|
|
|
|
|
@override
|
|
@override
|
|
|
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
|
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
|
|
- return 'NodesConfig(nodes: $nodes, tunnelConfig: $tunnelConfig, socketPort: $socketPort, maxTryCount: $maxTryCount)';
|
|
|
|
|
|
|
+ return 'NodesConfig(nodes: $nodes, tunnelConfig: $tunnelConfig, dataConfig: $dataConfig, socketPort: $socketPort, maxTryCount: $maxTryCount)';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
@override
|
|
@@ -196,6 +212,7 @@ class _$NodesConfigImpl with DiagnosticableTreeMixin implements _NodesConfig {
|
|
|
..add(DiagnosticsProperty('type', 'NodesConfig'))
|
|
..add(DiagnosticsProperty('type', 'NodesConfig'))
|
|
|
..add(DiagnosticsProperty('nodes', nodes))
|
|
..add(DiagnosticsProperty('nodes', nodes))
|
|
|
..add(DiagnosticsProperty('tunnelConfig', tunnelConfig))
|
|
..add(DiagnosticsProperty('tunnelConfig', tunnelConfig))
|
|
|
|
|
+ ..add(DiagnosticsProperty('dataConfig', dataConfig))
|
|
|
..add(DiagnosticsProperty('socketPort', socketPort))
|
|
..add(DiagnosticsProperty('socketPort', socketPort))
|
|
|
..add(DiagnosticsProperty('maxTryCount', maxTryCount));
|
|
..add(DiagnosticsProperty('maxTryCount', maxTryCount));
|
|
|
}
|
|
}
|
|
@@ -208,6 +225,10 @@ class _$NodesConfigImpl with DiagnosticableTreeMixin implements _NodesConfig {
|
|
|
const DeepCollectionEquality().equals(other._nodes, _nodes) &&
|
|
const DeepCollectionEquality().equals(other._nodes, _nodes) &&
|
|
|
(identical(other.tunnelConfig, tunnelConfig) ||
|
|
(identical(other.tunnelConfig, tunnelConfig) ||
|
|
|
other.tunnelConfig == tunnelConfig) &&
|
|
other.tunnelConfig == tunnelConfig) &&
|
|
|
|
|
+ const DeepCollectionEquality().equals(
|
|
|
|
|
+ other.dataConfig,
|
|
|
|
|
+ dataConfig,
|
|
|
|
|
+ ) &&
|
|
|
(identical(other.socketPort, socketPort) ||
|
|
(identical(other.socketPort, socketPort) ||
|
|
|
other.socketPort == socketPort) &&
|
|
other.socketPort == socketPort) &&
|
|
|
(identical(other.maxTryCount, maxTryCount) ||
|
|
(identical(other.maxTryCount, maxTryCount) ||
|
|
@@ -220,6 +241,7 @@ class _$NodesConfigImpl with DiagnosticableTreeMixin implements _NodesConfig {
|
|
|
runtimeType,
|
|
runtimeType,
|
|
|
const DeepCollectionEquality().hash(_nodes),
|
|
const DeepCollectionEquality().hash(_nodes),
|
|
|
tunnelConfig,
|
|
tunnelConfig,
|
|
|
|
|
+ const DeepCollectionEquality().hash(dataConfig),
|
|
|
socketPort,
|
|
socketPort,
|
|
|
maxTryCount,
|
|
maxTryCount,
|
|
|
);
|
|
);
|
|
@@ -242,6 +264,7 @@ abstract class _NodesConfig implements NodesConfig {
|
|
|
const factory _NodesConfig({
|
|
const factory _NodesConfig({
|
|
|
final List<dynamic>? nodes,
|
|
final List<dynamic>? nodes,
|
|
|
final String? tunnelConfig,
|
|
final String? tunnelConfig,
|
|
|
|
|
+ final dynamic dataConfig,
|
|
|
final int? socketPort,
|
|
final int? socketPort,
|
|
|
final int? maxTryCount,
|
|
final int? maxTryCount,
|
|
|
}) = _$NodesConfigImpl;
|
|
}) = _$NodesConfigImpl;
|
|
@@ -254,6 +277,8 @@ abstract class _NodesConfig implements NodesConfig {
|
|
|
@override
|
|
@override
|
|
|
String? get tunnelConfig;
|
|
String? get tunnelConfig;
|
|
|
@override
|
|
@override
|
|
|
|
|
+ dynamic get dataConfig;
|
|
|
|
|
+ @override
|
|
|
int? get socketPort;
|
|
int? get socketPort;
|
|
|
@override
|
|
@override
|
|
|
int? get maxTryCount;
|
|
int? get maxTryCount;
|