diff --git a/doc/config/sample.config b/doc/config/sample.config index 5b752db1..53b8d996 100644 --- a/doc/config/sample.config +++ b/doc/config/sample.config @@ -46,7 +46,7 @@ core: max_connections_per_ip6_prefix: 32 max_connections_per_ip6_prefix_size: 56 max_connection_frequency_per_min: 128 - client_whitelist_timeout_ms: 300000 + client_allowlist_timeout_ms: 300000 reverse_connection_receipt_time_ms: 5000 hole_punch_receipt_time_ms: 5000 network_key_password: null diff --git a/doc/config/veilid-server-config.md b/doc/config/veilid-server-config.md index a503c7c5..e099da63 100644 --- a/doc/config/veilid-server-config.md +++ b/doc/config/veilid-server-config.md @@ -185,7 +185,7 @@ network: max_connections_per_ip6_prefix: 32 max_connections_per_ip6_prefix_size: 56 max_connection_frequency_per_min: 128 - client_whitelist_timeout_ms: 300000 + client_allowlist_timeout_ms: 300000 reverse_connection_receipt_time_ms: 5000 hole_punch_receipt_time_ms: 5000 network_key_password: null diff --git a/veilid-core/src/network_manager/mod.rs b/veilid-core/src/network_manager/mod.rs index 8a277e31..3c0ee077 100644 --- a/veilid-core/src/network_manager/mod.rs +++ b/veilid-core/src/network_manager/mod.rs @@ -85,7 +85,7 @@ struct NetworkComponents { } #[derive(Debug)] -struct ClientWhitelistEntry { +struct ClientAllowlistEntry { last_seen_ts: Timestamp, } @@ -136,7 +136,7 @@ enum SendDataToExistingFlowResult { // The mutable state of the network manager struct NetworkManagerInner { stats: NetworkManagerStats, - client_whitelist: LruCache, + client_allowlist: LruCache, node_contact_method_cache: LruCache, public_address_check_cache: BTreeMap>, @@ -175,7 +175,7 @@ impl NetworkManager { fn new_inner() -> NetworkManagerInner { NetworkManagerInner { stats: NetworkManagerStats::default(), - client_whitelist: LruCache::new_unbounded(), + client_allowlist: LruCache::new_unbounded(), node_contact_method_cache: LruCache::new(NODE_CONTACT_METHOD_CACHE_SIZE), public_address_check_cache: BTreeMap::new(), public_address_inconsistencies_table: BTreeMap::new(), @@ -453,14 +453,14 @@ impl NetworkManager { debug!("finished network manager shutdown"); } - pub fn update_client_whitelist(&self, client: TypedKey) { + pub fn update_client_allowlist(&self, client: TypedKey) { let mut inner = self.inner.lock(); - match inner.client_whitelist.entry(client) { + match inner.client_allowlist.entry(client) { hashlink::lru_cache::Entry::Occupied(mut entry) => { entry.get_mut().last_seen_ts = get_aligned_timestamp() } hashlink::lru_cache::Entry::Vacant(entry) => { - entry.insert(ClientWhitelistEntry { + entry.insert(ClientAllowlistEntry { last_seen_ts: get_aligned_timestamp(), }); } @@ -468,10 +468,10 @@ impl NetworkManager { } #[instrument(level = "trace", skip(self), ret)] - pub fn check_client_whitelist(&self, client: TypedKey) -> bool { + pub fn check_client_allowlist(&self, client: TypedKey) -> bool { let mut inner = self.inner.lock(); - match inner.client_whitelist.entry(client) { + match inner.client_allowlist.entry(client) { hashlink::lru_cache::Entry::Occupied(mut entry) => { entry.get_mut().last_seen_ts = get_aligned_timestamp(); true @@ -480,20 +480,20 @@ impl NetworkManager { } } - pub fn purge_client_whitelist(&self) { - let timeout_ms = self.with_config(|c| c.network.client_whitelist_timeout_ms); + pub fn purge_client_allowlist(&self) { + let timeout_ms = self.with_config(|c| c.network.client_allowlist_timeout_ms); let mut inner = self.inner.lock(); let cutoff_timestamp = get_aligned_timestamp() - TimestampDuration::new((timeout_ms as u64) * 1000u64); - // Remove clients from the whitelist that haven't been since since our whitelist timeout + // Remove clients from the allowlist that haven't been since since our allowlist timeout while inner - .client_whitelist + .client_allowlist .peek_lru() .map(|v| v.1.last_seen_ts < cutoff_timestamp) .unwrap_or_default() { - let (k, v) = inner.client_whitelist.remove_lru().unwrap(); - trace!(key=?k, value=?v, "purge_client_whitelist: remove_lru") + let (k, v) = inner.client_allowlist.remove_lru().unwrap(); + trace!(key=?k, value=?v, "purge_client_allowlist: remove_lru") } } @@ -998,7 +998,7 @@ impl NetworkManager { // This is a costly operation, so only outbound-relay permitted // nodes are allowed to do this, for example PWA users - let some_relay_nr = if self.check_client_whitelist(sender_id) { + let some_relay_nr = if self.check_client_allowlist(sender_id) { // Full relay allowed, do a full resolve_node match rpc .resolve_node(recipient_id, SafetySelection::Unsafe(Sequencing::default())) @@ -1011,7 +1011,7 @@ impl NetworkManager { } } } else { - // If this is not a node in the client whitelist, only allow inbound relay + // If this is not a node in the client allowlist, only allow inbound relay // which only performs a lightweight lookup before passing the packet back out // See if we have the node in our routing table diff --git a/veilid-core/src/network_manager/native/mod.rs b/veilid-core/src/network_manager/native/mod.rs index ecedbddb..92551955 100644 --- a/veilid-core/src/network_manager/native/mod.rs +++ b/veilid-core/src/network_manager/native/mod.rs @@ -551,9 +551,12 @@ impl Network { .wrap_err("connect failure")? } ProtocolType::WS | ProtocolType::WSS => { - WebsocketProtocolHandler::connect(None, &dial_info, connect_timeout_ms) - .await - .wrap_err("connect failure")? + WebsocketProtocolHandler::connect( + None, + &dial_info, + connect_timeout_ms) + .await + .wrap_err("connect failure")? } }); diff --git a/veilid-core/src/network_manager/tasks/mod.rs b/veilid-core/src/network_manager/tasks/mod.rs index a57b0d3c..fbcbc6d3 100644 --- a/veilid-core/src/network_manager/tasks/mod.rs +++ b/veilid-core/src/network_manager/tasks/mod.rs @@ -78,8 +78,8 @@ impl NetworkManager { // Run the receipt manager tick receipt_manager.tick().await?; - // Purge the client whitelist - self.purge_client_whitelist(); + // Purge the client allowlist + self.purge_client_allowlist(); Ok(()) } diff --git a/veilid-core/src/tests/common/test_veilid_config.rs b/veilid-core/src/tests/common/test_veilid_config.rs index 4ccefb3c..8f16f206 100644 --- a/veilid-core/src/tests/common/test_veilid_config.rs +++ b/veilid-core/src/tests/common/test_veilid_config.rs @@ -185,7 +185,7 @@ pub fn config_callback(key: String) -> ConfigCallbackReturn { "network.max_connections_per_ip6_prefix" => Ok(Box::new(32u32)), "network.max_connections_per_ip6_prefix_size" => Ok(Box::new(56u32)), "network.max_connection_frequency_per_min" => Ok(Box::new(128u32)), - "network.client_whitelist_timeout_ms" => Ok(Box::new(300_000u32)), + "network.client_allowlist_timeout_ms" => Ok(Box::new(300_000u32)), "network.reverse_connection_receipt_time_ms" => Ok(Box::new(5_000u32)), "network.hole_punch_receipt_time_ms" => Ok(Box::new(5_000u32)), "network.network_key_password" => Ok(Box::new(Option::::None)), @@ -320,7 +320,7 @@ pub async fn test_config() { assert_eq!(inner.network.max_connections_per_ip6_prefix, 32u32); assert_eq!(inner.network.max_connections_per_ip6_prefix_size, 56u32); assert_eq!(inner.network.max_connection_frequency_per_min, 128u32); - assert_eq!(inner.network.client_whitelist_timeout_ms, 300_000u32); + assert_eq!(inner.network.client_allowlist_timeout_ms, 300_000u32); assert_eq!(inner.network.reverse_connection_receipt_time_ms, 5_000u32); assert_eq!(inner.network.hole_punch_receipt_time_ms, 5_000u32); assert_eq!(inner.network.network_key_password, Option::::None); diff --git a/veilid-core/src/veilid_api/tests/fixtures.rs b/veilid-core/src/veilid_api/tests/fixtures.rs index b906ae68..738a34f7 100644 --- a/veilid-core/src/veilid_api/tests/fixtures.rs +++ b/veilid-core/src/veilid_api/tests/fixtures.rs @@ -101,7 +101,7 @@ pub fn fix_veilidconfiginner() -> VeilidConfigInner { max_connections_per_ip6_prefix: 4000, max_connections_per_ip6_prefix_size: 5000, max_connection_frequency_per_min: 6000, - client_whitelist_timeout_ms: 7000, + client_allowlist_timeout_ms: 7000, reverse_connection_receipt_time_ms: 8000, hole_punch_receipt_time_ms: 9000, network_key_password: None, diff --git a/veilid-core/src/veilid_config.rs b/veilid-core/src/veilid_config.rs index d74c3a8c..f9c55b2e 100644 --- a/veilid-core/src/veilid_config.rs +++ b/veilid-core/src/veilid_config.rs @@ -249,7 +249,7 @@ pub struct VeilidConfigNetwork { pub max_connections_per_ip6_prefix: u32, pub max_connections_per_ip6_prefix_size: u32, pub max_connection_frequency_per_min: u32, - pub client_whitelist_timeout_ms: u32, + pub client_allowlist_timeout_ms: u32, pub reverse_connection_receipt_time_ms: u32, pub hole_punch_receipt_time_ms: u32, #[cfg_attr(target_arch = "wasm32", tsify(optional))] @@ -486,7 +486,7 @@ impl VeilidConfig { get_config!(inner.network.max_connections_per_ip6_prefix); get_config!(inner.network.max_connections_per_ip6_prefix_size); get_config!(inner.network.max_connection_frequency_per_min); - get_config!(inner.network.client_whitelist_timeout_ms); + get_config!(inner.network.client_allowlist_timeout_ms); get_config!(inner.network.reverse_connection_receipt_time_ms); get_config!(inner.network.hole_punch_receipt_time_ms); get_config!(inner.network.network_key_password); diff --git a/veilid-flutter/example/pubspec.lock b/veilid-flutter/example/pubspec.lock index 71b84459..28671d7b 100644 --- a/veilid-flutter/example/pubspec.lock +++ b/veilid-flutter/example/pubspec.lock @@ -61,10 +61,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" convert: dependency: transitive description: @@ -220,10 +220,10 @@ packages: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" path: dependency: "direct main" description: @@ -329,18 +329,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -377,10 +377,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.6.1" typed_data: dependency: transitive description: @@ -403,15 +403,15 @@ packages: path: ".." relative: true source: path - version: "0.2.4" + version: "0.2.5" web: dependency: transitive description: name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "0.3.0" win32: dependency: transitive description: @@ -437,5 +437,5 @@ packages: source: hosted version: "3.5.0" sdks: - dart: ">=3.1.0-185.0.dev <4.0.0" + dart: ">=3.2.0-194.0.dev <4.0.0" flutter: ">=3.10.6" diff --git a/veilid-flutter/lib/default_config.dart b/veilid-flutter/lib/default_config.dart index eac855bc..9d11c91f 100644 --- a/veilid-flutter/lib/default_config.dart +++ b/veilid-flutter/lib/default_config.dart @@ -93,7 +93,7 @@ Future getDefaultVeilidConfig(String programName) async { maxConnectionsPerIp6Prefix: 32, maxConnectionsPerIp6PrefixSize: 56, maxConnectionFrequencyPerMin: 128, - clientWhitelistTimeoutMs: 300000, + clientAllowlistTimeoutMs: 300000, reverseConnectionReceiptTimeMs: 5000, holePunchReceiptTimeMs: 5000, routingTable: VeilidConfigRoutingTable( diff --git a/veilid-flutter/lib/routing_context.freezed.dart b/veilid-flutter/lib/routing_context.freezed.dart index af4f4aab..57ba287d 100644 --- a/veilid-flutter/lib/routing_context.freezed.dart +++ b/veilid-flutter/lib/routing_context.freezed.dart @@ -107,22 +107,22 @@ class _$DHTSchemaCopyWithImpl<$Res, $Val extends DHTSchema> } /// @nodoc -abstract class _$$DHTSchemaDFLTCopyWith<$Res> +abstract class _$$DHTSchemaDFLTImplCopyWith<$Res> implements $DHTSchemaCopyWith<$Res> { - factory _$$DHTSchemaDFLTCopyWith( - _$DHTSchemaDFLT value, $Res Function(_$DHTSchemaDFLT) then) = - __$$DHTSchemaDFLTCopyWithImpl<$Res>; + factory _$$DHTSchemaDFLTImplCopyWith( + _$DHTSchemaDFLTImpl value, $Res Function(_$DHTSchemaDFLTImpl) then) = + __$$DHTSchemaDFLTImplCopyWithImpl<$Res>; @override @useResult $Res call({int oCnt}); } /// @nodoc -class __$$DHTSchemaDFLTCopyWithImpl<$Res> - extends _$DHTSchemaCopyWithImpl<$Res, _$DHTSchemaDFLT> - implements _$$DHTSchemaDFLTCopyWith<$Res> { - __$$DHTSchemaDFLTCopyWithImpl( - _$DHTSchemaDFLT _value, $Res Function(_$DHTSchemaDFLT) _then) +class __$$DHTSchemaDFLTImplCopyWithImpl<$Res> + extends _$DHTSchemaCopyWithImpl<$Res, _$DHTSchemaDFLTImpl> + implements _$$DHTSchemaDFLTImplCopyWith<$Res> { + __$$DHTSchemaDFLTImplCopyWithImpl( + _$DHTSchemaDFLTImpl _value, $Res Function(_$DHTSchemaDFLTImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -130,7 +130,7 @@ class __$$DHTSchemaDFLTCopyWithImpl<$Res> $Res call({ Object? oCnt = null, }) { - return _then(_$DHTSchemaDFLT( + return _then(_$DHTSchemaDFLTImpl( oCnt: null == oCnt ? _value.oCnt : oCnt // ignore: cast_nullable_to_non_nullable @@ -141,12 +141,12 @@ class __$$DHTSchemaDFLTCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$DHTSchemaDFLT implements DHTSchemaDFLT { - const _$DHTSchemaDFLT({required this.oCnt, final String? $type}) +class _$DHTSchemaDFLTImpl implements DHTSchemaDFLT { + const _$DHTSchemaDFLTImpl({required this.oCnt, final String? $type}) : $type = $type ?? 'DFLT'; - factory _$DHTSchemaDFLT.fromJson(Map json) => - _$$DHTSchemaDFLTFromJson(json); + factory _$DHTSchemaDFLTImpl.fromJson(Map json) => + _$$DHTSchemaDFLTImplFromJson(json); @override final int oCnt; @@ -163,7 +163,7 @@ class _$DHTSchemaDFLT implements DHTSchemaDFLT { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DHTSchemaDFLT && + other is _$DHTSchemaDFLTImpl && (identical(other.oCnt, oCnt) || other.oCnt == oCnt)); } @@ -174,8 +174,8 @@ class _$DHTSchemaDFLT implements DHTSchemaDFLT { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DHTSchemaDFLTCopyWith<_$DHTSchemaDFLT> get copyWith => - __$$DHTSchemaDFLTCopyWithImpl<_$DHTSchemaDFLT>(this, _$identity); + _$$DHTSchemaDFLTImplCopyWith<_$DHTSchemaDFLTImpl> get copyWith => + __$$DHTSchemaDFLTImplCopyWithImpl<_$DHTSchemaDFLTImpl>(this, _$identity); @override @optionalTypeArgs @@ -241,43 +241,43 @@ class _$DHTSchemaDFLT implements DHTSchemaDFLT { @override Map toJson() { - return _$$DHTSchemaDFLTToJson( + return _$$DHTSchemaDFLTImplToJson( this, ); } } abstract class DHTSchemaDFLT implements DHTSchema { - const factory DHTSchemaDFLT({required final int oCnt}) = _$DHTSchemaDFLT; + const factory DHTSchemaDFLT({required final int oCnt}) = _$DHTSchemaDFLTImpl; factory DHTSchemaDFLT.fromJson(Map json) = - _$DHTSchemaDFLT.fromJson; + _$DHTSchemaDFLTImpl.fromJson; @override int get oCnt; @override @JsonKey(ignore: true) - _$$DHTSchemaDFLTCopyWith<_$DHTSchemaDFLT> get copyWith => + _$$DHTSchemaDFLTImplCopyWith<_$DHTSchemaDFLTImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DHTSchemaSMPLCopyWith<$Res> +abstract class _$$DHTSchemaSMPLImplCopyWith<$Res> implements $DHTSchemaCopyWith<$Res> { - factory _$$DHTSchemaSMPLCopyWith( - _$DHTSchemaSMPL value, $Res Function(_$DHTSchemaSMPL) then) = - __$$DHTSchemaSMPLCopyWithImpl<$Res>; + factory _$$DHTSchemaSMPLImplCopyWith( + _$DHTSchemaSMPLImpl value, $Res Function(_$DHTSchemaSMPLImpl) then) = + __$$DHTSchemaSMPLImplCopyWithImpl<$Res>; @override @useResult $Res call({int oCnt, List members}); } /// @nodoc -class __$$DHTSchemaSMPLCopyWithImpl<$Res> - extends _$DHTSchemaCopyWithImpl<$Res, _$DHTSchemaSMPL> - implements _$$DHTSchemaSMPLCopyWith<$Res> { - __$$DHTSchemaSMPLCopyWithImpl( - _$DHTSchemaSMPL _value, $Res Function(_$DHTSchemaSMPL) _then) +class __$$DHTSchemaSMPLImplCopyWithImpl<$Res> + extends _$DHTSchemaCopyWithImpl<$Res, _$DHTSchemaSMPLImpl> + implements _$$DHTSchemaSMPLImplCopyWith<$Res> { + __$$DHTSchemaSMPLImplCopyWithImpl( + _$DHTSchemaSMPLImpl _value, $Res Function(_$DHTSchemaSMPLImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -286,7 +286,7 @@ class __$$DHTSchemaSMPLCopyWithImpl<$Res> Object? oCnt = null, Object? members = null, }) { - return _then(_$DHTSchemaSMPL( + return _then(_$DHTSchemaSMPLImpl( oCnt: null == oCnt ? _value.oCnt : oCnt // ignore: cast_nullable_to_non_nullable @@ -301,16 +301,16 @@ class __$$DHTSchemaSMPLCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$DHTSchemaSMPL implements DHTSchemaSMPL { - const _$DHTSchemaSMPL( +class _$DHTSchemaSMPLImpl implements DHTSchemaSMPL { + const _$DHTSchemaSMPLImpl( {required this.oCnt, required final List members, final String? $type}) : _members = members, $type = $type ?? 'SMPL'; - factory _$DHTSchemaSMPL.fromJson(Map json) => - _$$DHTSchemaSMPLFromJson(json); + factory _$DHTSchemaSMPLImpl.fromJson(Map json) => + _$$DHTSchemaSMPLImplFromJson(json); @override final int oCnt; @@ -334,7 +334,7 @@ class _$DHTSchemaSMPL implements DHTSchemaSMPL { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DHTSchemaSMPL && + other is _$DHTSchemaSMPLImpl && (identical(other.oCnt, oCnt) || other.oCnt == oCnt) && const DeepCollectionEquality().equals(other._members, _members)); } @@ -347,8 +347,8 @@ class _$DHTSchemaSMPL implements DHTSchemaSMPL { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DHTSchemaSMPLCopyWith<_$DHTSchemaSMPL> get copyWith => - __$$DHTSchemaSMPLCopyWithImpl<_$DHTSchemaSMPL>(this, _$identity); + _$$DHTSchemaSMPLImplCopyWith<_$DHTSchemaSMPLImpl> get copyWith => + __$$DHTSchemaSMPLImplCopyWithImpl<_$DHTSchemaSMPLImpl>(this, _$identity); @override @optionalTypeArgs @@ -414,7 +414,7 @@ class _$DHTSchemaSMPL implements DHTSchemaSMPL { @override Map toJson() { - return _$$DHTSchemaSMPLToJson( + return _$$DHTSchemaSMPLImplToJson( this, ); } @@ -423,17 +423,17 @@ class _$DHTSchemaSMPL implements DHTSchemaSMPL { abstract class DHTSchemaSMPL implements DHTSchema { const factory DHTSchemaSMPL( {required final int oCnt, - required final List members}) = _$DHTSchemaSMPL; + required final List members}) = _$DHTSchemaSMPLImpl; factory DHTSchemaSMPL.fromJson(Map json) = - _$DHTSchemaSMPL.fromJson; + _$DHTSchemaSMPLImpl.fromJson; @override int get oCnt; List get members; @override @JsonKey(ignore: true) - _$$DHTSchemaSMPLCopyWith<_$DHTSchemaSMPL> get copyWith => + _$$DHTSchemaSMPLImplCopyWith<_$DHTSchemaSMPLImpl> get copyWith => throw _privateConstructorUsedError; } @@ -491,22 +491,22 @@ class _$DHTSchemaMemberCopyWithImpl<$Res, $Val extends DHTSchemaMember> } /// @nodoc -abstract class _$$_DHTSchemaMemberCopyWith<$Res> +abstract class _$$DHTSchemaMemberImplCopyWith<$Res> implements $DHTSchemaMemberCopyWith<$Res> { - factory _$$_DHTSchemaMemberCopyWith( - _$_DHTSchemaMember value, $Res Function(_$_DHTSchemaMember) then) = - __$$_DHTSchemaMemberCopyWithImpl<$Res>; + factory _$$DHTSchemaMemberImplCopyWith(_$DHTSchemaMemberImpl value, + $Res Function(_$DHTSchemaMemberImpl) then) = + __$$DHTSchemaMemberImplCopyWithImpl<$Res>; @override @useResult $Res call({FixedEncodedString43 mKey, int mCnt}); } /// @nodoc -class __$$_DHTSchemaMemberCopyWithImpl<$Res> - extends _$DHTSchemaMemberCopyWithImpl<$Res, _$_DHTSchemaMember> - implements _$$_DHTSchemaMemberCopyWith<$Res> { - __$$_DHTSchemaMemberCopyWithImpl( - _$_DHTSchemaMember _value, $Res Function(_$_DHTSchemaMember) _then) +class __$$DHTSchemaMemberImplCopyWithImpl<$Res> + extends _$DHTSchemaMemberCopyWithImpl<$Res, _$DHTSchemaMemberImpl> + implements _$$DHTSchemaMemberImplCopyWith<$Res> { + __$$DHTSchemaMemberImplCopyWithImpl( + _$DHTSchemaMemberImpl _value, $Res Function(_$DHTSchemaMemberImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -515,7 +515,7 @@ class __$$_DHTSchemaMemberCopyWithImpl<$Res> Object? mKey = null, Object? mCnt = null, }) { - return _then(_$_DHTSchemaMember( + return _then(_$DHTSchemaMemberImpl( mKey: null == mKey ? _value.mKey : mKey // ignore: cast_nullable_to_non_nullable @@ -530,12 +530,12 @@ class __$$_DHTSchemaMemberCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_DHTSchemaMember implements _DHTSchemaMember { - const _$_DHTSchemaMember({required this.mKey, required this.mCnt}) +class _$DHTSchemaMemberImpl implements _DHTSchemaMember { + const _$DHTSchemaMemberImpl({required this.mKey, required this.mCnt}) : assert(mCnt > 0 && mCnt <= 65535, 'value out of range'); - factory _$_DHTSchemaMember.fromJson(Map json) => - _$$_DHTSchemaMemberFromJson(json); + factory _$DHTSchemaMemberImpl.fromJson(Map json) => + _$$DHTSchemaMemberImplFromJson(json); @override final FixedEncodedString43 mKey; @@ -551,7 +551,7 @@ class _$_DHTSchemaMember implements _DHTSchemaMember { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_DHTSchemaMember && + other is _$DHTSchemaMemberImpl && (identical(other.mKey, mKey) || other.mKey == mKey) && (identical(other.mCnt, mCnt) || other.mCnt == mCnt)); } @@ -563,12 +563,13 @@ class _$_DHTSchemaMember implements _DHTSchemaMember { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_DHTSchemaMemberCopyWith<_$_DHTSchemaMember> get copyWith => - __$$_DHTSchemaMemberCopyWithImpl<_$_DHTSchemaMember>(this, _$identity); + _$$DHTSchemaMemberImplCopyWith<_$DHTSchemaMemberImpl> get copyWith => + __$$DHTSchemaMemberImplCopyWithImpl<_$DHTSchemaMemberImpl>( + this, _$identity); @override Map toJson() { - return _$$_DHTSchemaMemberToJson( + return _$$DHTSchemaMemberImplToJson( this, ); } @@ -577,10 +578,10 @@ class _$_DHTSchemaMember implements _DHTSchemaMember { abstract class _DHTSchemaMember implements DHTSchemaMember { const factory _DHTSchemaMember( {required final FixedEncodedString43 mKey, - required final int mCnt}) = _$_DHTSchemaMember; + required final int mCnt}) = _$DHTSchemaMemberImpl; factory _DHTSchemaMember.fromJson(Map json) = - _$_DHTSchemaMember.fromJson; + _$DHTSchemaMemberImpl.fromJson; @override FixedEncodedString43 get mKey; @@ -588,7 +589,7 @@ abstract class _DHTSchemaMember implements DHTSchemaMember { int get mCnt; @override @JsonKey(ignore: true) - _$$_DHTSchemaMemberCopyWith<_$_DHTSchemaMember> get copyWith => + _$$DHTSchemaMemberImplCopyWith<_$DHTSchemaMemberImpl> get copyWith => throw _privateConstructorUsedError; } @@ -672,11 +673,11 @@ class _$DHTRecordDescriptorCopyWithImpl<$Res, $Val extends DHTRecordDescriptor> } /// @nodoc -abstract class _$$_DHTRecordDescriptorCopyWith<$Res> +abstract class _$$DHTRecordDescriptorImplCopyWith<$Res> implements $DHTRecordDescriptorCopyWith<$Res> { - factory _$$_DHTRecordDescriptorCopyWith(_$_DHTRecordDescriptor value, - $Res Function(_$_DHTRecordDescriptor) then) = - __$$_DHTRecordDescriptorCopyWithImpl<$Res>; + factory _$$DHTRecordDescriptorImplCopyWith(_$DHTRecordDescriptorImpl value, + $Res Function(_$DHTRecordDescriptorImpl) then) = + __$$DHTRecordDescriptorImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -690,11 +691,11 @@ abstract class _$$_DHTRecordDescriptorCopyWith<$Res> } /// @nodoc -class __$$_DHTRecordDescriptorCopyWithImpl<$Res> - extends _$DHTRecordDescriptorCopyWithImpl<$Res, _$_DHTRecordDescriptor> - implements _$$_DHTRecordDescriptorCopyWith<$Res> { - __$$_DHTRecordDescriptorCopyWithImpl(_$_DHTRecordDescriptor _value, - $Res Function(_$_DHTRecordDescriptor) _then) +class __$$DHTRecordDescriptorImplCopyWithImpl<$Res> + extends _$DHTRecordDescriptorCopyWithImpl<$Res, _$DHTRecordDescriptorImpl> + implements _$$DHTRecordDescriptorImplCopyWith<$Res> { + __$$DHTRecordDescriptorImplCopyWithImpl(_$DHTRecordDescriptorImpl _value, + $Res Function(_$DHTRecordDescriptorImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -705,7 +706,7 @@ class __$$_DHTRecordDescriptorCopyWithImpl<$Res> Object? schema = null, Object? ownerSecret = freezed, }) { - return _then(_$_DHTRecordDescriptor( + return _then(_$DHTRecordDescriptorImpl( key: null == key ? _value.key : key // ignore: cast_nullable_to_non_nullable @@ -728,15 +729,15 @@ class __$$_DHTRecordDescriptorCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_DHTRecordDescriptor implements _DHTRecordDescriptor { - const _$_DHTRecordDescriptor( +class _$DHTRecordDescriptorImpl implements _DHTRecordDescriptor { + const _$DHTRecordDescriptorImpl( {required this.key, required this.owner, required this.schema, this.ownerSecret}); - factory _$_DHTRecordDescriptor.fromJson(Map json) => - _$$_DHTRecordDescriptorFromJson(json); + factory _$DHTRecordDescriptorImpl.fromJson(Map json) => + _$$DHTRecordDescriptorImplFromJson(json); @override final Typed key; @@ -756,7 +757,7 @@ class _$_DHTRecordDescriptor implements _DHTRecordDescriptor { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_DHTRecordDescriptor && + other is _$DHTRecordDescriptorImpl && (identical(other.key, key) || other.key == key) && (identical(other.owner, owner) || other.owner == owner) && (identical(other.schema, schema) || other.schema == schema) && @@ -771,13 +772,13 @@ class _$_DHTRecordDescriptor implements _DHTRecordDescriptor { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_DHTRecordDescriptorCopyWith<_$_DHTRecordDescriptor> get copyWith => - __$$_DHTRecordDescriptorCopyWithImpl<_$_DHTRecordDescriptor>( + _$$DHTRecordDescriptorImplCopyWith<_$DHTRecordDescriptorImpl> get copyWith => + __$$DHTRecordDescriptorImplCopyWithImpl<_$DHTRecordDescriptorImpl>( this, _$identity); @override Map toJson() { - return _$$_DHTRecordDescriptorToJson( + return _$$DHTRecordDescriptorImplToJson( this, ); } @@ -788,10 +789,10 @@ abstract class _DHTRecordDescriptor implements DHTRecordDescriptor { {required final Typed key, required final FixedEncodedString43 owner, required final DHTSchema schema, - final FixedEncodedString43? ownerSecret}) = _$_DHTRecordDescriptor; + final FixedEncodedString43? ownerSecret}) = _$DHTRecordDescriptorImpl; factory _DHTRecordDescriptor.fromJson(Map json) = - _$_DHTRecordDescriptor.fromJson; + _$DHTRecordDescriptorImpl.fromJson; @override Typed get key; @@ -803,7 +804,7 @@ abstract class _DHTRecordDescriptor implements DHTRecordDescriptor { FixedEncodedString43? get ownerSecret; @override @JsonKey(ignore: true) - _$$_DHTRecordDescriptorCopyWith<_$_DHTRecordDescriptor> get copyWith => + _$$DHTRecordDescriptorImplCopyWith<_$DHTRecordDescriptorImpl> get copyWith => throw _privateConstructorUsedError; } @@ -861,22 +862,22 @@ class _$ValueSubkeyRangeCopyWithImpl<$Res, $Val extends ValueSubkeyRange> } /// @nodoc -abstract class _$$_ValueSubkeyRangeCopyWith<$Res> +abstract class _$$ValueSubkeyRangeImplCopyWith<$Res> implements $ValueSubkeyRangeCopyWith<$Res> { - factory _$$_ValueSubkeyRangeCopyWith( - _$_ValueSubkeyRange value, $Res Function(_$_ValueSubkeyRange) then) = - __$$_ValueSubkeyRangeCopyWithImpl<$Res>; + factory _$$ValueSubkeyRangeImplCopyWith(_$ValueSubkeyRangeImpl value, + $Res Function(_$ValueSubkeyRangeImpl) then) = + __$$ValueSubkeyRangeImplCopyWithImpl<$Res>; @override @useResult $Res call({int low, int high}); } /// @nodoc -class __$$_ValueSubkeyRangeCopyWithImpl<$Res> - extends _$ValueSubkeyRangeCopyWithImpl<$Res, _$_ValueSubkeyRange> - implements _$$_ValueSubkeyRangeCopyWith<$Res> { - __$$_ValueSubkeyRangeCopyWithImpl( - _$_ValueSubkeyRange _value, $Res Function(_$_ValueSubkeyRange) _then) +class __$$ValueSubkeyRangeImplCopyWithImpl<$Res> + extends _$ValueSubkeyRangeCopyWithImpl<$Res, _$ValueSubkeyRangeImpl> + implements _$$ValueSubkeyRangeImplCopyWith<$Res> { + __$$ValueSubkeyRangeImplCopyWithImpl(_$ValueSubkeyRangeImpl _value, + $Res Function(_$ValueSubkeyRangeImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -885,7 +886,7 @@ class __$$_ValueSubkeyRangeCopyWithImpl<$Res> Object? low = null, Object? high = null, }) { - return _then(_$_ValueSubkeyRange( + return _then(_$ValueSubkeyRangeImpl( low: null == low ? _value.low : low // ignore: cast_nullable_to_non_nullable @@ -900,13 +901,13 @@ class __$$_ValueSubkeyRangeCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_ValueSubkeyRange implements _ValueSubkeyRange { - const _$_ValueSubkeyRange({required this.low, required this.high}) +class _$ValueSubkeyRangeImpl implements _ValueSubkeyRange { + const _$ValueSubkeyRangeImpl({required this.low, required this.high}) : assert(low < 0 || low > high, 'low out of range'), assert(high < 0, 'high out of range'); - factory _$_ValueSubkeyRange.fromJson(Map json) => - _$$_ValueSubkeyRangeFromJson(json); + factory _$ValueSubkeyRangeImpl.fromJson(Map json) => + _$$ValueSubkeyRangeImplFromJson(json); @override final int low; @@ -922,7 +923,7 @@ class _$_ValueSubkeyRange implements _ValueSubkeyRange { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_ValueSubkeyRange && + other is _$ValueSubkeyRangeImpl && (identical(other.low, low) || other.low == low) && (identical(other.high, high) || other.high == high)); } @@ -934,12 +935,13 @@ class _$_ValueSubkeyRange implements _ValueSubkeyRange { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_ValueSubkeyRangeCopyWith<_$_ValueSubkeyRange> get copyWith => - __$$_ValueSubkeyRangeCopyWithImpl<_$_ValueSubkeyRange>(this, _$identity); + _$$ValueSubkeyRangeImplCopyWith<_$ValueSubkeyRangeImpl> get copyWith => + __$$ValueSubkeyRangeImplCopyWithImpl<_$ValueSubkeyRangeImpl>( + this, _$identity); @override Map toJson() { - return _$$_ValueSubkeyRangeToJson( + return _$$ValueSubkeyRangeImplToJson( this, ); } @@ -947,10 +949,11 @@ class _$_ValueSubkeyRange implements _ValueSubkeyRange { abstract class _ValueSubkeyRange implements ValueSubkeyRange { const factory _ValueSubkeyRange( - {required final int low, required final int high}) = _$_ValueSubkeyRange; + {required final int low, + required final int high}) = _$ValueSubkeyRangeImpl; factory _ValueSubkeyRange.fromJson(Map json) = - _$_ValueSubkeyRange.fromJson; + _$ValueSubkeyRangeImpl.fromJson; @override int get low; @@ -958,7 +961,7 @@ abstract class _ValueSubkeyRange implements ValueSubkeyRange { int get high; @override @JsonKey(ignore: true) - _$$_ValueSubkeyRangeCopyWith<_$_ValueSubkeyRange> get copyWith => + _$$ValueSubkeyRangeImplCopyWith<_$ValueSubkeyRangeImpl> get copyWith => throw _privateConstructorUsedError; } @@ -1025,10 +1028,11 @@ class _$ValueDataCopyWithImpl<$Res, $Val extends ValueData> } /// @nodoc -abstract class _$$_ValueDataCopyWith<$Res> implements $ValueDataCopyWith<$Res> { - factory _$$_ValueDataCopyWith( - _$_ValueData value, $Res Function(_$_ValueData) then) = - __$$_ValueDataCopyWithImpl<$Res>; +abstract class _$$ValueDataImplCopyWith<$Res> + implements $ValueDataCopyWith<$Res> { + factory _$$ValueDataImplCopyWith( + _$ValueDataImpl value, $Res Function(_$ValueDataImpl) then) = + __$$ValueDataImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -1038,11 +1042,11 @@ abstract class _$$_ValueDataCopyWith<$Res> implements $ValueDataCopyWith<$Res> { } /// @nodoc -class __$$_ValueDataCopyWithImpl<$Res> - extends _$ValueDataCopyWithImpl<$Res, _$_ValueData> - implements _$$_ValueDataCopyWith<$Res> { - __$$_ValueDataCopyWithImpl( - _$_ValueData _value, $Res Function(_$_ValueData) _then) +class __$$ValueDataImplCopyWithImpl<$Res> + extends _$ValueDataCopyWithImpl<$Res, _$ValueDataImpl> + implements _$$ValueDataImplCopyWith<$Res> { + __$$ValueDataImplCopyWithImpl( + _$ValueDataImpl _value, $Res Function(_$ValueDataImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1052,7 +1056,7 @@ class __$$_ValueDataCopyWithImpl<$Res> Object? data = null, Object? writer = null, }) { - return _then(_$_ValueData( + return _then(_$ValueDataImpl( seq: null == seq ? _value.seq : seq // ignore: cast_nullable_to_non_nullable @@ -1071,15 +1075,15 @@ class __$$_ValueDataCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_ValueData implements _ValueData { - const _$_ValueData( +class _$ValueDataImpl implements _ValueData { + const _$ValueDataImpl( {required this.seq, @Uint8ListJsonConverter.jsIsArray() required this.data, required this.writer}) : assert(seq >= 0, 'seq out of range'); - factory _$_ValueData.fromJson(Map json) => - _$$_ValueDataFromJson(json); + factory _$ValueDataImpl.fromJson(Map json) => + _$$ValueDataImplFromJson(json); @override final int seq; @@ -1098,7 +1102,7 @@ class _$_ValueData implements _ValueData { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_ValueData && + other is _$ValueDataImpl && (identical(other.seq, seq) || other.seq == seq) && const DeepCollectionEquality().equals(other.data, data) && (identical(other.writer, writer) || other.writer == writer)); @@ -1112,12 +1116,12 @@ class _$_ValueData implements _ValueData { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_ValueDataCopyWith<_$_ValueData> get copyWith => - __$$_ValueDataCopyWithImpl<_$_ValueData>(this, _$identity); + _$$ValueDataImplCopyWith<_$ValueDataImpl> get copyWith => + __$$ValueDataImplCopyWithImpl<_$ValueDataImpl>(this, _$identity); @override Map toJson() { - return _$$_ValueDataToJson( + return _$$ValueDataImplToJson( this, ); } @@ -1127,10 +1131,10 @@ abstract class _ValueData implements ValueData { const factory _ValueData( {required final int seq, @Uint8ListJsonConverter.jsIsArray() required final Uint8List data, - required final FixedEncodedString43 writer}) = _$_ValueData; + required final FixedEncodedString43 writer}) = _$ValueDataImpl; factory _ValueData.fromJson(Map json) = - _$_ValueData.fromJson; + _$ValueDataImpl.fromJson; @override int get seq; @@ -1141,7 +1145,7 @@ abstract class _ValueData implements ValueData { FixedEncodedString43 get writer; @override @JsonKey(ignore: true) - _$$_ValueDataCopyWith<_$_ValueData> get copyWith => + _$$ValueDataImplCopyWith<_$ValueDataImpl> get copyWith => throw _privateConstructorUsedError; } @@ -1215,11 +1219,11 @@ class _$SafetySpecCopyWithImpl<$Res, $Val extends SafetySpec> } /// @nodoc -abstract class _$$_SafetySpecCopyWith<$Res> +abstract class _$$SafetySpecImplCopyWith<$Res> implements $SafetySpecCopyWith<$Res> { - factory _$$_SafetySpecCopyWith( - _$_SafetySpec value, $Res Function(_$_SafetySpec) then) = - __$$_SafetySpecCopyWithImpl<$Res>; + factory _$$SafetySpecImplCopyWith( + _$SafetySpecImpl value, $Res Function(_$SafetySpecImpl) then) = + __$$SafetySpecImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -1230,11 +1234,11 @@ abstract class _$$_SafetySpecCopyWith<$Res> } /// @nodoc -class __$$_SafetySpecCopyWithImpl<$Res> - extends _$SafetySpecCopyWithImpl<$Res, _$_SafetySpec> - implements _$$_SafetySpecCopyWith<$Res> { - __$$_SafetySpecCopyWithImpl( - _$_SafetySpec _value, $Res Function(_$_SafetySpec) _then) +class __$$SafetySpecImplCopyWithImpl<$Res> + extends _$SafetySpecCopyWithImpl<$Res, _$SafetySpecImpl> + implements _$$SafetySpecImplCopyWith<$Res> { + __$$SafetySpecImplCopyWithImpl( + _$SafetySpecImpl _value, $Res Function(_$SafetySpecImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1245,7 +1249,7 @@ class __$$_SafetySpecCopyWithImpl<$Res> Object? sequencing = null, Object? preferredRoute = freezed, }) { - return _then(_$_SafetySpec( + return _then(_$SafetySpecImpl( hopCount: null == hopCount ? _value.hopCount : hopCount // ignore: cast_nullable_to_non_nullable @@ -1268,15 +1272,15 @@ class __$$_SafetySpecCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_SafetySpec implements _SafetySpec { - const _$_SafetySpec( +class _$SafetySpecImpl implements _SafetySpec { + const _$SafetySpecImpl( {required this.hopCount, required this.stability, required this.sequencing, this.preferredRoute}); - factory _$_SafetySpec.fromJson(Map json) => - _$$_SafetySpecFromJson(json); + factory _$SafetySpecImpl.fromJson(Map json) => + _$$SafetySpecImplFromJson(json); @override final int hopCount; @@ -1296,7 +1300,7 @@ class _$_SafetySpec implements _SafetySpec { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_SafetySpec && + other is _$SafetySpecImpl && (identical(other.hopCount, hopCount) || other.hopCount == hopCount) && (identical(other.stability, stability) || @@ -1315,12 +1319,12 @@ class _$_SafetySpec implements _SafetySpec { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_SafetySpecCopyWith<_$_SafetySpec> get copyWith => - __$$_SafetySpecCopyWithImpl<_$_SafetySpec>(this, _$identity); + _$$SafetySpecImplCopyWith<_$SafetySpecImpl> get copyWith => + __$$SafetySpecImplCopyWithImpl<_$SafetySpecImpl>(this, _$identity); @override Map toJson() { - return _$$_SafetySpecToJson( + return _$$SafetySpecImplToJson( this, ); } @@ -1331,10 +1335,10 @@ abstract class _SafetySpec implements SafetySpec { {required final int hopCount, required final Stability stability, required final Sequencing sequencing, - final String? preferredRoute}) = _$_SafetySpec; + final String? preferredRoute}) = _$SafetySpecImpl; factory _SafetySpec.fromJson(Map json) = - _$_SafetySpec.fromJson; + _$SafetySpecImpl.fromJson; @override int get hopCount; @@ -1346,7 +1350,7 @@ abstract class _SafetySpec implements SafetySpec { String? get preferredRoute; @override @JsonKey(ignore: true) - _$$_SafetySpecCopyWith<_$_SafetySpec> get copyWith => + _$$SafetySpecImplCopyWith<_$SafetySpecImpl> get copyWith => throw _privateConstructorUsedError; } @@ -1404,21 +1408,22 @@ class _$RouteBlobCopyWithImpl<$Res, $Val extends RouteBlob> } /// @nodoc -abstract class _$$_RouteBlobCopyWith<$Res> implements $RouteBlobCopyWith<$Res> { - factory _$$_RouteBlobCopyWith( - _$_RouteBlob value, $Res Function(_$_RouteBlob) then) = - __$$_RouteBlobCopyWithImpl<$Res>; +abstract class _$$RouteBlobImplCopyWith<$Res> + implements $RouteBlobCopyWith<$Res> { + factory _$$RouteBlobImplCopyWith( + _$RouteBlobImpl value, $Res Function(_$RouteBlobImpl) then) = + __$$RouteBlobImplCopyWithImpl<$Res>; @override @useResult $Res call({String routeId, @Uint8ListJsonConverter() Uint8List blob}); } /// @nodoc -class __$$_RouteBlobCopyWithImpl<$Res> - extends _$RouteBlobCopyWithImpl<$Res, _$_RouteBlob> - implements _$$_RouteBlobCopyWith<$Res> { - __$$_RouteBlobCopyWithImpl( - _$_RouteBlob _value, $Res Function(_$_RouteBlob) _then) +class __$$RouteBlobImplCopyWithImpl<$Res> + extends _$RouteBlobCopyWithImpl<$Res, _$RouteBlobImpl> + implements _$$RouteBlobImplCopyWith<$Res> { + __$$RouteBlobImplCopyWithImpl( + _$RouteBlobImpl _value, $Res Function(_$RouteBlobImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1427,7 +1432,7 @@ class __$$_RouteBlobCopyWithImpl<$Res> Object? routeId = null, Object? blob = null, }) { - return _then(_$_RouteBlob( + return _then(_$RouteBlobImpl( routeId: null == routeId ? _value.routeId : routeId // ignore: cast_nullable_to_non_nullable @@ -1442,12 +1447,12 @@ class __$$_RouteBlobCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_RouteBlob implements _RouteBlob { - const _$_RouteBlob( +class _$RouteBlobImpl implements _RouteBlob { + const _$RouteBlobImpl( {required this.routeId, @Uint8ListJsonConverter() required this.blob}); - factory _$_RouteBlob.fromJson(Map json) => - _$$_RouteBlobFromJson(json); + factory _$RouteBlobImpl.fromJson(Map json) => + _$$RouteBlobImplFromJson(json); @override final String routeId; @@ -1464,7 +1469,7 @@ class _$_RouteBlob implements _RouteBlob { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RouteBlob && + other is _$RouteBlobImpl && (identical(other.routeId, routeId) || other.routeId == routeId) && const DeepCollectionEquality().equals(other.blob, blob)); } @@ -1477,12 +1482,12 @@ class _$_RouteBlob implements _RouteBlob { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RouteBlobCopyWith<_$_RouteBlob> get copyWith => - __$$_RouteBlobCopyWithImpl<_$_RouteBlob>(this, _$identity); + _$$RouteBlobImplCopyWith<_$RouteBlobImpl> get copyWith => + __$$RouteBlobImplCopyWithImpl<_$RouteBlobImpl>(this, _$identity); @override Map toJson() { - return _$$_RouteBlobToJson( + return _$$RouteBlobImplToJson( this, ); } @@ -1490,11 +1495,12 @@ class _$_RouteBlob implements _RouteBlob { abstract class _RouteBlob implements RouteBlob { const factory _RouteBlob( - {required final String routeId, - @Uint8ListJsonConverter() required final Uint8List blob}) = _$_RouteBlob; + {required final String routeId, + @Uint8ListJsonConverter() required final Uint8List blob}) = + _$RouteBlobImpl; factory _RouteBlob.fromJson(Map json) = - _$_RouteBlob.fromJson; + _$RouteBlobImpl.fromJson; @override String get routeId; @@ -1503,6 +1509,6 @@ abstract class _RouteBlob implements RouteBlob { Uint8List get blob; @override @JsonKey(ignore: true) - _$$_RouteBlobCopyWith<_$_RouteBlob> get copyWith => + _$$RouteBlobImplCopyWith<_$RouteBlobImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/veilid-flutter/lib/routing_context.g.dart b/veilid-flutter/lib/routing_context.g.dart index d76ff703..79ff0310 100644 --- a/veilid-flutter/lib/routing_context.g.dart +++ b/veilid-flutter/lib/routing_context.g.dart @@ -6,20 +6,20 @@ part of 'routing_context.dart'; // JsonSerializableGenerator // ************************************************************************** -_$DHTSchemaDFLT _$$DHTSchemaDFLTFromJson(Map json) => - _$DHTSchemaDFLT( +_$DHTSchemaDFLTImpl _$$DHTSchemaDFLTImplFromJson(Map json) => + _$DHTSchemaDFLTImpl( oCnt: json['o_cnt'] as int, $type: json['kind'] as String?, ); -Map _$$DHTSchemaDFLTToJson(_$DHTSchemaDFLT instance) => +Map _$$DHTSchemaDFLTImplToJson(_$DHTSchemaDFLTImpl instance) => { 'o_cnt': instance.oCnt, 'kind': instance.$type, }; -_$DHTSchemaSMPL _$$DHTSchemaSMPLFromJson(Map json) => - _$DHTSchemaSMPL( +_$DHTSchemaSMPLImpl _$$DHTSchemaSMPLImplFromJson(Map json) => + _$DHTSchemaSMPLImpl( oCnt: json['o_cnt'] as int, members: (json['members'] as List) .map(DHTSchemaMember.fromJson) @@ -27,28 +27,30 @@ _$DHTSchemaSMPL _$$DHTSchemaSMPLFromJson(Map json) => $type: json['kind'] as String?, ); -Map _$$DHTSchemaSMPLToJson(_$DHTSchemaSMPL instance) => +Map _$$DHTSchemaSMPLImplToJson(_$DHTSchemaSMPLImpl instance) => { 'o_cnt': instance.oCnt, 'members': instance.members.map((e) => e.toJson()).toList(), 'kind': instance.$type, }; -_$_DHTSchemaMember _$$_DHTSchemaMemberFromJson(Map json) => - _$_DHTSchemaMember( +_$DHTSchemaMemberImpl _$$DHTSchemaMemberImplFromJson( + Map json) => + _$DHTSchemaMemberImpl( mKey: FixedEncodedString43.fromJson(json['m_key']), mCnt: json['m_cnt'] as int, ); -Map _$$_DHTSchemaMemberToJson(_$_DHTSchemaMember instance) => +Map _$$DHTSchemaMemberImplToJson( + _$DHTSchemaMemberImpl instance) => { 'm_key': instance.mKey.toJson(), 'm_cnt': instance.mCnt, }; -_$_DHTRecordDescriptor _$$_DHTRecordDescriptorFromJson( +_$DHTRecordDescriptorImpl _$$DHTRecordDescriptorImplFromJson( Map json) => - _$_DHTRecordDescriptor( + _$DHTRecordDescriptorImpl( key: Typed.fromJson(json['key']), owner: FixedEncodedString43.fromJson(json['owner']), schema: DHTSchema.fromJson(json['schema']), @@ -57,8 +59,8 @@ _$_DHTRecordDescriptor _$$_DHTRecordDescriptorFromJson( : FixedEncodedString43.fromJson(json['owner_secret']), ); -Map _$$_DHTRecordDescriptorToJson( - _$_DHTRecordDescriptor instance) => +Map _$$DHTRecordDescriptorImplToJson( + _$DHTRecordDescriptorImpl instance) => { 'key': instance.key.toJson(), 'owner': instance.owner.toJson(), @@ -66,40 +68,43 @@ Map _$$_DHTRecordDescriptorToJson( 'owner_secret': instance.ownerSecret?.toJson(), }; -_$_ValueSubkeyRange _$$_ValueSubkeyRangeFromJson(Map json) => - _$_ValueSubkeyRange( +_$ValueSubkeyRangeImpl _$$ValueSubkeyRangeImplFromJson( + Map json) => + _$ValueSubkeyRangeImpl( low: json['low'] as int, high: json['high'] as int, ); -Map _$$_ValueSubkeyRangeToJson(_$_ValueSubkeyRange instance) => +Map _$$ValueSubkeyRangeImplToJson( + _$ValueSubkeyRangeImpl instance) => { 'low': instance.low, 'high': instance.high, }; -_$_ValueData _$$_ValueDataFromJson(Map json) => _$_ValueData( +_$ValueDataImpl _$$ValueDataImplFromJson(Map json) => + _$ValueDataImpl( seq: json['seq'] as int, data: const Uint8ListJsonConverter.jsIsArray().fromJson(json['data']), writer: FixedEncodedString43.fromJson(json['writer']), ); -Map _$$_ValueDataToJson(_$_ValueData instance) => +Map _$$ValueDataImplToJson(_$ValueDataImpl instance) => { 'seq': instance.seq, 'data': const Uint8ListJsonConverter.jsIsArray().toJson(instance.data), 'writer': instance.writer.toJson(), }; -_$_SafetySpec _$$_SafetySpecFromJson(Map json) => - _$_SafetySpec( +_$SafetySpecImpl _$$SafetySpecImplFromJson(Map json) => + _$SafetySpecImpl( hopCount: json['hop_count'] as int, stability: Stability.fromJson(json['stability']), sequencing: Sequencing.fromJson(json['sequencing']), preferredRoute: json['preferred_route'] as String?, ); -Map _$$_SafetySpecToJson(_$_SafetySpec instance) => +Map _$$SafetySpecImplToJson(_$SafetySpecImpl instance) => { 'hop_count': instance.hopCount, 'stability': instance.stability.toJson(), @@ -107,12 +112,13 @@ Map _$$_SafetySpecToJson(_$_SafetySpec instance) => 'preferred_route': instance.preferredRoute, }; -_$_RouteBlob _$$_RouteBlobFromJson(Map json) => _$_RouteBlob( +_$RouteBlobImpl _$$RouteBlobImplFromJson(Map json) => + _$RouteBlobImpl( routeId: json['route_id'] as String, blob: const Uint8ListJsonConverter().fromJson(json['blob']), ); -Map _$$_RouteBlobToJson(_$_RouteBlob instance) => +Map _$$RouteBlobImplToJson(_$RouteBlobImpl instance) => { 'route_id': instance.routeId, 'blob': const Uint8ListJsonConverter().toJson(instance.blob), diff --git a/veilid-flutter/lib/veilid_config.dart b/veilid-flutter/lib/veilid_config.dart index 09de9ac6..d5b2469f 100644 --- a/veilid-flutter/lib/veilid_config.dart +++ b/veilid-flutter/lib/veilid_config.dart @@ -335,7 +335,7 @@ class VeilidConfigNetwork with _$VeilidConfigNetwork { required int maxConnectionsPerIp6Prefix, required int maxConnectionsPerIp6PrefixSize, required int maxConnectionFrequencyPerMin, - required int clientWhitelistTimeoutMs, + required int clientAllowlistTimeoutMs, required int reverseConnectionReceiptTimeMs, required int holePunchReceiptTimeMs, required VeilidConfigRoutingTable routingTable, diff --git a/veilid-flutter/lib/veilid_config.freezed.dart b/veilid-flutter/lib/veilid_config.freezed.dart index 779981c9..592da1c4 100644 --- a/veilid-flutter/lib/veilid_config.freezed.dart +++ b/veilid-flutter/lib/veilid_config.freezed.dart @@ -72,25 +72,25 @@ class _$VeilidFFIConfigLoggingTerminalCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidFFIConfigLoggingTerminalCopyWith<$Res> +abstract class _$$VeilidFFIConfigLoggingTerminalImplCopyWith<$Res> implements $VeilidFFIConfigLoggingTerminalCopyWith<$Res> { - factory _$$_VeilidFFIConfigLoggingTerminalCopyWith( - _$_VeilidFFIConfigLoggingTerminal value, - $Res Function(_$_VeilidFFIConfigLoggingTerminal) then) = - __$$_VeilidFFIConfigLoggingTerminalCopyWithImpl<$Res>; + factory _$$VeilidFFIConfigLoggingTerminalImplCopyWith( + _$VeilidFFIConfigLoggingTerminalImpl value, + $Res Function(_$VeilidFFIConfigLoggingTerminalImpl) then) = + __$$VeilidFFIConfigLoggingTerminalImplCopyWithImpl<$Res>; @override @useResult $Res call({bool enabled, VeilidConfigLogLevel level}); } /// @nodoc -class __$$_VeilidFFIConfigLoggingTerminalCopyWithImpl<$Res> +class __$$VeilidFFIConfigLoggingTerminalImplCopyWithImpl<$Res> extends _$VeilidFFIConfigLoggingTerminalCopyWithImpl<$Res, - _$_VeilidFFIConfigLoggingTerminal> - implements _$$_VeilidFFIConfigLoggingTerminalCopyWith<$Res> { - __$$_VeilidFFIConfigLoggingTerminalCopyWithImpl( - _$_VeilidFFIConfigLoggingTerminal _value, - $Res Function(_$_VeilidFFIConfigLoggingTerminal) _then) + _$VeilidFFIConfigLoggingTerminalImpl> + implements _$$VeilidFFIConfigLoggingTerminalImplCopyWith<$Res> { + __$$VeilidFFIConfigLoggingTerminalImplCopyWithImpl( + _$VeilidFFIConfigLoggingTerminalImpl _value, + $Res Function(_$VeilidFFIConfigLoggingTerminalImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -99,7 +99,7 @@ class __$$_VeilidFFIConfigLoggingTerminalCopyWithImpl<$Res> Object? enabled = null, Object? level = null, }) { - return _then(_$_VeilidFFIConfigLoggingTerminal( + return _then(_$VeilidFFIConfigLoggingTerminalImpl( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -114,15 +114,15 @@ class __$$_VeilidFFIConfigLoggingTerminalCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidFFIConfigLoggingTerminal +class _$VeilidFFIConfigLoggingTerminalImpl with DiagnosticableTreeMixin implements _VeilidFFIConfigLoggingTerminal { - const _$_VeilidFFIConfigLoggingTerminal( + const _$VeilidFFIConfigLoggingTerminalImpl( {required this.enabled, required this.level}); - factory _$_VeilidFFIConfigLoggingTerminal.fromJson( + factory _$VeilidFFIConfigLoggingTerminalImpl.fromJson( Map json) => - _$$_VeilidFFIConfigLoggingTerminalFromJson(json); + _$$VeilidFFIConfigLoggingTerminalImplFromJson(json); @override final bool enabled; @@ -147,7 +147,7 @@ class _$_VeilidFFIConfigLoggingTerminal bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidFFIConfigLoggingTerminal && + other is _$VeilidFFIConfigLoggingTerminalImpl && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.level, level) || other.level == level)); } @@ -159,13 +159,14 @@ class _$_VeilidFFIConfigLoggingTerminal @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidFFIConfigLoggingTerminalCopyWith<_$_VeilidFFIConfigLoggingTerminal> - get copyWith => __$$_VeilidFFIConfigLoggingTerminalCopyWithImpl< - _$_VeilidFFIConfigLoggingTerminal>(this, _$identity); + _$$VeilidFFIConfigLoggingTerminalImplCopyWith< + _$VeilidFFIConfigLoggingTerminalImpl> + get copyWith => __$$VeilidFFIConfigLoggingTerminalImplCopyWithImpl< + _$VeilidFFIConfigLoggingTerminalImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidFFIConfigLoggingTerminalToJson( + return _$$VeilidFFIConfigLoggingTerminalImplToJson( this, ); } @@ -176,10 +177,10 @@ abstract class _VeilidFFIConfigLoggingTerminal const factory _VeilidFFIConfigLoggingTerminal( {required final bool enabled, required final VeilidConfigLogLevel level}) = - _$_VeilidFFIConfigLoggingTerminal; + _$VeilidFFIConfigLoggingTerminalImpl; factory _VeilidFFIConfigLoggingTerminal.fromJson(Map json) = - _$_VeilidFFIConfigLoggingTerminal.fromJson; + _$VeilidFFIConfigLoggingTerminalImpl.fromJson; @override bool get enabled; @@ -187,7 +188,8 @@ abstract class _VeilidFFIConfigLoggingTerminal VeilidConfigLogLevel get level; @override @JsonKey(ignore: true) - _$$_VeilidFFIConfigLoggingTerminalCopyWith<_$_VeilidFFIConfigLoggingTerminal> + _$$VeilidFFIConfigLoggingTerminalImplCopyWith< + _$VeilidFFIConfigLoggingTerminalImpl> get copyWith => throw _privateConstructorUsedError; } @@ -264,12 +266,12 @@ class _$VeilidFFIConfigLoggingOtlpCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidFFIConfigLoggingOtlpCopyWith<$Res> +abstract class _$$VeilidFFIConfigLoggingOtlpImplCopyWith<$Res> implements $VeilidFFIConfigLoggingOtlpCopyWith<$Res> { - factory _$$_VeilidFFIConfigLoggingOtlpCopyWith( - _$_VeilidFFIConfigLoggingOtlp value, - $Res Function(_$_VeilidFFIConfigLoggingOtlp) then) = - __$$_VeilidFFIConfigLoggingOtlpCopyWithImpl<$Res>; + factory _$$VeilidFFIConfigLoggingOtlpImplCopyWith( + _$VeilidFFIConfigLoggingOtlpImpl value, + $Res Function(_$VeilidFFIConfigLoggingOtlpImpl) then) = + __$$VeilidFFIConfigLoggingOtlpImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -280,13 +282,13 @@ abstract class _$$_VeilidFFIConfigLoggingOtlpCopyWith<$Res> } /// @nodoc -class __$$_VeilidFFIConfigLoggingOtlpCopyWithImpl<$Res> +class __$$VeilidFFIConfigLoggingOtlpImplCopyWithImpl<$Res> extends _$VeilidFFIConfigLoggingOtlpCopyWithImpl<$Res, - _$_VeilidFFIConfigLoggingOtlp> - implements _$$_VeilidFFIConfigLoggingOtlpCopyWith<$Res> { - __$$_VeilidFFIConfigLoggingOtlpCopyWithImpl( - _$_VeilidFFIConfigLoggingOtlp _value, - $Res Function(_$_VeilidFFIConfigLoggingOtlp) _then) + _$VeilidFFIConfigLoggingOtlpImpl> + implements _$$VeilidFFIConfigLoggingOtlpImplCopyWith<$Res> { + __$$VeilidFFIConfigLoggingOtlpImplCopyWithImpl( + _$VeilidFFIConfigLoggingOtlpImpl _value, + $Res Function(_$VeilidFFIConfigLoggingOtlpImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -297,7 +299,7 @@ class __$$_VeilidFFIConfigLoggingOtlpCopyWithImpl<$Res> Object? grpcEndpoint = null, Object? serviceName = null, }) { - return _then(_$_VeilidFFIConfigLoggingOtlp( + return _then(_$VeilidFFIConfigLoggingOtlpImpl( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -320,17 +322,18 @@ class __$$_VeilidFFIConfigLoggingOtlpCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidFFIConfigLoggingOtlp +class _$VeilidFFIConfigLoggingOtlpImpl with DiagnosticableTreeMixin implements _VeilidFFIConfigLoggingOtlp { - const _$_VeilidFFIConfigLoggingOtlp( + const _$VeilidFFIConfigLoggingOtlpImpl( {required this.enabled, required this.level, required this.grpcEndpoint, required this.serviceName}); - factory _$_VeilidFFIConfigLoggingOtlp.fromJson(Map json) => - _$$_VeilidFFIConfigLoggingOtlpFromJson(json); + factory _$VeilidFFIConfigLoggingOtlpImpl.fromJson( + Map json) => + _$$VeilidFFIConfigLoggingOtlpImplFromJson(json); @override final bool enabled; @@ -361,7 +364,7 @@ class _$_VeilidFFIConfigLoggingOtlp bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidFFIConfigLoggingOtlp && + other is _$VeilidFFIConfigLoggingOtlpImpl && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.level, level) || other.level == level) && (identical(other.grpcEndpoint, grpcEndpoint) || @@ -378,13 +381,13 @@ class _$_VeilidFFIConfigLoggingOtlp @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidFFIConfigLoggingOtlpCopyWith<_$_VeilidFFIConfigLoggingOtlp> - get copyWith => __$$_VeilidFFIConfigLoggingOtlpCopyWithImpl< - _$_VeilidFFIConfigLoggingOtlp>(this, _$identity); + _$$VeilidFFIConfigLoggingOtlpImplCopyWith<_$VeilidFFIConfigLoggingOtlpImpl> + get copyWith => __$$VeilidFFIConfigLoggingOtlpImplCopyWithImpl< + _$VeilidFFIConfigLoggingOtlpImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidFFIConfigLoggingOtlpToJson( + return _$$VeilidFFIConfigLoggingOtlpImplToJson( this, ); } @@ -396,10 +399,10 @@ abstract class _VeilidFFIConfigLoggingOtlp {required final bool enabled, required final VeilidConfigLogLevel level, required final String grpcEndpoint, - required final String serviceName}) = _$_VeilidFFIConfigLoggingOtlp; + required final String serviceName}) = _$VeilidFFIConfigLoggingOtlpImpl; factory _VeilidFFIConfigLoggingOtlp.fromJson(Map json) = - _$_VeilidFFIConfigLoggingOtlp.fromJson; + _$VeilidFFIConfigLoggingOtlpImpl.fromJson; @override bool get enabled; @@ -411,7 +414,7 @@ abstract class _VeilidFFIConfigLoggingOtlp String get serviceName; @override @JsonKey(ignore: true) - _$$_VeilidFFIConfigLoggingOtlpCopyWith<_$_VeilidFFIConfigLoggingOtlp> + _$$VeilidFFIConfigLoggingOtlpImplCopyWith<_$VeilidFFIConfigLoggingOtlpImpl> get copyWith => throw _privateConstructorUsedError; } @@ -471,25 +474,25 @@ class _$VeilidFFIConfigLoggingApiCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidFFIConfigLoggingApiCopyWith<$Res> +abstract class _$$VeilidFFIConfigLoggingApiImplCopyWith<$Res> implements $VeilidFFIConfigLoggingApiCopyWith<$Res> { - factory _$$_VeilidFFIConfigLoggingApiCopyWith( - _$_VeilidFFIConfigLoggingApi value, - $Res Function(_$_VeilidFFIConfigLoggingApi) then) = - __$$_VeilidFFIConfigLoggingApiCopyWithImpl<$Res>; + factory _$$VeilidFFIConfigLoggingApiImplCopyWith( + _$VeilidFFIConfigLoggingApiImpl value, + $Res Function(_$VeilidFFIConfigLoggingApiImpl) then) = + __$$VeilidFFIConfigLoggingApiImplCopyWithImpl<$Res>; @override @useResult $Res call({bool enabled, VeilidConfigLogLevel level}); } /// @nodoc -class __$$_VeilidFFIConfigLoggingApiCopyWithImpl<$Res> +class __$$VeilidFFIConfigLoggingApiImplCopyWithImpl<$Res> extends _$VeilidFFIConfigLoggingApiCopyWithImpl<$Res, - _$_VeilidFFIConfigLoggingApi> - implements _$$_VeilidFFIConfigLoggingApiCopyWith<$Res> { - __$$_VeilidFFIConfigLoggingApiCopyWithImpl( - _$_VeilidFFIConfigLoggingApi _value, - $Res Function(_$_VeilidFFIConfigLoggingApi) _then) + _$VeilidFFIConfigLoggingApiImpl> + implements _$$VeilidFFIConfigLoggingApiImplCopyWith<$Res> { + __$$VeilidFFIConfigLoggingApiImplCopyWithImpl( + _$VeilidFFIConfigLoggingApiImpl _value, + $Res Function(_$VeilidFFIConfigLoggingApiImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -498,7 +501,7 @@ class __$$_VeilidFFIConfigLoggingApiCopyWithImpl<$Res> Object? enabled = null, Object? level = null, }) { - return _then(_$_VeilidFFIConfigLoggingApi( + return _then(_$VeilidFFIConfigLoggingApiImpl( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -513,14 +516,14 @@ class __$$_VeilidFFIConfigLoggingApiCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidFFIConfigLoggingApi +class _$VeilidFFIConfigLoggingApiImpl with DiagnosticableTreeMixin implements _VeilidFFIConfigLoggingApi { - const _$_VeilidFFIConfigLoggingApi( + const _$VeilidFFIConfigLoggingApiImpl( {required this.enabled, required this.level}); - factory _$_VeilidFFIConfigLoggingApi.fromJson(Map json) => - _$$_VeilidFFIConfigLoggingApiFromJson(json); + factory _$VeilidFFIConfigLoggingApiImpl.fromJson(Map json) => + _$$VeilidFFIConfigLoggingApiImplFromJson(json); @override final bool enabled; @@ -545,7 +548,7 @@ class _$_VeilidFFIConfigLoggingApi bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidFFIConfigLoggingApi && + other is _$VeilidFFIConfigLoggingApiImpl && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.level, level) || other.level == level)); } @@ -557,13 +560,13 @@ class _$_VeilidFFIConfigLoggingApi @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidFFIConfigLoggingApiCopyWith<_$_VeilidFFIConfigLoggingApi> - get copyWith => __$$_VeilidFFIConfigLoggingApiCopyWithImpl< - _$_VeilidFFIConfigLoggingApi>(this, _$identity); + _$$VeilidFFIConfigLoggingApiImplCopyWith<_$VeilidFFIConfigLoggingApiImpl> + get copyWith => __$$VeilidFFIConfigLoggingApiImplCopyWithImpl< + _$VeilidFFIConfigLoggingApiImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidFFIConfigLoggingApiToJson( + return _$$VeilidFFIConfigLoggingApiImplToJson( this, ); } @@ -573,10 +576,10 @@ abstract class _VeilidFFIConfigLoggingApi implements VeilidFFIConfigLoggingApi { const factory _VeilidFFIConfigLoggingApi( {required final bool enabled, required final VeilidConfigLogLevel level}) = - _$_VeilidFFIConfigLoggingApi; + _$VeilidFFIConfigLoggingApiImpl; factory _VeilidFFIConfigLoggingApi.fromJson(Map json) = - _$_VeilidFFIConfigLoggingApi.fromJson; + _$VeilidFFIConfigLoggingApiImpl.fromJson; @override bool get enabled; @@ -584,7 +587,7 @@ abstract class _VeilidFFIConfigLoggingApi implements VeilidFFIConfigLoggingApi { VeilidConfigLogLevel get level; @override @JsonKey(ignore: true) - _$$_VeilidFFIConfigLoggingApiCopyWith<_$_VeilidFFIConfigLoggingApi> + _$$VeilidFFIConfigLoggingApiImplCopyWith<_$VeilidFFIConfigLoggingApiImpl> get copyWith => throw _privateConstructorUsedError; } @@ -683,11 +686,12 @@ class _$VeilidFFIConfigLoggingCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidFFIConfigLoggingCopyWith<$Res> +abstract class _$$VeilidFFIConfigLoggingImplCopyWith<$Res> implements $VeilidFFIConfigLoggingCopyWith<$Res> { - factory _$$_VeilidFFIConfigLoggingCopyWith(_$_VeilidFFIConfigLogging value, - $Res Function(_$_VeilidFFIConfigLogging) then) = - __$$_VeilidFFIConfigLoggingCopyWithImpl<$Res>; + factory _$$VeilidFFIConfigLoggingImplCopyWith( + _$VeilidFFIConfigLoggingImpl value, + $Res Function(_$VeilidFFIConfigLoggingImpl) then) = + __$$VeilidFFIConfigLoggingImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -704,12 +708,13 @@ abstract class _$$_VeilidFFIConfigLoggingCopyWith<$Res> } /// @nodoc -class __$$_VeilidFFIConfigLoggingCopyWithImpl<$Res> +class __$$VeilidFFIConfigLoggingImplCopyWithImpl<$Res> extends _$VeilidFFIConfigLoggingCopyWithImpl<$Res, - _$_VeilidFFIConfigLogging> - implements _$$_VeilidFFIConfigLoggingCopyWith<$Res> { - __$$_VeilidFFIConfigLoggingCopyWithImpl(_$_VeilidFFIConfigLogging _value, - $Res Function(_$_VeilidFFIConfigLogging) _then) + _$VeilidFFIConfigLoggingImpl> + implements _$$VeilidFFIConfigLoggingImplCopyWith<$Res> { + __$$VeilidFFIConfigLoggingImplCopyWithImpl( + _$VeilidFFIConfigLoggingImpl _value, + $Res Function(_$VeilidFFIConfigLoggingImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -719,7 +724,7 @@ class __$$_VeilidFFIConfigLoggingCopyWithImpl<$Res> Object? otlp = null, Object? api = null, }) { - return _then(_$_VeilidFFIConfigLogging( + return _then(_$VeilidFFIConfigLoggingImpl( terminal: null == terminal ? _value.terminal : terminal // ignore: cast_nullable_to_non_nullable @@ -738,14 +743,14 @@ class __$$_VeilidFFIConfigLoggingCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidFFIConfigLogging +class _$VeilidFFIConfigLoggingImpl with DiagnosticableTreeMixin implements _VeilidFFIConfigLogging { - const _$_VeilidFFIConfigLogging( + const _$VeilidFFIConfigLoggingImpl( {required this.terminal, required this.otlp, required this.api}); - factory _$_VeilidFFIConfigLogging.fromJson(Map json) => - _$$_VeilidFFIConfigLoggingFromJson(json); + factory _$VeilidFFIConfigLoggingImpl.fromJson(Map json) => + _$$VeilidFFIConfigLoggingImplFromJson(json); @override final VeilidFFIConfigLoggingTerminal terminal; @@ -773,7 +778,7 @@ class _$_VeilidFFIConfigLogging bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidFFIConfigLogging && + other is _$VeilidFFIConfigLoggingImpl && (identical(other.terminal, terminal) || other.terminal == terminal) && (identical(other.otlp, otlp) || other.otlp == otlp) && @@ -787,13 +792,13 @@ class _$_VeilidFFIConfigLogging @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidFFIConfigLoggingCopyWith<_$_VeilidFFIConfigLogging> get copyWith => - __$$_VeilidFFIConfigLoggingCopyWithImpl<_$_VeilidFFIConfigLogging>( - this, _$identity); + _$$VeilidFFIConfigLoggingImplCopyWith<_$VeilidFFIConfigLoggingImpl> + get copyWith => __$$VeilidFFIConfigLoggingImplCopyWithImpl< + _$VeilidFFIConfigLoggingImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidFFIConfigLoggingToJson( + return _$$VeilidFFIConfigLoggingImplToJson( this, ); } @@ -804,10 +809,10 @@ abstract class _VeilidFFIConfigLogging implements VeilidFFIConfigLogging { {required final VeilidFFIConfigLoggingTerminal terminal, required final VeilidFFIConfigLoggingOtlp otlp, required final VeilidFFIConfigLoggingApi api}) = - _$_VeilidFFIConfigLogging; + _$VeilidFFIConfigLoggingImpl; factory _VeilidFFIConfigLogging.fromJson(Map json) = - _$_VeilidFFIConfigLogging.fromJson; + _$VeilidFFIConfigLoggingImpl.fromJson; @override VeilidFFIConfigLoggingTerminal get terminal; @@ -817,8 +822,8 @@ abstract class _VeilidFFIConfigLogging implements VeilidFFIConfigLogging { VeilidFFIConfigLoggingApi get api; @override @JsonKey(ignore: true) - _$$_VeilidFFIConfigLoggingCopyWith<_$_VeilidFFIConfigLogging> get copyWith => - throw _privateConstructorUsedError; + _$$VeilidFFIConfigLoggingImplCopyWith<_$VeilidFFIConfigLoggingImpl> + get copyWith => throw _privateConstructorUsedError; } VeilidFFIConfig _$VeilidFFIConfigFromJson(Map json) { @@ -879,11 +884,11 @@ class _$VeilidFFIConfigCopyWithImpl<$Res, $Val extends VeilidFFIConfig> } /// @nodoc -abstract class _$$_VeilidFFIConfigCopyWith<$Res> +abstract class _$$VeilidFFIConfigImplCopyWith<$Res> implements $VeilidFFIConfigCopyWith<$Res> { - factory _$$_VeilidFFIConfigCopyWith( - _$_VeilidFFIConfig value, $Res Function(_$_VeilidFFIConfig) then) = - __$$_VeilidFFIConfigCopyWithImpl<$Res>; + factory _$$VeilidFFIConfigImplCopyWith(_$VeilidFFIConfigImpl value, + $Res Function(_$VeilidFFIConfigImpl) then) = + __$$VeilidFFIConfigImplCopyWithImpl<$Res>; @override @useResult $Res call({VeilidFFIConfigLogging logging}); @@ -893,11 +898,11 @@ abstract class _$$_VeilidFFIConfigCopyWith<$Res> } /// @nodoc -class __$$_VeilidFFIConfigCopyWithImpl<$Res> - extends _$VeilidFFIConfigCopyWithImpl<$Res, _$_VeilidFFIConfig> - implements _$$_VeilidFFIConfigCopyWith<$Res> { - __$$_VeilidFFIConfigCopyWithImpl( - _$_VeilidFFIConfig _value, $Res Function(_$_VeilidFFIConfig) _then) +class __$$VeilidFFIConfigImplCopyWithImpl<$Res> + extends _$VeilidFFIConfigCopyWithImpl<$Res, _$VeilidFFIConfigImpl> + implements _$$VeilidFFIConfigImplCopyWith<$Res> { + __$$VeilidFFIConfigImplCopyWithImpl( + _$VeilidFFIConfigImpl _value, $Res Function(_$VeilidFFIConfigImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -905,7 +910,7 @@ class __$$_VeilidFFIConfigCopyWithImpl<$Res> $Res call({ Object? logging = null, }) { - return _then(_$_VeilidFFIConfig( + return _then(_$VeilidFFIConfigImpl( logging: null == logging ? _value.logging : logging // ignore: cast_nullable_to_non_nullable @@ -916,13 +921,13 @@ class __$$_VeilidFFIConfigCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidFFIConfig +class _$VeilidFFIConfigImpl with DiagnosticableTreeMixin implements _VeilidFFIConfig { - const _$_VeilidFFIConfig({required this.logging}); + const _$VeilidFFIConfigImpl({required this.logging}); - factory _$_VeilidFFIConfig.fromJson(Map json) => - _$$_VeilidFFIConfigFromJson(json); + factory _$VeilidFFIConfigImpl.fromJson(Map json) => + _$$VeilidFFIConfigImplFromJson(json); @override final VeilidFFIConfigLogging logging; @@ -944,7 +949,7 @@ class _$_VeilidFFIConfig bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidFFIConfig && + other is _$VeilidFFIConfigImpl && (identical(other.logging, logging) || other.logging == logging)); } @@ -955,12 +960,13 @@ class _$_VeilidFFIConfig @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidFFIConfigCopyWith<_$_VeilidFFIConfig> get copyWith => - __$$_VeilidFFIConfigCopyWithImpl<_$_VeilidFFIConfig>(this, _$identity); + _$$VeilidFFIConfigImplCopyWith<_$VeilidFFIConfigImpl> get copyWith => + __$$VeilidFFIConfigImplCopyWithImpl<_$VeilidFFIConfigImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidFFIConfigToJson( + return _$$VeilidFFIConfigImplToJson( this, ); } @@ -968,16 +974,16 @@ class _$_VeilidFFIConfig abstract class _VeilidFFIConfig implements VeilidFFIConfig { const factory _VeilidFFIConfig( - {required final VeilidFFIConfigLogging logging}) = _$_VeilidFFIConfig; + {required final VeilidFFIConfigLogging logging}) = _$VeilidFFIConfigImpl; factory _VeilidFFIConfig.fromJson(Map json) = - _$_VeilidFFIConfig.fromJson; + _$VeilidFFIConfigImpl.fromJson; @override VeilidFFIConfigLogging get logging; @override @JsonKey(ignore: true) - _$$_VeilidFFIConfigCopyWith<_$_VeilidFFIConfig> get copyWith => + _$$VeilidFFIConfigImplCopyWith<_$VeilidFFIConfigImpl> get copyWith => throw _privateConstructorUsedError; } @@ -1056,12 +1062,12 @@ class _$VeilidWASMConfigLoggingPerformanceCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidWASMConfigLoggingPerformanceCopyWith<$Res> +abstract class _$$VeilidWASMConfigLoggingPerformanceImplCopyWith<$Res> implements $VeilidWASMConfigLoggingPerformanceCopyWith<$Res> { - factory _$$_VeilidWASMConfigLoggingPerformanceCopyWith( - _$_VeilidWASMConfigLoggingPerformance value, - $Res Function(_$_VeilidWASMConfigLoggingPerformance) then) = - __$$_VeilidWASMConfigLoggingPerformanceCopyWithImpl<$Res>; + factory _$$VeilidWASMConfigLoggingPerformanceImplCopyWith( + _$VeilidWASMConfigLoggingPerformanceImpl value, + $Res Function(_$VeilidWASMConfigLoggingPerformanceImpl) then) = + __$$VeilidWASMConfigLoggingPerformanceImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -1072,13 +1078,13 @@ abstract class _$$_VeilidWASMConfigLoggingPerformanceCopyWith<$Res> } /// @nodoc -class __$$_VeilidWASMConfigLoggingPerformanceCopyWithImpl<$Res> +class __$$VeilidWASMConfigLoggingPerformanceImplCopyWithImpl<$Res> extends _$VeilidWASMConfigLoggingPerformanceCopyWithImpl<$Res, - _$_VeilidWASMConfigLoggingPerformance> - implements _$$_VeilidWASMConfigLoggingPerformanceCopyWith<$Res> { - __$$_VeilidWASMConfigLoggingPerformanceCopyWithImpl( - _$_VeilidWASMConfigLoggingPerformance _value, - $Res Function(_$_VeilidWASMConfigLoggingPerformance) _then) + _$VeilidWASMConfigLoggingPerformanceImpl> + implements _$$VeilidWASMConfigLoggingPerformanceImplCopyWith<$Res> { + __$$VeilidWASMConfigLoggingPerformanceImplCopyWithImpl( + _$VeilidWASMConfigLoggingPerformanceImpl _value, + $Res Function(_$VeilidWASMConfigLoggingPerformanceImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1089,7 +1095,7 @@ class __$$_VeilidWASMConfigLoggingPerformanceCopyWithImpl<$Res> Object? logsInTimings = null, Object? logsInConsole = null, }) { - return _then(_$_VeilidWASMConfigLoggingPerformance( + return _then(_$VeilidWASMConfigLoggingPerformanceImpl( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -1112,18 +1118,18 @@ class __$$_VeilidWASMConfigLoggingPerformanceCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidWASMConfigLoggingPerformance +class _$VeilidWASMConfigLoggingPerformanceImpl with DiagnosticableTreeMixin implements _VeilidWASMConfigLoggingPerformance { - const _$_VeilidWASMConfigLoggingPerformance( + const _$VeilidWASMConfigLoggingPerformanceImpl( {required this.enabled, required this.level, required this.logsInTimings, required this.logsInConsole}); - factory _$_VeilidWASMConfigLoggingPerformance.fromJson( + factory _$VeilidWASMConfigLoggingPerformanceImpl.fromJson( Map json) => - _$$_VeilidWASMConfigLoggingPerformanceFromJson(json); + _$$VeilidWASMConfigLoggingPerformanceImplFromJson(json); @override final bool enabled; @@ -1154,7 +1160,7 @@ class _$_VeilidWASMConfigLoggingPerformance bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidWASMConfigLoggingPerformance && + other is _$VeilidWASMConfigLoggingPerformanceImpl && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.level, level) || other.level == level) && (identical(other.logsInTimings, logsInTimings) || @@ -1171,14 +1177,14 @@ class _$_VeilidWASMConfigLoggingPerformance @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidWASMConfigLoggingPerformanceCopyWith< - _$_VeilidWASMConfigLoggingPerformance> - get copyWith => __$$_VeilidWASMConfigLoggingPerformanceCopyWithImpl< - _$_VeilidWASMConfigLoggingPerformance>(this, _$identity); + _$$VeilidWASMConfigLoggingPerformanceImplCopyWith< + _$VeilidWASMConfigLoggingPerformanceImpl> + get copyWith => __$$VeilidWASMConfigLoggingPerformanceImplCopyWithImpl< + _$VeilidWASMConfigLoggingPerformanceImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidWASMConfigLoggingPerformanceToJson( + return _$$VeilidWASMConfigLoggingPerformanceImplToJson( this, ); } @@ -1191,11 +1197,11 @@ abstract class _VeilidWASMConfigLoggingPerformance required final VeilidConfigLogLevel level, required final bool logsInTimings, required final bool logsInConsole}) = - _$_VeilidWASMConfigLoggingPerformance; + _$VeilidWASMConfigLoggingPerformanceImpl; factory _VeilidWASMConfigLoggingPerformance.fromJson( Map json) = - _$_VeilidWASMConfigLoggingPerformance.fromJson; + _$VeilidWASMConfigLoggingPerformanceImpl.fromJson; @override bool get enabled; @@ -1207,8 +1213,8 @@ abstract class _VeilidWASMConfigLoggingPerformance bool get logsInConsole; @override @JsonKey(ignore: true) - _$$_VeilidWASMConfigLoggingPerformanceCopyWith< - _$_VeilidWASMConfigLoggingPerformance> + _$$VeilidWASMConfigLoggingPerformanceImplCopyWith< + _$VeilidWASMConfigLoggingPerformanceImpl> get copyWith => throw _privateConstructorUsedError; } @@ -1269,25 +1275,25 @@ class _$VeilidWASMConfigLoggingApiCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidWASMConfigLoggingApiCopyWith<$Res> +abstract class _$$VeilidWASMConfigLoggingApiImplCopyWith<$Res> implements $VeilidWASMConfigLoggingApiCopyWith<$Res> { - factory _$$_VeilidWASMConfigLoggingApiCopyWith( - _$_VeilidWASMConfigLoggingApi value, - $Res Function(_$_VeilidWASMConfigLoggingApi) then) = - __$$_VeilidWASMConfigLoggingApiCopyWithImpl<$Res>; + factory _$$VeilidWASMConfigLoggingApiImplCopyWith( + _$VeilidWASMConfigLoggingApiImpl value, + $Res Function(_$VeilidWASMConfigLoggingApiImpl) then) = + __$$VeilidWASMConfigLoggingApiImplCopyWithImpl<$Res>; @override @useResult $Res call({bool enabled, VeilidConfigLogLevel level}); } /// @nodoc -class __$$_VeilidWASMConfigLoggingApiCopyWithImpl<$Res> +class __$$VeilidWASMConfigLoggingApiImplCopyWithImpl<$Res> extends _$VeilidWASMConfigLoggingApiCopyWithImpl<$Res, - _$_VeilidWASMConfigLoggingApi> - implements _$$_VeilidWASMConfigLoggingApiCopyWith<$Res> { - __$$_VeilidWASMConfigLoggingApiCopyWithImpl( - _$_VeilidWASMConfigLoggingApi _value, - $Res Function(_$_VeilidWASMConfigLoggingApi) _then) + _$VeilidWASMConfigLoggingApiImpl> + implements _$$VeilidWASMConfigLoggingApiImplCopyWith<$Res> { + __$$VeilidWASMConfigLoggingApiImplCopyWithImpl( + _$VeilidWASMConfigLoggingApiImpl _value, + $Res Function(_$VeilidWASMConfigLoggingApiImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1296,7 +1302,7 @@ class __$$_VeilidWASMConfigLoggingApiCopyWithImpl<$Res> Object? enabled = null, Object? level = null, }) { - return _then(_$_VeilidWASMConfigLoggingApi( + return _then(_$VeilidWASMConfigLoggingApiImpl( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -1311,14 +1317,15 @@ class __$$_VeilidWASMConfigLoggingApiCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidWASMConfigLoggingApi +class _$VeilidWASMConfigLoggingApiImpl with DiagnosticableTreeMixin implements _VeilidWASMConfigLoggingApi { - const _$_VeilidWASMConfigLoggingApi( + const _$VeilidWASMConfigLoggingApiImpl( {required this.enabled, required this.level}); - factory _$_VeilidWASMConfigLoggingApi.fromJson(Map json) => - _$$_VeilidWASMConfigLoggingApiFromJson(json); + factory _$VeilidWASMConfigLoggingApiImpl.fromJson( + Map json) => + _$$VeilidWASMConfigLoggingApiImplFromJson(json); @override final bool enabled; @@ -1343,7 +1350,7 @@ class _$_VeilidWASMConfigLoggingApi bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidWASMConfigLoggingApi && + other is _$VeilidWASMConfigLoggingApiImpl && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.level, level) || other.level == level)); } @@ -1355,13 +1362,13 @@ class _$_VeilidWASMConfigLoggingApi @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidWASMConfigLoggingApiCopyWith<_$_VeilidWASMConfigLoggingApi> - get copyWith => __$$_VeilidWASMConfigLoggingApiCopyWithImpl< - _$_VeilidWASMConfigLoggingApi>(this, _$identity); + _$$VeilidWASMConfigLoggingApiImplCopyWith<_$VeilidWASMConfigLoggingApiImpl> + get copyWith => __$$VeilidWASMConfigLoggingApiImplCopyWithImpl< + _$VeilidWASMConfigLoggingApiImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidWASMConfigLoggingApiToJson( + return _$$VeilidWASMConfigLoggingApiImplToJson( this, ); } @@ -1372,10 +1379,10 @@ abstract class _VeilidWASMConfigLoggingApi const factory _VeilidWASMConfigLoggingApi( {required final bool enabled, required final VeilidConfigLogLevel level}) = - _$_VeilidWASMConfigLoggingApi; + _$VeilidWASMConfigLoggingApiImpl; factory _VeilidWASMConfigLoggingApi.fromJson(Map json) = - _$_VeilidWASMConfigLoggingApi.fromJson; + _$VeilidWASMConfigLoggingApiImpl.fromJson; @override bool get enabled; @@ -1383,7 +1390,7 @@ abstract class _VeilidWASMConfigLoggingApi VeilidConfigLogLevel get level; @override @JsonKey(ignore: true) - _$$_VeilidWASMConfigLoggingApiCopyWith<_$_VeilidWASMConfigLoggingApi> + _$$VeilidWASMConfigLoggingApiImplCopyWith<_$VeilidWASMConfigLoggingApiImpl> get copyWith => throw _privateConstructorUsedError; } @@ -1466,11 +1473,12 @@ class _$VeilidWASMConfigLoggingCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidWASMConfigLoggingCopyWith<$Res> +abstract class _$$VeilidWASMConfigLoggingImplCopyWith<$Res> implements $VeilidWASMConfigLoggingCopyWith<$Res> { - factory _$$_VeilidWASMConfigLoggingCopyWith(_$_VeilidWASMConfigLogging value, - $Res Function(_$_VeilidWASMConfigLogging) then) = - __$$_VeilidWASMConfigLoggingCopyWithImpl<$Res>; + factory _$$VeilidWASMConfigLoggingImplCopyWith( + _$VeilidWASMConfigLoggingImpl value, + $Res Function(_$VeilidWASMConfigLoggingImpl) then) = + __$$VeilidWASMConfigLoggingImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -1484,12 +1492,13 @@ abstract class _$$_VeilidWASMConfigLoggingCopyWith<$Res> } /// @nodoc -class __$$_VeilidWASMConfigLoggingCopyWithImpl<$Res> +class __$$VeilidWASMConfigLoggingImplCopyWithImpl<$Res> extends _$VeilidWASMConfigLoggingCopyWithImpl<$Res, - _$_VeilidWASMConfigLogging> - implements _$$_VeilidWASMConfigLoggingCopyWith<$Res> { - __$$_VeilidWASMConfigLoggingCopyWithImpl(_$_VeilidWASMConfigLogging _value, - $Res Function(_$_VeilidWASMConfigLogging) _then) + _$VeilidWASMConfigLoggingImpl> + implements _$$VeilidWASMConfigLoggingImplCopyWith<$Res> { + __$$VeilidWASMConfigLoggingImplCopyWithImpl( + _$VeilidWASMConfigLoggingImpl _value, + $Res Function(_$VeilidWASMConfigLoggingImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1498,7 +1507,7 @@ class __$$_VeilidWASMConfigLoggingCopyWithImpl<$Res> Object? performance = null, Object? api = null, }) { - return _then(_$_VeilidWASMConfigLogging( + return _then(_$VeilidWASMConfigLoggingImpl( performance: null == performance ? _value.performance : performance // ignore: cast_nullable_to_non_nullable @@ -1513,14 +1522,14 @@ class __$$_VeilidWASMConfigLoggingCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidWASMConfigLogging +class _$VeilidWASMConfigLoggingImpl with DiagnosticableTreeMixin implements _VeilidWASMConfigLogging { - const _$_VeilidWASMConfigLogging( + const _$VeilidWASMConfigLoggingImpl( {required this.performance, required this.api}); - factory _$_VeilidWASMConfigLogging.fromJson(Map json) => - _$$_VeilidWASMConfigLoggingFromJson(json); + factory _$VeilidWASMConfigLoggingImpl.fromJson(Map json) => + _$$VeilidWASMConfigLoggingImplFromJson(json); @override final VeilidWASMConfigLoggingPerformance performance; @@ -1545,7 +1554,7 @@ class _$_VeilidWASMConfigLogging bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidWASMConfigLogging && + other is _$VeilidWASMConfigLoggingImpl && (identical(other.performance, performance) || other.performance == performance) && (identical(other.api, api) || other.api == api)); @@ -1558,14 +1567,13 @@ class _$_VeilidWASMConfigLogging @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidWASMConfigLoggingCopyWith<_$_VeilidWASMConfigLogging> - get copyWith => - __$$_VeilidWASMConfigLoggingCopyWithImpl<_$_VeilidWASMConfigLogging>( - this, _$identity); + _$$VeilidWASMConfigLoggingImplCopyWith<_$VeilidWASMConfigLoggingImpl> + get copyWith => __$$VeilidWASMConfigLoggingImplCopyWithImpl< + _$VeilidWASMConfigLoggingImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidWASMConfigLoggingToJson( + return _$$VeilidWASMConfigLoggingImplToJson( this, ); } @@ -1575,10 +1583,10 @@ abstract class _VeilidWASMConfigLogging implements VeilidWASMConfigLogging { const factory _VeilidWASMConfigLogging( {required final VeilidWASMConfigLoggingPerformance performance, required final VeilidWASMConfigLoggingApi api}) = - _$_VeilidWASMConfigLogging; + _$VeilidWASMConfigLoggingImpl; factory _VeilidWASMConfigLogging.fromJson(Map json) = - _$_VeilidWASMConfigLogging.fromJson; + _$VeilidWASMConfigLoggingImpl.fromJson; @override VeilidWASMConfigLoggingPerformance get performance; @@ -1586,7 +1594,7 @@ abstract class _VeilidWASMConfigLogging implements VeilidWASMConfigLogging { VeilidWASMConfigLoggingApi get api; @override @JsonKey(ignore: true) - _$$_VeilidWASMConfigLoggingCopyWith<_$_VeilidWASMConfigLogging> + _$$VeilidWASMConfigLoggingImplCopyWith<_$VeilidWASMConfigLoggingImpl> get copyWith => throw _privateConstructorUsedError; } @@ -1648,11 +1656,11 @@ class _$VeilidWASMConfigCopyWithImpl<$Res, $Val extends VeilidWASMConfig> } /// @nodoc -abstract class _$$_VeilidWASMConfigCopyWith<$Res> +abstract class _$$VeilidWASMConfigImplCopyWith<$Res> implements $VeilidWASMConfigCopyWith<$Res> { - factory _$$_VeilidWASMConfigCopyWith( - _$_VeilidWASMConfig value, $Res Function(_$_VeilidWASMConfig) then) = - __$$_VeilidWASMConfigCopyWithImpl<$Res>; + factory _$$VeilidWASMConfigImplCopyWith(_$VeilidWASMConfigImpl value, + $Res Function(_$VeilidWASMConfigImpl) then) = + __$$VeilidWASMConfigImplCopyWithImpl<$Res>; @override @useResult $Res call({VeilidWASMConfigLogging logging}); @@ -1662,11 +1670,11 @@ abstract class _$$_VeilidWASMConfigCopyWith<$Res> } /// @nodoc -class __$$_VeilidWASMConfigCopyWithImpl<$Res> - extends _$VeilidWASMConfigCopyWithImpl<$Res, _$_VeilidWASMConfig> - implements _$$_VeilidWASMConfigCopyWith<$Res> { - __$$_VeilidWASMConfigCopyWithImpl( - _$_VeilidWASMConfig _value, $Res Function(_$_VeilidWASMConfig) _then) +class __$$VeilidWASMConfigImplCopyWithImpl<$Res> + extends _$VeilidWASMConfigCopyWithImpl<$Res, _$VeilidWASMConfigImpl> + implements _$$VeilidWASMConfigImplCopyWith<$Res> { + __$$VeilidWASMConfigImplCopyWithImpl(_$VeilidWASMConfigImpl _value, + $Res Function(_$VeilidWASMConfigImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1674,7 +1682,7 @@ class __$$_VeilidWASMConfigCopyWithImpl<$Res> $Res call({ Object? logging = null, }) { - return _then(_$_VeilidWASMConfig( + return _then(_$VeilidWASMConfigImpl( logging: null == logging ? _value.logging : logging // ignore: cast_nullable_to_non_nullable @@ -1685,13 +1693,13 @@ class __$$_VeilidWASMConfigCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidWASMConfig +class _$VeilidWASMConfigImpl with DiagnosticableTreeMixin implements _VeilidWASMConfig { - const _$_VeilidWASMConfig({required this.logging}); + const _$VeilidWASMConfigImpl({required this.logging}); - factory _$_VeilidWASMConfig.fromJson(Map json) => - _$$_VeilidWASMConfigFromJson(json); + factory _$VeilidWASMConfigImpl.fromJson(Map json) => + _$$VeilidWASMConfigImplFromJson(json); @override final VeilidWASMConfigLogging logging; @@ -1713,7 +1721,7 @@ class _$_VeilidWASMConfig bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidWASMConfig && + other is _$VeilidWASMConfigImpl && (identical(other.logging, logging) || other.logging == logging)); } @@ -1724,12 +1732,13 @@ class _$_VeilidWASMConfig @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidWASMConfigCopyWith<_$_VeilidWASMConfig> get copyWith => - __$$_VeilidWASMConfigCopyWithImpl<_$_VeilidWASMConfig>(this, _$identity); + _$$VeilidWASMConfigImplCopyWith<_$VeilidWASMConfigImpl> get copyWith => + __$$VeilidWASMConfigImplCopyWithImpl<_$VeilidWASMConfigImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidWASMConfigToJson( + return _$$VeilidWASMConfigImplToJson( this, ); } @@ -1737,16 +1746,17 @@ class _$_VeilidWASMConfig abstract class _VeilidWASMConfig implements VeilidWASMConfig { const factory _VeilidWASMConfig( - {required final VeilidWASMConfigLogging logging}) = _$_VeilidWASMConfig; + {required final VeilidWASMConfigLogging logging}) = + _$VeilidWASMConfigImpl; factory _VeilidWASMConfig.fromJson(Map json) = - _$_VeilidWASMConfig.fromJson; + _$VeilidWASMConfigImpl.fromJson; @override VeilidWASMConfigLogging get logging; @override @JsonKey(ignore: true) - _$$_VeilidWASMConfigCopyWith<_$_VeilidWASMConfig> get copyWith => + _$$VeilidWASMConfigImplCopyWith<_$VeilidWASMConfigImpl> get copyWith => throw _privateConstructorUsedError; } @@ -1816,22 +1826,22 @@ class _$VeilidConfigHTTPSCopyWithImpl<$Res, $Val extends VeilidConfigHTTPS> } /// @nodoc -abstract class _$$_VeilidConfigHTTPSCopyWith<$Res> +abstract class _$$VeilidConfigHTTPSImplCopyWith<$Res> implements $VeilidConfigHTTPSCopyWith<$Res> { - factory _$$_VeilidConfigHTTPSCopyWith(_$_VeilidConfigHTTPS value, - $Res Function(_$_VeilidConfigHTTPS) then) = - __$$_VeilidConfigHTTPSCopyWithImpl<$Res>; + factory _$$VeilidConfigHTTPSImplCopyWith(_$VeilidConfigHTTPSImpl value, + $Res Function(_$VeilidConfigHTTPSImpl) then) = + __$$VeilidConfigHTTPSImplCopyWithImpl<$Res>; @override @useResult $Res call({bool enabled, String listenAddress, String path, String? url}); } /// @nodoc -class __$$_VeilidConfigHTTPSCopyWithImpl<$Res> - extends _$VeilidConfigHTTPSCopyWithImpl<$Res, _$_VeilidConfigHTTPS> - implements _$$_VeilidConfigHTTPSCopyWith<$Res> { - __$$_VeilidConfigHTTPSCopyWithImpl( - _$_VeilidConfigHTTPS _value, $Res Function(_$_VeilidConfigHTTPS) _then) +class __$$VeilidConfigHTTPSImplCopyWithImpl<$Res> + extends _$VeilidConfigHTTPSCopyWithImpl<$Res, _$VeilidConfigHTTPSImpl> + implements _$$VeilidConfigHTTPSImplCopyWith<$Res> { + __$$VeilidConfigHTTPSImplCopyWithImpl(_$VeilidConfigHTTPSImpl _value, + $Res Function(_$VeilidConfigHTTPSImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1842,7 +1852,7 @@ class __$$_VeilidConfigHTTPSCopyWithImpl<$Res> Object? path = null, Object? url = freezed, }) { - return _then(_$_VeilidConfigHTTPS( + return _then(_$VeilidConfigHTTPSImpl( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -1865,17 +1875,17 @@ class __$$_VeilidConfigHTTPSCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigHTTPS +class _$VeilidConfigHTTPSImpl with DiagnosticableTreeMixin implements _VeilidConfigHTTPS { - const _$_VeilidConfigHTTPS( + const _$VeilidConfigHTTPSImpl( {required this.enabled, required this.listenAddress, required this.path, this.url}); - factory _$_VeilidConfigHTTPS.fromJson(Map json) => - _$$_VeilidConfigHTTPSFromJson(json); + factory _$VeilidConfigHTTPSImpl.fromJson(Map json) => + _$$VeilidConfigHTTPSImplFromJson(json); @override final bool enabled; @@ -1906,7 +1916,7 @@ class _$_VeilidConfigHTTPS bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigHTTPS && + other is _$VeilidConfigHTTPSImpl && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.listenAddress, listenAddress) || other.listenAddress == listenAddress) && @@ -1922,13 +1932,13 @@ class _$_VeilidConfigHTTPS @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigHTTPSCopyWith<_$_VeilidConfigHTTPS> get copyWith => - __$$_VeilidConfigHTTPSCopyWithImpl<_$_VeilidConfigHTTPS>( + _$$VeilidConfigHTTPSImplCopyWith<_$VeilidConfigHTTPSImpl> get copyWith => + __$$VeilidConfigHTTPSImplCopyWithImpl<_$VeilidConfigHTTPSImpl>( this, _$identity); @override Map toJson() { - return _$$_VeilidConfigHTTPSToJson( + return _$$VeilidConfigHTTPSImplToJson( this, ); } @@ -1939,10 +1949,10 @@ abstract class _VeilidConfigHTTPS implements VeilidConfigHTTPS { {required final bool enabled, required final String listenAddress, required final String path, - final String? url}) = _$_VeilidConfigHTTPS; + final String? url}) = _$VeilidConfigHTTPSImpl; factory _VeilidConfigHTTPS.fromJson(Map json) = - _$_VeilidConfigHTTPS.fromJson; + _$VeilidConfigHTTPSImpl.fromJson; @override bool get enabled; @@ -1954,7 +1964,7 @@ abstract class _VeilidConfigHTTPS implements VeilidConfigHTTPS { String? get url; @override @JsonKey(ignore: true) - _$$_VeilidConfigHTTPSCopyWith<_$_VeilidConfigHTTPS> get copyWith => + _$$VeilidConfigHTTPSImplCopyWith<_$VeilidConfigHTTPSImpl> get copyWith => throw _privateConstructorUsedError; } @@ -2024,22 +2034,22 @@ class _$VeilidConfigHTTPCopyWithImpl<$Res, $Val extends VeilidConfigHTTP> } /// @nodoc -abstract class _$$_VeilidConfigHTTPCopyWith<$Res> +abstract class _$$VeilidConfigHTTPImplCopyWith<$Res> implements $VeilidConfigHTTPCopyWith<$Res> { - factory _$$_VeilidConfigHTTPCopyWith( - _$_VeilidConfigHTTP value, $Res Function(_$_VeilidConfigHTTP) then) = - __$$_VeilidConfigHTTPCopyWithImpl<$Res>; + factory _$$VeilidConfigHTTPImplCopyWith(_$VeilidConfigHTTPImpl value, + $Res Function(_$VeilidConfigHTTPImpl) then) = + __$$VeilidConfigHTTPImplCopyWithImpl<$Res>; @override @useResult $Res call({bool enabled, String listenAddress, String path, String? url}); } /// @nodoc -class __$$_VeilidConfigHTTPCopyWithImpl<$Res> - extends _$VeilidConfigHTTPCopyWithImpl<$Res, _$_VeilidConfigHTTP> - implements _$$_VeilidConfigHTTPCopyWith<$Res> { - __$$_VeilidConfigHTTPCopyWithImpl( - _$_VeilidConfigHTTP _value, $Res Function(_$_VeilidConfigHTTP) _then) +class __$$VeilidConfigHTTPImplCopyWithImpl<$Res> + extends _$VeilidConfigHTTPCopyWithImpl<$Res, _$VeilidConfigHTTPImpl> + implements _$$VeilidConfigHTTPImplCopyWith<$Res> { + __$$VeilidConfigHTTPImplCopyWithImpl(_$VeilidConfigHTTPImpl _value, + $Res Function(_$VeilidConfigHTTPImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2050,7 +2060,7 @@ class __$$_VeilidConfigHTTPCopyWithImpl<$Res> Object? path = null, Object? url = freezed, }) { - return _then(_$_VeilidConfigHTTP( + return _then(_$VeilidConfigHTTPImpl( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -2073,17 +2083,17 @@ class __$$_VeilidConfigHTTPCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigHTTP +class _$VeilidConfigHTTPImpl with DiagnosticableTreeMixin implements _VeilidConfigHTTP { - const _$_VeilidConfigHTTP( + const _$VeilidConfigHTTPImpl( {required this.enabled, required this.listenAddress, required this.path, this.url}); - factory _$_VeilidConfigHTTP.fromJson(Map json) => - _$$_VeilidConfigHTTPFromJson(json); + factory _$VeilidConfigHTTPImpl.fromJson(Map json) => + _$$VeilidConfigHTTPImplFromJson(json); @override final bool enabled; @@ -2114,7 +2124,7 @@ class _$_VeilidConfigHTTP bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigHTTP && + other is _$VeilidConfigHTTPImpl && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.listenAddress, listenAddress) || other.listenAddress == listenAddress) && @@ -2130,12 +2140,13 @@ class _$_VeilidConfigHTTP @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigHTTPCopyWith<_$_VeilidConfigHTTP> get copyWith => - __$$_VeilidConfigHTTPCopyWithImpl<_$_VeilidConfigHTTP>(this, _$identity); + _$$VeilidConfigHTTPImplCopyWith<_$VeilidConfigHTTPImpl> get copyWith => + __$$VeilidConfigHTTPImplCopyWithImpl<_$VeilidConfigHTTPImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidConfigHTTPToJson( + return _$$VeilidConfigHTTPImplToJson( this, ); } @@ -2146,10 +2157,10 @@ abstract class _VeilidConfigHTTP implements VeilidConfigHTTP { {required final bool enabled, required final String listenAddress, required final String path, - final String? url}) = _$_VeilidConfigHTTP; + final String? url}) = _$VeilidConfigHTTPImpl; factory _VeilidConfigHTTP.fromJson(Map json) = - _$_VeilidConfigHTTP.fromJson; + _$VeilidConfigHTTPImpl.fromJson; @override bool get enabled; @@ -2161,7 +2172,7 @@ abstract class _VeilidConfigHTTP implements VeilidConfigHTTP { String? get url; @override @JsonKey(ignore: true) - _$$_VeilidConfigHTTPCopyWith<_$_VeilidConfigHTTP> get copyWith => + _$$VeilidConfigHTTPImplCopyWith<_$VeilidConfigHTTPImpl> get copyWith => throw _privateConstructorUsedError; } @@ -2240,11 +2251,12 @@ class _$VeilidConfigApplicationCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidConfigApplicationCopyWith<$Res> +abstract class _$$VeilidConfigApplicationImplCopyWith<$Res> implements $VeilidConfigApplicationCopyWith<$Res> { - factory _$$_VeilidConfigApplicationCopyWith(_$_VeilidConfigApplication value, - $Res Function(_$_VeilidConfigApplication) then) = - __$$_VeilidConfigApplicationCopyWithImpl<$Res>; + factory _$$VeilidConfigApplicationImplCopyWith( + _$VeilidConfigApplicationImpl value, + $Res Function(_$VeilidConfigApplicationImpl) then) = + __$$VeilidConfigApplicationImplCopyWithImpl<$Res>; @override @useResult $Res call({VeilidConfigHTTPS https, VeilidConfigHTTP http}); @@ -2256,12 +2268,13 @@ abstract class _$$_VeilidConfigApplicationCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigApplicationCopyWithImpl<$Res> +class __$$VeilidConfigApplicationImplCopyWithImpl<$Res> extends _$VeilidConfigApplicationCopyWithImpl<$Res, - _$_VeilidConfigApplication> - implements _$$_VeilidConfigApplicationCopyWith<$Res> { - __$$_VeilidConfigApplicationCopyWithImpl(_$_VeilidConfigApplication _value, - $Res Function(_$_VeilidConfigApplication) _then) + _$VeilidConfigApplicationImpl> + implements _$$VeilidConfigApplicationImplCopyWith<$Res> { + __$$VeilidConfigApplicationImplCopyWithImpl( + _$VeilidConfigApplicationImpl _value, + $Res Function(_$VeilidConfigApplicationImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2270,7 +2283,7 @@ class __$$_VeilidConfigApplicationCopyWithImpl<$Res> Object? https = null, Object? http = null, }) { - return _then(_$_VeilidConfigApplication( + return _then(_$VeilidConfigApplicationImpl( https: null == https ? _value.https : https // ignore: cast_nullable_to_non_nullable @@ -2285,13 +2298,14 @@ class __$$_VeilidConfigApplicationCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigApplication +class _$VeilidConfigApplicationImpl with DiagnosticableTreeMixin implements _VeilidConfigApplication { - const _$_VeilidConfigApplication({required this.https, required this.http}); + const _$VeilidConfigApplicationImpl( + {required this.https, required this.http}); - factory _$_VeilidConfigApplication.fromJson(Map json) => - _$$_VeilidConfigApplicationFromJson(json); + factory _$VeilidConfigApplicationImpl.fromJson(Map json) => + _$$VeilidConfigApplicationImplFromJson(json); @override final VeilidConfigHTTPS https; @@ -2316,7 +2330,7 @@ class _$_VeilidConfigApplication bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigApplication && + other is _$VeilidConfigApplicationImpl && (identical(other.https, https) || other.https == https) && (identical(other.http, http) || other.http == http)); } @@ -2328,14 +2342,13 @@ class _$_VeilidConfigApplication @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigApplicationCopyWith<_$_VeilidConfigApplication> - get copyWith => - __$$_VeilidConfigApplicationCopyWithImpl<_$_VeilidConfigApplication>( - this, _$identity); + _$$VeilidConfigApplicationImplCopyWith<_$VeilidConfigApplicationImpl> + get copyWith => __$$VeilidConfigApplicationImplCopyWithImpl< + _$VeilidConfigApplicationImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidConfigApplicationToJson( + return _$$VeilidConfigApplicationImplToJson( this, ); } @@ -2344,10 +2357,10 @@ class _$_VeilidConfigApplication abstract class _VeilidConfigApplication implements VeilidConfigApplication { const factory _VeilidConfigApplication( {required final VeilidConfigHTTPS https, - required final VeilidConfigHTTP http}) = _$_VeilidConfigApplication; + required final VeilidConfigHTTP http}) = _$VeilidConfigApplicationImpl; factory _VeilidConfigApplication.fromJson(Map json) = - _$_VeilidConfigApplication.fromJson; + _$VeilidConfigApplicationImpl.fromJson; @override VeilidConfigHTTPS get https; @@ -2355,7 +2368,7 @@ abstract class _VeilidConfigApplication implements VeilidConfigApplication { VeilidConfigHTTP get http; @override @JsonKey(ignore: true) - _$$_VeilidConfigApplicationCopyWith<_$_VeilidConfigApplication> + _$$VeilidConfigApplicationImplCopyWith<_$VeilidConfigApplicationImpl> get copyWith => throw _privateConstructorUsedError; } @@ -2429,11 +2442,11 @@ class _$VeilidConfigUDPCopyWithImpl<$Res, $Val extends VeilidConfigUDP> } /// @nodoc -abstract class _$$_VeilidConfigUDPCopyWith<$Res> +abstract class _$$VeilidConfigUDPImplCopyWith<$Res> implements $VeilidConfigUDPCopyWith<$Res> { - factory _$$_VeilidConfigUDPCopyWith( - _$_VeilidConfigUDP value, $Res Function(_$_VeilidConfigUDP) then) = - __$$_VeilidConfigUDPCopyWithImpl<$Res>; + factory _$$VeilidConfigUDPImplCopyWith(_$VeilidConfigUDPImpl value, + $Res Function(_$VeilidConfigUDPImpl) then) = + __$$VeilidConfigUDPImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -2444,11 +2457,11 @@ abstract class _$$_VeilidConfigUDPCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigUDPCopyWithImpl<$Res> - extends _$VeilidConfigUDPCopyWithImpl<$Res, _$_VeilidConfigUDP> - implements _$$_VeilidConfigUDPCopyWith<$Res> { - __$$_VeilidConfigUDPCopyWithImpl( - _$_VeilidConfigUDP _value, $Res Function(_$_VeilidConfigUDP) _then) +class __$$VeilidConfigUDPImplCopyWithImpl<$Res> + extends _$VeilidConfigUDPCopyWithImpl<$Res, _$VeilidConfigUDPImpl> + implements _$$VeilidConfigUDPImplCopyWith<$Res> { + __$$VeilidConfigUDPImplCopyWithImpl( + _$VeilidConfigUDPImpl _value, $Res Function(_$VeilidConfigUDPImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2459,7 +2472,7 @@ class __$$_VeilidConfigUDPCopyWithImpl<$Res> Object? listenAddress = null, Object? publicAddress = freezed, }) { - return _then(_$_VeilidConfigUDP( + return _then(_$VeilidConfigUDPImpl( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -2482,17 +2495,17 @@ class __$$_VeilidConfigUDPCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigUDP +class _$VeilidConfigUDPImpl with DiagnosticableTreeMixin implements _VeilidConfigUDP { - const _$_VeilidConfigUDP( + const _$VeilidConfigUDPImpl( {required this.enabled, required this.socketPoolSize, required this.listenAddress, this.publicAddress}); - factory _$_VeilidConfigUDP.fromJson(Map json) => - _$$_VeilidConfigUDPFromJson(json); + factory _$VeilidConfigUDPImpl.fromJson(Map json) => + _$$VeilidConfigUDPImplFromJson(json); @override final bool enabled; @@ -2523,7 +2536,7 @@ class _$_VeilidConfigUDP bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigUDP && + other is _$VeilidConfigUDPImpl && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.socketPoolSize, socketPoolSize) || other.socketPoolSize == socketPoolSize) && @@ -2541,12 +2554,13 @@ class _$_VeilidConfigUDP @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigUDPCopyWith<_$_VeilidConfigUDP> get copyWith => - __$$_VeilidConfigUDPCopyWithImpl<_$_VeilidConfigUDP>(this, _$identity); + _$$VeilidConfigUDPImplCopyWith<_$VeilidConfigUDPImpl> get copyWith => + __$$VeilidConfigUDPImplCopyWithImpl<_$VeilidConfigUDPImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidConfigUDPToJson( + return _$$VeilidConfigUDPImplToJson( this, ); } @@ -2557,10 +2571,10 @@ abstract class _VeilidConfigUDP implements VeilidConfigUDP { {required final bool enabled, required final int socketPoolSize, required final String listenAddress, - final String? publicAddress}) = _$_VeilidConfigUDP; + final String? publicAddress}) = _$VeilidConfigUDPImpl; factory _VeilidConfigUDP.fromJson(Map json) = - _$_VeilidConfigUDP.fromJson; + _$VeilidConfigUDPImpl.fromJson; @override bool get enabled; @@ -2572,7 +2586,7 @@ abstract class _VeilidConfigUDP implements VeilidConfigUDP { String? get publicAddress; @override @JsonKey(ignore: true) - _$$_VeilidConfigUDPCopyWith<_$_VeilidConfigUDP> get copyWith => + _$$VeilidConfigUDPImplCopyWith<_$VeilidConfigUDPImpl> get copyWith => throw _privateConstructorUsedError; } @@ -2653,11 +2667,11 @@ class _$VeilidConfigTCPCopyWithImpl<$Res, $Val extends VeilidConfigTCP> } /// @nodoc -abstract class _$$_VeilidConfigTCPCopyWith<$Res> +abstract class _$$VeilidConfigTCPImplCopyWith<$Res> implements $VeilidConfigTCPCopyWith<$Res> { - factory _$$_VeilidConfigTCPCopyWith( - _$_VeilidConfigTCP value, $Res Function(_$_VeilidConfigTCP) then) = - __$$_VeilidConfigTCPCopyWithImpl<$Res>; + factory _$$VeilidConfigTCPImplCopyWith(_$VeilidConfigTCPImpl value, + $Res Function(_$VeilidConfigTCPImpl) then) = + __$$VeilidConfigTCPImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -2669,11 +2683,11 @@ abstract class _$$_VeilidConfigTCPCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigTCPCopyWithImpl<$Res> - extends _$VeilidConfigTCPCopyWithImpl<$Res, _$_VeilidConfigTCP> - implements _$$_VeilidConfigTCPCopyWith<$Res> { - __$$_VeilidConfigTCPCopyWithImpl( - _$_VeilidConfigTCP _value, $Res Function(_$_VeilidConfigTCP) _then) +class __$$VeilidConfigTCPImplCopyWithImpl<$Res> + extends _$VeilidConfigTCPCopyWithImpl<$Res, _$VeilidConfigTCPImpl> + implements _$$VeilidConfigTCPImplCopyWith<$Res> { + __$$VeilidConfigTCPImplCopyWithImpl( + _$VeilidConfigTCPImpl _value, $Res Function(_$VeilidConfigTCPImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2685,7 +2699,7 @@ class __$$_VeilidConfigTCPCopyWithImpl<$Res> Object? listenAddress = null, Object? publicAddress = freezed, }) { - return _then(_$_VeilidConfigTCP( + return _then(_$VeilidConfigTCPImpl( connect: null == connect ? _value.connect : connect // ignore: cast_nullable_to_non_nullable @@ -2712,18 +2726,18 @@ class __$$_VeilidConfigTCPCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigTCP +class _$VeilidConfigTCPImpl with DiagnosticableTreeMixin implements _VeilidConfigTCP { - const _$_VeilidConfigTCP( + const _$VeilidConfigTCPImpl( {required this.connect, required this.listen, required this.maxConnections, required this.listenAddress, this.publicAddress}); - factory _$_VeilidConfigTCP.fromJson(Map json) => - _$$_VeilidConfigTCPFromJson(json); + factory _$VeilidConfigTCPImpl.fromJson(Map json) => + _$$VeilidConfigTCPImplFromJson(json); @override final bool connect; @@ -2757,7 +2771,7 @@ class _$_VeilidConfigTCP bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigTCP && + other is _$VeilidConfigTCPImpl && (identical(other.connect, connect) || other.connect == connect) && (identical(other.listen, listen) || other.listen == listen) && (identical(other.maxConnections, maxConnections) || @@ -2776,12 +2790,13 @@ class _$_VeilidConfigTCP @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigTCPCopyWith<_$_VeilidConfigTCP> get copyWith => - __$$_VeilidConfigTCPCopyWithImpl<_$_VeilidConfigTCP>(this, _$identity); + _$$VeilidConfigTCPImplCopyWith<_$VeilidConfigTCPImpl> get copyWith => + __$$VeilidConfigTCPImplCopyWithImpl<_$VeilidConfigTCPImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidConfigTCPToJson( + return _$$VeilidConfigTCPImplToJson( this, ); } @@ -2793,10 +2808,10 @@ abstract class _VeilidConfigTCP implements VeilidConfigTCP { required final bool listen, required final int maxConnections, required final String listenAddress, - final String? publicAddress}) = _$_VeilidConfigTCP; + final String? publicAddress}) = _$VeilidConfigTCPImpl; factory _VeilidConfigTCP.fromJson(Map json) = - _$_VeilidConfigTCP.fromJson; + _$VeilidConfigTCPImpl.fromJson; @override bool get connect; @@ -2810,7 +2825,7 @@ abstract class _VeilidConfigTCP implements VeilidConfigTCP { String? get publicAddress; @override @JsonKey(ignore: true) - _$$_VeilidConfigTCPCopyWith<_$_VeilidConfigTCP> get copyWith => + _$$VeilidConfigTCPImplCopyWith<_$VeilidConfigTCPImpl> get copyWith => throw _privateConstructorUsedError; } @@ -2898,11 +2913,11 @@ class _$VeilidConfigWSCopyWithImpl<$Res, $Val extends VeilidConfigWS> } /// @nodoc -abstract class _$$_VeilidConfigWSCopyWith<$Res> +abstract class _$$VeilidConfigWSImplCopyWith<$Res> implements $VeilidConfigWSCopyWith<$Res> { - factory _$$_VeilidConfigWSCopyWith( - _$_VeilidConfigWS value, $Res Function(_$_VeilidConfigWS) then) = - __$$_VeilidConfigWSCopyWithImpl<$Res>; + factory _$$VeilidConfigWSImplCopyWith(_$VeilidConfigWSImpl value, + $Res Function(_$VeilidConfigWSImpl) then) = + __$$VeilidConfigWSImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -2915,11 +2930,11 @@ abstract class _$$_VeilidConfigWSCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigWSCopyWithImpl<$Res> - extends _$VeilidConfigWSCopyWithImpl<$Res, _$_VeilidConfigWS> - implements _$$_VeilidConfigWSCopyWith<$Res> { - __$$_VeilidConfigWSCopyWithImpl( - _$_VeilidConfigWS _value, $Res Function(_$_VeilidConfigWS) _then) +class __$$VeilidConfigWSImplCopyWithImpl<$Res> + extends _$VeilidConfigWSCopyWithImpl<$Res, _$VeilidConfigWSImpl> + implements _$$VeilidConfigWSImplCopyWith<$Res> { + __$$VeilidConfigWSImplCopyWithImpl( + _$VeilidConfigWSImpl _value, $Res Function(_$VeilidConfigWSImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2932,7 +2947,7 @@ class __$$_VeilidConfigWSCopyWithImpl<$Res> Object? path = null, Object? url = freezed, }) { - return _then(_$_VeilidConfigWS( + return _then(_$VeilidConfigWSImpl( connect: null == connect ? _value.connect : connect // ignore: cast_nullable_to_non_nullable @@ -2963,10 +2978,10 @@ class __$$_VeilidConfigWSCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigWS +class _$VeilidConfigWSImpl with DiagnosticableTreeMixin implements _VeilidConfigWS { - const _$_VeilidConfigWS( + const _$VeilidConfigWSImpl( {required this.connect, required this.listen, required this.maxConnections, @@ -2974,8 +2989,8 @@ class _$_VeilidConfigWS required this.path, this.url}); - factory _$_VeilidConfigWS.fromJson(Map json) => - _$$_VeilidConfigWSFromJson(json); + factory _$VeilidConfigWSImpl.fromJson(Map json) => + _$$VeilidConfigWSImplFromJson(json); @override final bool connect; @@ -3012,7 +3027,7 @@ class _$_VeilidConfigWS bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigWS && + other is _$VeilidConfigWSImpl && (identical(other.connect, connect) || other.connect == connect) && (identical(other.listen, listen) || other.listen == listen) && (identical(other.maxConnections, maxConnections) || @@ -3031,12 +3046,13 @@ class _$_VeilidConfigWS @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigWSCopyWith<_$_VeilidConfigWS> get copyWith => - __$$_VeilidConfigWSCopyWithImpl<_$_VeilidConfigWS>(this, _$identity); + _$$VeilidConfigWSImplCopyWith<_$VeilidConfigWSImpl> get copyWith => + __$$VeilidConfigWSImplCopyWithImpl<_$VeilidConfigWSImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidConfigWSToJson( + return _$$VeilidConfigWSImplToJson( this, ); } @@ -3049,10 +3065,10 @@ abstract class _VeilidConfigWS implements VeilidConfigWS { required final int maxConnections, required final String listenAddress, required final String path, - final String? url}) = _$_VeilidConfigWS; + final String? url}) = _$VeilidConfigWSImpl; factory _VeilidConfigWS.fromJson(Map json) = - _$_VeilidConfigWS.fromJson; + _$VeilidConfigWSImpl.fromJson; @override bool get connect; @@ -3068,7 +3084,7 @@ abstract class _VeilidConfigWS implements VeilidConfigWS { String? get url; @override @JsonKey(ignore: true) - _$$_VeilidConfigWSCopyWith<_$_VeilidConfigWS> get copyWith => + _$$VeilidConfigWSImplCopyWith<_$VeilidConfigWSImpl> get copyWith => throw _privateConstructorUsedError; } @@ -3156,11 +3172,11 @@ class _$VeilidConfigWSSCopyWithImpl<$Res, $Val extends VeilidConfigWSS> } /// @nodoc -abstract class _$$_VeilidConfigWSSCopyWith<$Res> +abstract class _$$VeilidConfigWSSImplCopyWith<$Res> implements $VeilidConfigWSSCopyWith<$Res> { - factory _$$_VeilidConfigWSSCopyWith( - _$_VeilidConfigWSS value, $Res Function(_$_VeilidConfigWSS) then) = - __$$_VeilidConfigWSSCopyWithImpl<$Res>; + factory _$$VeilidConfigWSSImplCopyWith(_$VeilidConfigWSSImpl value, + $Res Function(_$VeilidConfigWSSImpl) then) = + __$$VeilidConfigWSSImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3173,11 +3189,11 @@ abstract class _$$_VeilidConfigWSSCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigWSSCopyWithImpl<$Res> - extends _$VeilidConfigWSSCopyWithImpl<$Res, _$_VeilidConfigWSS> - implements _$$_VeilidConfigWSSCopyWith<$Res> { - __$$_VeilidConfigWSSCopyWithImpl( - _$_VeilidConfigWSS _value, $Res Function(_$_VeilidConfigWSS) _then) +class __$$VeilidConfigWSSImplCopyWithImpl<$Res> + extends _$VeilidConfigWSSCopyWithImpl<$Res, _$VeilidConfigWSSImpl> + implements _$$VeilidConfigWSSImplCopyWith<$Res> { + __$$VeilidConfigWSSImplCopyWithImpl( + _$VeilidConfigWSSImpl _value, $Res Function(_$VeilidConfigWSSImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3190,7 +3206,7 @@ class __$$_VeilidConfigWSSCopyWithImpl<$Res> Object? path = null, Object? url = freezed, }) { - return _then(_$_VeilidConfigWSS( + return _then(_$VeilidConfigWSSImpl( connect: null == connect ? _value.connect : connect // ignore: cast_nullable_to_non_nullable @@ -3221,10 +3237,10 @@ class __$$_VeilidConfigWSSCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigWSS +class _$VeilidConfigWSSImpl with DiagnosticableTreeMixin implements _VeilidConfigWSS { - const _$_VeilidConfigWSS( + const _$VeilidConfigWSSImpl( {required this.connect, required this.listen, required this.maxConnections, @@ -3232,8 +3248,8 @@ class _$_VeilidConfigWSS required this.path, this.url}); - factory _$_VeilidConfigWSS.fromJson(Map json) => - _$$_VeilidConfigWSSFromJson(json); + factory _$VeilidConfigWSSImpl.fromJson(Map json) => + _$$VeilidConfigWSSImplFromJson(json); @override final bool connect; @@ -3270,7 +3286,7 @@ class _$_VeilidConfigWSS bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigWSS && + other is _$VeilidConfigWSSImpl && (identical(other.connect, connect) || other.connect == connect) && (identical(other.listen, listen) || other.listen == listen) && (identical(other.maxConnections, maxConnections) || @@ -3289,12 +3305,13 @@ class _$_VeilidConfigWSS @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigWSSCopyWith<_$_VeilidConfigWSS> get copyWith => - __$$_VeilidConfigWSSCopyWithImpl<_$_VeilidConfigWSS>(this, _$identity); + _$$VeilidConfigWSSImplCopyWith<_$VeilidConfigWSSImpl> get copyWith => + __$$VeilidConfigWSSImplCopyWithImpl<_$VeilidConfigWSSImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidConfigWSSToJson( + return _$$VeilidConfigWSSImplToJson( this, ); } @@ -3307,10 +3324,10 @@ abstract class _VeilidConfigWSS implements VeilidConfigWSS { required final int maxConnections, required final String listenAddress, required final String path, - final String? url}) = _$_VeilidConfigWSS; + final String? url}) = _$VeilidConfigWSSImpl; factory _VeilidConfigWSS.fromJson(Map json) = - _$_VeilidConfigWSS.fromJson; + _$VeilidConfigWSSImpl.fromJson; @override bool get connect; @@ -3326,7 +3343,7 @@ abstract class _VeilidConfigWSS implements VeilidConfigWSS { String? get url; @override @JsonKey(ignore: true) - _$$_VeilidConfigWSSCopyWith<_$_VeilidConfigWSS> get copyWith => + _$$VeilidConfigWSSImplCopyWith<_$VeilidConfigWSSImpl> get copyWith => throw _privateConstructorUsedError; } @@ -3438,11 +3455,11 @@ class _$VeilidConfigProtocolCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidConfigProtocolCopyWith<$Res> +abstract class _$$VeilidConfigProtocolImplCopyWith<$Res> implements $VeilidConfigProtocolCopyWith<$Res> { - factory _$$_VeilidConfigProtocolCopyWith(_$_VeilidConfigProtocol value, - $Res Function(_$_VeilidConfigProtocol) then) = - __$$_VeilidConfigProtocolCopyWithImpl<$Res>; + factory _$$VeilidConfigProtocolImplCopyWith(_$VeilidConfigProtocolImpl value, + $Res Function(_$VeilidConfigProtocolImpl) then) = + __$$VeilidConfigProtocolImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3462,11 +3479,11 @@ abstract class _$$_VeilidConfigProtocolCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigProtocolCopyWithImpl<$Res> - extends _$VeilidConfigProtocolCopyWithImpl<$Res, _$_VeilidConfigProtocol> - implements _$$_VeilidConfigProtocolCopyWith<$Res> { - __$$_VeilidConfigProtocolCopyWithImpl(_$_VeilidConfigProtocol _value, - $Res Function(_$_VeilidConfigProtocol) _then) +class __$$VeilidConfigProtocolImplCopyWithImpl<$Res> + extends _$VeilidConfigProtocolCopyWithImpl<$Res, _$VeilidConfigProtocolImpl> + implements _$$VeilidConfigProtocolImplCopyWith<$Res> { + __$$VeilidConfigProtocolImplCopyWithImpl(_$VeilidConfigProtocolImpl _value, + $Res Function(_$VeilidConfigProtocolImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3477,7 +3494,7 @@ class __$$_VeilidConfigProtocolCopyWithImpl<$Res> Object? ws = null, Object? wss = null, }) { - return _then(_$_VeilidConfigProtocol( + return _then(_$VeilidConfigProtocolImpl( udp: null == udp ? _value.udp : udp // ignore: cast_nullable_to_non_nullable @@ -3500,17 +3517,17 @@ class __$$_VeilidConfigProtocolCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigProtocol +class _$VeilidConfigProtocolImpl with DiagnosticableTreeMixin implements _VeilidConfigProtocol { - const _$_VeilidConfigProtocol( + const _$VeilidConfigProtocolImpl( {required this.udp, required this.tcp, required this.ws, required this.wss}); - factory _$_VeilidConfigProtocol.fromJson(Map json) => - _$$_VeilidConfigProtocolFromJson(json); + factory _$VeilidConfigProtocolImpl.fromJson(Map json) => + _$$VeilidConfigProtocolImplFromJson(json); @override final VeilidConfigUDP udp; @@ -3541,7 +3558,7 @@ class _$_VeilidConfigProtocol bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigProtocol && + other is _$VeilidConfigProtocolImpl && (identical(other.udp, udp) || other.udp == udp) && (identical(other.tcp, tcp) || other.tcp == tcp) && (identical(other.ws, ws) || other.ws == ws) && @@ -3555,13 +3572,14 @@ class _$_VeilidConfigProtocol @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigProtocolCopyWith<_$_VeilidConfigProtocol> get copyWith => - __$$_VeilidConfigProtocolCopyWithImpl<_$_VeilidConfigProtocol>( - this, _$identity); + _$$VeilidConfigProtocolImplCopyWith<_$VeilidConfigProtocolImpl> + get copyWith => + __$$VeilidConfigProtocolImplCopyWithImpl<_$VeilidConfigProtocolImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidConfigProtocolToJson( + return _$$VeilidConfigProtocolImplToJson( this, ); } @@ -3572,10 +3590,10 @@ abstract class _VeilidConfigProtocol implements VeilidConfigProtocol { {required final VeilidConfigUDP udp, required final VeilidConfigTCP tcp, required final VeilidConfigWS ws, - required final VeilidConfigWSS wss}) = _$_VeilidConfigProtocol; + required final VeilidConfigWSS wss}) = _$VeilidConfigProtocolImpl; factory _VeilidConfigProtocol.fromJson(Map json) = - _$_VeilidConfigProtocol.fromJson; + _$VeilidConfigProtocolImpl.fromJson; @override VeilidConfigUDP get udp; @@ -3587,8 +3605,8 @@ abstract class _VeilidConfigProtocol implements VeilidConfigProtocol { VeilidConfigWSS get wss; @override @JsonKey(ignore: true) - _$$_VeilidConfigProtocolCopyWith<_$_VeilidConfigProtocol> get copyWith => - throw _privateConstructorUsedError; + _$$VeilidConfigProtocolImplCopyWith<_$VeilidConfigProtocolImpl> + get copyWith => throw _privateConstructorUsedError; } VeilidConfigTLS _$VeilidConfigTLSFromJson(Map json) { @@ -3654,11 +3672,11 @@ class _$VeilidConfigTLSCopyWithImpl<$Res, $Val extends VeilidConfigTLS> } /// @nodoc -abstract class _$$_VeilidConfigTLSCopyWith<$Res> +abstract class _$$VeilidConfigTLSImplCopyWith<$Res> implements $VeilidConfigTLSCopyWith<$Res> { - factory _$$_VeilidConfigTLSCopyWith( - _$_VeilidConfigTLS value, $Res Function(_$_VeilidConfigTLS) then) = - __$$_VeilidConfigTLSCopyWithImpl<$Res>; + factory _$$VeilidConfigTLSImplCopyWith(_$VeilidConfigTLSImpl value, + $Res Function(_$VeilidConfigTLSImpl) then) = + __$$VeilidConfigTLSImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3668,11 +3686,11 @@ abstract class _$$_VeilidConfigTLSCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigTLSCopyWithImpl<$Res> - extends _$VeilidConfigTLSCopyWithImpl<$Res, _$_VeilidConfigTLS> - implements _$$_VeilidConfigTLSCopyWith<$Res> { - __$$_VeilidConfigTLSCopyWithImpl( - _$_VeilidConfigTLS _value, $Res Function(_$_VeilidConfigTLS) _then) +class __$$VeilidConfigTLSImplCopyWithImpl<$Res> + extends _$VeilidConfigTLSCopyWithImpl<$Res, _$VeilidConfigTLSImpl> + implements _$$VeilidConfigTLSImplCopyWith<$Res> { + __$$VeilidConfigTLSImplCopyWithImpl( + _$VeilidConfigTLSImpl _value, $Res Function(_$VeilidConfigTLSImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3682,7 +3700,7 @@ class __$$_VeilidConfigTLSCopyWithImpl<$Res> Object? privateKeyPath = null, Object? connectionInitialTimeoutMs = null, }) { - return _then(_$_VeilidConfigTLS( + return _then(_$VeilidConfigTLSImpl( certificatePath: null == certificatePath ? _value.certificatePath : certificatePath // ignore: cast_nullable_to_non_nullable @@ -3701,16 +3719,16 @@ class __$$_VeilidConfigTLSCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigTLS +class _$VeilidConfigTLSImpl with DiagnosticableTreeMixin implements _VeilidConfigTLS { - const _$_VeilidConfigTLS( + const _$VeilidConfigTLSImpl( {required this.certificatePath, required this.privateKeyPath, required this.connectionInitialTimeoutMs}); - factory _$_VeilidConfigTLS.fromJson(Map json) => - _$$_VeilidConfigTLSFromJson(json); + factory _$VeilidConfigTLSImpl.fromJson(Map json) => + _$$VeilidConfigTLSImplFromJson(json); @override final String certificatePath; @@ -3739,7 +3757,7 @@ class _$_VeilidConfigTLS bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigTLS && + other is _$VeilidConfigTLSImpl && (identical(other.certificatePath, certificatePath) || other.certificatePath == certificatePath) && (identical(other.privateKeyPath, privateKeyPath) || @@ -3758,12 +3776,13 @@ class _$_VeilidConfigTLS @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigTLSCopyWith<_$_VeilidConfigTLS> get copyWith => - __$$_VeilidConfigTLSCopyWithImpl<_$_VeilidConfigTLS>(this, _$identity); + _$$VeilidConfigTLSImplCopyWith<_$VeilidConfigTLSImpl> get copyWith => + __$$VeilidConfigTLSImplCopyWithImpl<_$VeilidConfigTLSImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidConfigTLSToJson( + return _$$VeilidConfigTLSImplToJson( this, ); } @@ -3773,10 +3792,10 @@ abstract class _VeilidConfigTLS implements VeilidConfigTLS { const factory _VeilidConfigTLS( {required final String certificatePath, required final String privateKeyPath, - required final int connectionInitialTimeoutMs}) = _$_VeilidConfigTLS; + required final int connectionInitialTimeoutMs}) = _$VeilidConfigTLSImpl; factory _VeilidConfigTLS.fromJson(Map json) = - _$_VeilidConfigTLS.fromJson; + _$VeilidConfigTLSImpl.fromJson; @override String get certificatePath; @@ -3786,7 +3805,7 @@ abstract class _VeilidConfigTLS implements VeilidConfigTLS { int get connectionInitialTimeoutMs; @override @JsonKey(ignore: true) - _$$_VeilidConfigTLSCopyWith<_$_VeilidConfigTLS> get copyWith => + _$$VeilidConfigTLSImplCopyWith<_$VeilidConfigTLSImpl> get copyWith => throw _privateConstructorUsedError; } @@ -3965,11 +3984,11 @@ class _$VeilidConfigDHTCopyWithImpl<$Res, $Val extends VeilidConfigDHT> } /// @nodoc -abstract class _$$_VeilidConfigDHTCopyWith<$Res> +abstract class _$$VeilidConfigDHTImplCopyWith<$Res> implements $VeilidConfigDHTCopyWith<$Res> { - factory _$$_VeilidConfigDHTCopyWith( - _$_VeilidConfigDHT value, $Res Function(_$_VeilidConfigDHT) then) = - __$$_VeilidConfigDHTCopyWithImpl<$Res>; + factory _$$VeilidConfigDHTImplCopyWith(_$VeilidConfigDHTImpl value, + $Res Function(_$VeilidConfigDHTImpl) then) = + __$$VeilidConfigDHTImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3995,11 +4014,11 @@ abstract class _$$_VeilidConfigDHTCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigDHTCopyWithImpl<$Res> - extends _$VeilidConfigDHTCopyWithImpl<$Res, _$_VeilidConfigDHT> - implements _$$_VeilidConfigDHTCopyWith<$Res> { - __$$_VeilidConfigDHTCopyWithImpl( - _$_VeilidConfigDHT _value, $Res Function(_$_VeilidConfigDHT) _then) +class __$$VeilidConfigDHTImplCopyWithImpl<$Res> + extends _$VeilidConfigDHTCopyWithImpl<$Res, _$VeilidConfigDHTImpl> + implements _$$VeilidConfigDHTImplCopyWith<$Res> { + __$$VeilidConfigDHTImplCopyWithImpl( + _$VeilidConfigDHTImpl _value, $Res Function(_$VeilidConfigDHTImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -4025,7 +4044,7 @@ class __$$_VeilidConfigDHTCopyWithImpl<$Res> Object? remoteMaxSubkeyCacheMemoryMb = null, Object? remoteMaxStorageSpaceMb = null, }) { - return _then(_$_VeilidConfigDHT( + return _then(_$VeilidConfigDHTImpl( resolveNodeTimeoutMs: null == resolveNodeTimeoutMs ? _value.resolveNodeTimeoutMs : resolveNodeTimeoutMs // ignore: cast_nullable_to_non_nullable @@ -4108,10 +4127,10 @@ class __$$_VeilidConfigDHTCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigDHT +class _$VeilidConfigDHTImpl with DiagnosticableTreeMixin implements _VeilidConfigDHT { - const _$_VeilidConfigDHT( + const _$VeilidConfigDHTImpl( {required this.resolveNodeTimeoutMs, required this.resolveNodeCount, required this.resolveNodeFanout, @@ -4132,8 +4151,8 @@ class _$_VeilidConfigDHT required this.remoteMaxSubkeyCacheMemoryMb, required this.remoteMaxStorageSpaceMb}); - factory _$_VeilidConfigDHT.fromJson(Map json) => - _$$_VeilidConfigDHTFromJson(json); + factory _$VeilidConfigDHTImpl.fromJson(Map json) => + _$$VeilidConfigDHTImplFromJson(json); @override final int resolveNodeTimeoutMs; @@ -4213,7 +4232,7 @@ class _$_VeilidConfigDHT bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigDHT && + other is _$VeilidConfigDHTImpl && (identical(other.resolveNodeTimeoutMs, resolveNodeTimeoutMs) || other.resolveNodeTimeoutMs == resolveNodeTimeoutMs) && (identical(other.resolveNodeCount, resolveNodeCount) || @@ -4289,12 +4308,13 @@ class _$_VeilidConfigDHT @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigDHTCopyWith<_$_VeilidConfigDHT> get copyWith => - __$$_VeilidConfigDHTCopyWithImpl<_$_VeilidConfigDHT>(this, _$identity); + _$$VeilidConfigDHTImplCopyWith<_$VeilidConfigDHTImpl> get copyWith => + __$$VeilidConfigDHTImplCopyWithImpl<_$VeilidConfigDHTImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidConfigDHTToJson( + return _$$VeilidConfigDHTImplToJson( this, ); } @@ -4320,10 +4340,10 @@ abstract class _VeilidConfigDHT implements VeilidConfigDHT { required final int remoteSubkeyCacheSize, required final int remoteMaxRecords, required final int remoteMaxSubkeyCacheMemoryMb, - required final int remoteMaxStorageSpaceMb}) = _$_VeilidConfigDHT; + required final int remoteMaxStorageSpaceMb}) = _$VeilidConfigDHTImpl; factory _VeilidConfigDHT.fromJson(Map json) = - _$_VeilidConfigDHT.fromJson; + _$VeilidConfigDHTImpl.fromJson; @override int get resolveNodeTimeoutMs; @@ -4365,7 +4385,7 @@ abstract class _VeilidConfigDHT implements VeilidConfigDHT { int get remoteMaxStorageSpaceMb; @override @JsonKey(ignore: true) - _$$_VeilidConfigDHTCopyWith<_$_VeilidConfigDHT> get copyWith => + _$$VeilidConfigDHTImplCopyWith<_$VeilidConfigDHTImpl> get copyWith => throw _privateConstructorUsedError; } @@ -4460,11 +4480,11 @@ class _$VeilidConfigRPCCopyWithImpl<$Res, $Val extends VeilidConfigRPC> } /// @nodoc -abstract class _$$_VeilidConfigRPCCopyWith<$Res> +abstract class _$$VeilidConfigRPCImplCopyWith<$Res> implements $VeilidConfigRPCCopyWith<$Res> { - factory _$$_VeilidConfigRPCCopyWith( - _$_VeilidConfigRPC value, $Res Function(_$_VeilidConfigRPC) then) = - __$$_VeilidConfigRPCCopyWithImpl<$Res>; + factory _$$VeilidConfigRPCImplCopyWith(_$VeilidConfigRPCImpl value, + $Res Function(_$VeilidConfigRPCImpl) then) = + __$$VeilidConfigRPCImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -4478,11 +4498,11 @@ abstract class _$$_VeilidConfigRPCCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigRPCCopyWithImpl<$Res> - extends _$VeilidConfigRPCCopyWithImpl<$Res, _$_VeilidConfigRPC> - implements _$$_VeilidConfigRPCCopyWith<$Res> { - __$$_VeilidConfigRPCCopyWithImpl( - _$_VeilidConfigRPC _value, $Res Function(_$_VeilidConfigRPC) _then) +class __$$VeilidConfigRPCImplCopyWithImpl<$Res> + extends _$VeilidConfigRPCCopyWithImpl<$Res, _$VeilidConfigRPCImpl> + implements _$$VeilidConfigRPCImplCopyWith<$Res> { + __$$VeilidConfigRPCImplCopyWithImpl( + _$VeilidConfigRPCImpl _value, $Res Function(_$VeilidConfigRPCImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -4496,7 +4516,7 @@ class __$$_VeilidConfigRPCCopyWithImpl<$Res> Object? maxTimestampBehindMs = freezed, Object? maxTimestampAheadMs = freezed, }) { - return _then(_$_VeilidConfigRPC( + return _then(_$VeilidConfigRPCImpl( concurrency: null == concurrency ? _value.concurrency : concurrency // ignore: cast_nullable_to_non_nullable @@ -4531,10 +4551,10 @@ class __$$_VeilidConfigRPCCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigRPC +class _$VeilidConfigRPCImpl with DiagnosticableTreeMixin implements _VeilidConfigRPC { - const _$_VeilidConfigRPC( + const _$VeilidConfigRPCImpl( {required this.concurrency, required this.queueSize, required this.timeoutMs, @@ -4543,8 +4563,8 @@ class _$_VeilidConfigRPC this.maxTimestampBehindMs, this.maxTimestampAheadMs}); - factory _$_VeilidConfigRPC.fromJson(Map json) => - _$$_VeilidConfigRPCFromJson(json); + factory _$VeilidConfigRPCImpl.fromJson(Map json) => + _$$VeilidConfigRPCImplFromJson(json); @override final int concurrency; @@ -4584,7 +4604,7 @@ class _$_VeilidConfigRPC bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigRPC && + other is _$VeilidConfigRPCImpl && (identical(other.concurrency, concurrency) || other.concurrency == concurrency) && (identical(other.queueSize, queueSize) || @@ -4616,12 +4636,13 @@ class _$_VeilidConfigRPC @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigRPCCopyWith<_$_VeilidConfigRPC> get copyWith => - __$$_VeilidConfigRPCCopyWithImpl<_$_VeilidConfigRPC>(this, _$identity); + _$$VeilidConfigRPCImplCopyWith<_$VeilidConfigRPCImpl> get copyWith => + __$$VeilidConfigRPCImplCopyWithImpl<_$VeilidConfigRPCImpl>( + this, _$identity); @override Map toJson() { - return _$$_VeilidConfigRPCToJson( + return _$$VeilidConfigRPCImplToJson( this, ); } @@ -4635,10 +4656,10 @@ abstract class _VeilidConfigRPC implements VeilidConfigRPC { required final int maxRouteHopCount, required final int defaultRouteHopCount, final int? maxTimestampBehindMs, - final int? maxTimestampAheadMs}) = _$_VeilidConfigRPC; + final int? maxTimestampAheadMs}) = _$VeilidConfigRPCImpl; factory _VeilidConfigRPC.fromJson(Map json) = - _$_VeilidConfigRPC.fromJson; + _$VeilidConfigRPCImpl.fromJson; @override int get concurrency; @@ -4656,7 +4677,7 @@ abstract class _VeilidConfigRPC implements VeilidConfigRPC { int? get maxTimestampAheadMs; @override @JsonKey(ignore: true) - _$$_VeilidConfigRPCCopyWith<_$_VeilidConfigRPC> get copyWith => + _$$VeilidConfigRPCImplCopyWith<_$VeilidConfigRPCImpl> get copyWith => throw _privateConstructorUsedError; } @@ -4762,12 +4783,12 @@ class _$VeilidConfigRoutingTableCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidConfigRoutingTableCopyWith<$Res> +abstract class _$$VeilidConfigRoutingTableImplCopyWith<$Res> implements $VeilidConfigRoutingTableCopyWith<$Res> { - factory _$$_VeilidConfigRoutingTableCopyWith( - _$_VeilidConfigRoutingTable value, - $Res Function(_$_VeilidConfigRoutingTable) then) = - __$$_VeilidConfigRoutingTableCopyWithImpl<$Res>; + factory _$$VeilidConfigRoutingTableImplCopyWith( + _$VeilidConfigRoutingTableImpl value, + $Res Function(_$VeilidConfigRoutingTableImpl) then) = + __$$VeilidConfigRoutingTableImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -4782,12 +4803,13 @@ abstract class _$$_VeilidConfigRoutingTableCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigRoutingTableCopyWithImpl<$Res> +class __$$VeilidConfigRoutingTableImplCopyWithImpl<$Res> extends _$VeilidConfigRoutingTableCopyWithImpl<$Res, - _$_VeilidConfigRoutingTable> - implements _$$_VeilidConfigRoutingTableCopyWith<$Res> { - __$$_VeilidConfigRoutingTableCopyWithImpl(_$_VeilidConfigRoutingTable _value, - $Res Function(_$_VeilidConfigRoutingTable) _then) + _$VeilidConfigRoutingTableImpl> + implements _$$VeilidConfigRoutingTableImplCopyWith<$Res> { + __$$VeilidConfigRoutingTableImplCopyWithImpl( + _$VeilidConfigRoutingTableImpl _value, + $Res Function(_$VeilidConfigRoutingTableImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -4802,7 +4824,7 @@ class __$$_VeilidConfigRoutingTableCopyWithImpl<$Res> Object? limitAttachedGood = null, Object? limitAttachedWeak = null, }) { - return _then(_$_VeilidConfigRoutingTable( + return _then(_$VeilidConfigRoutingTableImpl( nodeId: null == nodeId ? _value._nodeId : nodeId // ignore: cast_nullable_to_non_nullable @@ -4841,10 +4863,10 @@ class __$$_VeilidConfigRoutingTableCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigRoutingTable +class _$VeilidConfigRoutingTableImpl with DiagnosticableTreeMixin implements _VeilidConfigRoutingTable { - const _$_VeilidConfigRoutingTable( + const _$VeilidConfigRoutingTableImpl( {required final List> nodeId, required final List> nodeIdSecret, required final List bootstrap, @@ -4857,8 +4879,8 @@ class _$_VeilidConfigRoutingTable _nodeIdSecret = nodeIdSecret, _bootstrap = bootstrap; - factory _$_VeilidConfigRoutingTable.fromJson(Map json) => - _$$_VeilidConfigRoutingTableFromJson(json); + factory _$VeilidConfigRoutingTableImpl.fromJson(Map json) => + _$$VeilidConfigRoutingTableImplFromJson(json); final List> _nodeId; @override @@ -4919,7 +4941,7 @@ class _$_VeilidConfigRoutingTable bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigRoutingTable && + other is _$VeilidConfigRoutingTableImpl && const DeepCollectionEquality().equals(other._nodeId, _nodeId) && const DeepCollectionEquality() .equals(other._nodeIdSecret, _nodeIdSecret) && @@ -4953,13 +4975,13 @@ class _$_VeilidConfigRoutingTable @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigRoutingTableCopyWith<_$_VeilidConfigRoutingTable> - get copyWith => __$$_VeilidConfigRoutingTableCopyWithImpl< - _$_VeilidConfigRoutingTable>(this, _$identity); + _$$VeilidConfigRoutingTableImplCopyWith<_$VeilidConfigRoutingTableImpl> + get copyWith => __$$VeilidConfigRoutingTableImplCopyWithImpl< + _$VeilidConfigRoutingTableImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidConfigRoutingTableToJson( + return _$$VeilidConfigRoutingTableImplToJson( this, ); } @@ -4974,10 +4996,10 @@ abstract class _VeilidConfigRoutingTable implements VeilidConfigRoutingTable { required final int limitFullyAttached, required final int limitAttachedStrong, required final int limitAttachedGood, - required final int limitAttachedWeak}) = _$_VeilidConfigRoutingTable; + required final int limitAttachedWeak}) = _$VeilidConfigRoutingTableImpl; factory _VeilidConfigRoutingTable.fromJson(Map json) = - _$_VeilidConfigRoutingTable.fromJson; + _$VeilidConfigRoutingTableImpl.fromJson; @override List> get nodeId; @@ -4997,7 +5019,7 @@ abstract class _VeilidConfigRoutingTable implements VeilidConfigRoutingTable { int get limitAttachedWeak; @override @JsonKey(ignore: true) - _$$_VeilidConfigRoutingTableCopyWith<_$_VeilidConfigRoutingTable> + _$$VeilidConfigRoutingTableImplCopyWith<_$VeilidConfigRoutingTableImpl> get copyWith => throw _privateConstructorUsedError; } @@ -5013,7 +5035,7 @@ mixin _$VeilidConfigNetwork { int get maxConnectionsPerIp6Prefix => throw _privateConstructorUsedError; int get maxConnectionsPerIp6PrefixSize => throw _privateConstructorUsedError; int get maxConnectionFrequencyPerMin => throw _privateConstructorUsedError; - int get clientWhitelistTimeoutMs => throw _privateConstructorUsedError; + int get clientAllowlistTimeoutMs => throw _privateConstructorUsedError; int get reverseConnectionReceiptTimeMs => throw _privateConstructorUsedError; int get holePunchReceiptTimeMs => throw _privateConstructorUsedError; VeilidConfigRoutingTable get routingTable => @@ -5047,7 +5069,7 @@ abstract class $VeilidConfigNetworkCopyWith<$Res> { int maxConnectionsPerIp6Prefix, int maxConnectionsPerIp6PrefixSize, int maxConnectionFrequencyPerMin, - int clientWhitelistTimeoutMs, + int clientAllowlistTimeoutMs, int reverseConnectionReceiptTimeMs, int holePunchReceiptTimeMs, VeilidConfigRoutingTable routingTable, @@ -5088,7 +5110,7 @@ class _$VeilidConfigNetworkCopyWithImpl<$Res, $Val extends VeilidConfigNetwork> Object? maxConnectionsPerIp6Prefix = null, Object? maxConnectionsPerIp6PrefixSize = null, Object? maxConnectionFrequencyPerMin = null, - Object? clientWhitelistTimeoutMs = null, + Object? clientAllowlistTimeoutMs = null, Object? reverseConnectionReceiptTimeMs = null, Object? holePunchReceiptTimeMs = null, Object? routingTable = null, @@ -5127,9 +5149,9 @@ class _$VeilidConfigNetworkCopyWithImpl<$Res, $Val extends VeilidConfigNetwork> ? _value.maxConnectionFrequencyPerMin : maxConnectionFrequencyPerMin // ignore: cast_nullable_to_non_nullable as int, - clientWhitelistTimeoutMs: null == clientWhitelistTimeoutMs - ? _value.clientWhitelistTimeoutMs - : clientWhitelistTimeoutMs // ignore: cast_nullable_to_non_nullable + clientAllowlistTimeoutMs: null == clientAllowlistTimeoutMs + ? _value.clientAllowlistTimeoutMs + : clientAllowlistTimeoutMs // ignore: cast_nullable_to_non_nullable as int, reverseConnectionReceiptTimeMs: null == reverseConnectionReceiptTimeMs ? _value.reverseConnectionReceiptTimeMs @@ -5233,11 +5255,11 @@ class _$VeilidConfigNetworkCopyWithImpl<$Res, $Val extends VeilidConfigNetwork> } /// @nodoc -abstract class _$$_VeilidConfigNetworkCopyWith<$Res> +abstract class _$$VeilidConfigNetworkImplCopyWith<$Res> implements $VeilidConfigNetworkCopyWith<$Res> { - factory _$$_VeilidConfigNetworkCopyWith(_$_VeilidConfigNetwork value, - $Res Function(_$_VeilidConfigNetwork) then) = - __$$_VeilidConfigNetworkCopyWithImpl<$Res>; + factory _$$VeilidConfigNetworkImplCopyWith(_$VeilidConfigNetworkImpl value, + $Res Function(_$VeilidConfigNetworkImpl) then) = + __$$VeilidConfigNetworkImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -5247,7 +5269,7 @@ abstract class _$$_VeilidConfigNetworkCopyWith<$Res> int maxConnectionsPerIp6Prefix, int maxConnectionsPerIp6PrefixSize, int maxConnectionFrequencyPerMin, - int clientWhitelistTimeoutMs, + int clientAllowlistTimeoutMs, int reverseConnectionReceiptTimeMs, int holePunchReceiptTimeMs, VeilidConfigRoutingTable routingTable, @@ -5276,11 +5298,11 @@ abstract class _$$_VeilidConfigNetworkCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigNetworkCopyWithImpl<$Res> - extends _$VeilidConfigNetworkCopyWithImpl<$Res, _$_VeilidConfigNetwork> - implements _$$_VeilidConfigNetworkCopyWith<$Res> { - __$$_VeilidConfigNetworkCopyWithImpl(_$_VeilidConfigNetwork _value, - $Res Function(_$_VeilidConfigNetwork) _then) +class __$$VeilidConfigNetworkImplCopyWithImpl<$Res> + extends _$VeilidConfigNetworkCopyWithImpl<$Res, _$VeilidConfigNetworkImpl> + implements _$$VeilidConfigNetworkImplCopyWith<$Res> { + __$$VeilidConfigNetworkImplCopyWithImpl(_$VeilidConfigNetworkImpl _value, + $Res Function(_$VeilidConfigNetworkImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -5292,7 +5314,7 @@ class __$$_VeilidConfigNetworkCopyWithImpl<$Res> Object? maxConnectionsPerIp6Prefix = null, Object? maxConnectionsPerIp6PrefixSize = null, Object? maxConnectionFrequencyPerMin = null, - Object? clientWhitelistTimeoutMs = null, + Object? clientAllowlistTimeoutMs = null, Object? reverseConnectionReceiptTimeMs = null, Object? holePunchReceiptTimeMs = null, Object? routingTable = null, @@ -5306,7 +5328,7 @@ class __$$_VeilidConfigNetworkCopyWithImpl<$Res> Object? protocol = null, Object? networkKeyPassword = freezed, }) { - return _then(_$_VeilidConfigNetwork( + return _then(_$VeilidConfigNetworkImpl( connectionInitialTimeoutMs: null == connectionInitialTimeoutMs ? _value.connectionInitialTimeoutMs : connectionInitialTimeoutMs // ignore: cast_nullable_to_non_nullable @@ -5331,9 +5353,9 @@ class __$$_VeilidConfigNetworkCopyWithImpl<$Res> ? _value.maxConnectionFrequencyPerMin : maxConnectionFrequencyPerMin // ignore: cast_nullable_to_non_nullable as int, - clientWhitelistTimeoutMs: null == clientWhitelistTimeoutMs - ? _value.clientWhitelistTimeoutMs - : clientWhitelistTimeoutMs // ignore: cast_nullable_to_non_nullable + clientAllowlistTimeoutMs: null == clientAllowlistTimeoutMs + ? _value.clientAllowlistTimeoutMs + : clientAllowlistTimeoutMs // ignore: cast_nullable_to_non_nullable as int, reverseConnectionReceiptTimeMs: null == reverseConnectionReceiptTimeMs ? _value.reverseConnectionReceiptTimeMs @@ -5389,17 +5411,17 @@ class __$$_VeilidConfigNetworkCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigNetwork +class _$VeilidConfigNetworkImpl with DiagnosticableTreeMixin implements _VeilidConfigNetwork { - const _$_VeilidConfigNetwork( + const _$VeilidConfigNetworkImpl( {required this.connectionInitialTimeoutMs, required this.connectionInactivityTimeoutMs, required this.maxConnectionsPerIp4, required this.maxConnectionsPerIp6Prefix, required this.maxConnectionsPerIp6PrefixSize, required this.maxConnectionFrequencyPerMin, - required this.clientWhitelistTimeoutMs, + required this.clientAllowlistTimeoutMs, required this.reverseConnectionReceiptTimeMs, required this.holePunchReceiptTimeMs, required this.routingTable, @@ -5413,8 +5435,8 @@ class _$_VeilidConfigNetwork required this.protocol, this.networkKeyPassword}); - factory _$_VeilidConfigNetwork.fromJson(Map json) => - _$$_VeilidConfigNetworkFromJson(json); + factory _$VeilidConfigNetworkImpl.fromJson(Map json) => + _$$VeilidConfigNetworkImplFromJson(json); @override final int connectionInitialTimeoutMs; @@ -5429,7 +5451,7 @@ class _$_VeilidConfigNetwork @override final int maxConnectionFrequencyPerMin; @override - final int clientWhitelistTimeoutMs; + final int clientAllowlistTimeoutMs; @override final int reverseConnectionReceiptTimeMs; @override @@ -5457,7 +5479,7 @@ class _$_VeilidConfigNetwork @override String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { - return 'VeilidConfigNetwork(connectionInitialTimeoutMs: $connectionInitialTimeoutMs, connectionInactivityTimeoutMs: $connectionInactivityTimeoutMs, maxConnectionsPerIp4: $maxConnectionsPerIp4, maxConnectionsPerIp6Prefix: $maxConnectionsPerIp6Prefix, maxConnectionsPerIp6PrefixSize: $maxConnectionsPerIp6PrefixSize, maxConnectionFrequencyPerMin: $maxConnectionFrequencyPerMin, clientWhitelistTimeoutMs: $clientWhitelistTimeoutMs, reverseConnectionReceiptTimeMs: $reverseConnectionReceiptTimeMs, holePunchReceiptTimeMs: $holePunchReceiptTimeMs, routingTable: $routingTable, rpc: $rpc, dht: $dht, upnp: $upnp, detectAddressChanges: $detectAddressChanges, restrictedNatRetries: $restrictedNatRetries, tls: $tls, application: $application, protocol: $protocol, networkKeyPassword: $networkKeyPassword)'; + return 'VeilidConfigNetwork(connectionInitialTimeoutMs: $connectionInitialTimeoutMs, connectionInactivityTimeoutMs: $connectionInactivityTimeoutMs, maxConnectionsPerIp4: $maxConnectionsPerIp4, maxConnectionsPerIp6Prefix: $maxConnectionsPerIp6Prefix, maxConnectionsPerIp6PrefixSize: $maxConnectionsPerIp6PrefixSize, maxConnectionFrequencyPerMin: $maxConnectionFrequencyPerMin, clientAllowlistTimeoutMs: $clientAllowlistTimeoutMs, reverseConnectionReceiptTimeMs: $reverseConnectionReceiptTimeMs, holePunchReceiptTimeMs: $holePunchReceiptTimeMs, routingTable: $routingTable, rpc: $rpc, dht: $dht, upnp: $upnp, detectAddressChanges: $detectAddressChanges, restrictedNatRetries: $restrictedNatRetries, tls: $tls, application: $application, protocol: $protocol, networkKeyPassword: $networkKeyPassword)'; } @override @@ -5477,7 +5499,7 @@ class _$_VeilidConfigNetwork ..add(DiagnosticsProperty( 'maxConnectionFrequencyPerMin', maxConnectionFrequencyPerMin)) ..add(DiagnosticsProperty( - 'clientWhitelistTimeoutMs', clientWhitelistTimeoutMs)) + 'clientAllowlistTimeoutMs', clientAllowlistTimeoutMs)) ..add(DiagnosticsProperty( 'reverseConnectionReceiptTimeMs', reverseConnectionReceiptTimeMs)) ..add( @@ -5498,7 +5520,7 @@ class _$_VeilidConfigNetwork bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigNetwork && + other is _$VeilidConfigNetworkImpl && (identical(other.connectionInitialTimeoutMs, connectionInitialTimeoutMs) || other.connectionInitialTimeoutMs == connectionInitialTimeoutMs) && @@ -5516,8 +5538,8 @@ class _$_VeilidConfigNetwork (identical(other.maxConnectionFrequencyPerMin, maxConnectionFrequencyPerMin) || other.maxConnectionFrequencyPerMin == maxConnectionFrequencyPerMin) && - (identical(other.clientWhitelistTimeoutMs, clientWhitelistTimeoutMs) || - other.clientWhitelistTimeoutMs == clientWhitelistTimeoutMs) && + (identical(other.clientAllowlistTimeoutMs, clientAllowlistTimeoutMs) || + other.clientAllowlistTimeoutMs == clientAllowlistTimeoutMs) && (identical(other.reverseConnectionReceiptTimeMs, reverseConnectionReceiptTimeMs) || other.reverseConnectionReceiptTimeMs == @@ -5552,7 +5574,7 @@ class _$_VeilidConfigNetwork maxConnectionsPerIp6Prefix, maxConnectionsPerIp6PrefixSize, maxConnectionFrequencyPerMin, - clientWhitelistTimeoutMs, + clientAllowlistTimeoutMs, reverseConnectionReceiptTimeMs, holePunchReceiptTimeMs, routingTable, @@ -5570,13 +5592,13 @@ class _$_VeilidConfigNetwork @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigNetworkCopyWith<_$_VeilidConfigNetwork> get copyWith => - __$$_VeilidConfigNetworkCopyWithImpl<_$_VeilidConfigNetwork>( + _$$VeilidConfigNetworkImplCopyWith<_$VeilidConfigNetworkImpl> get copyWith => + __$$VeilidConfigNetworkImplCopyWithImpl<_$VeilidConfigNetworkImpl>( this, _$identity); @override Map toJson() { - return _$$_VeilidConfigNetworkToJson( + return _$$VeilidConfigNetworkImplToJson( this, ); } @@ -5590,7 +5612,7 @@ abstract class _VeilidConfigNetwork implements VeilidConfigNetwork { required final int maxConnectionsPerIp6Prefix, required final int maxConnectionsPerIp6PrefixSize, required final int maxConnectionFrequencyPerMin, - required final int clientWhitelistTimeoutMs, + required final int clientAllowlistTimeoutMs, required final int reverseConnectionReceiptTimeMs, required final int holePunchReceiptTimeMs, required final VeilidConfigRoutingTable routingTable, @@ -5602,10 +5624,10 @@ abstract class _VeilidConfigNetwork implements VeilidConfigNetwork { required final VeilidConfigTLS tls, required final VeilidConfigApplication application, required final VeilidConfigProtocol protocol, - final String? networkKeyPassword}) = _$_VeilidConfigNetwork; + final String? networkKeyPassword}) = _$VeilidConfigNetworkImpl; factory _VeilidConfigNetwork.fromJson(Map json) = - _$_VeilidConfigNetwork.fromJson; + _$VeilidConfigNetworkImpl.fromJson; @override int get connectionInitialTimeoutMs; @@ -5620,7 +5642,7 @@ abstract class _VeilidConfigNetwork implements VeilidConfigNetwork { @override int get maxConnectionFrequencyPerMin; @override - int get clientWhitelistTimeoutMs; + int get clientAllowlistTimeoutMs; @override int get reverseConnectionReceiptTimeMs; @override @@ -5647,7 +5669,7 @@ abstract class _VeilidConfigNetwork implements VeilidConfigNetwork { String? get networkKeyPassword; @override @JsonKey(ignore: true) - _$$_VeilidConfigNetworkCopyWith<_$_VeilidConfigNetwork> get copyWith => + _$$VeilidConfigNetworkImplCopyWith<_$VeilidConfigNetworkImpl> get copyWith => throw _privateConstructorUsedError; } @@ -5707,23 +5729,25 @@ class _$VeilidConfigTableStoreCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidConfigTableStoreCopyWith<$Res> +abstract class _$$VeilidConfigTableStoreImplCopyWith<$Res> implements $VeilidConfigTableStoreCopyWith<$Res> { - factory _$$_VeilidConfigTableStoreCopyWith(_$_VeilidConfigTableStore value, - $Res Function(_$_VeilidConfigTableStore) then) = - __$$_VeilidConfigTableStoreCopyWithImpl<$Res>; + factory _$$VeilidConfigTableStoreImplCopyWith( + _$VeilidConfigTableStoreImpl value, + $Res Function(_$VeilidConfigTableStoreImpl) then) = + __$$VeilidConfigTableStoreImplCopyWithImpl<$Res>; @override @useResult $Res call({String directory, bool delete}); } /// @nodoc -class __$$_VeilidConfigTableStoreCopyWithImpl<$Res> +class __$$VeilidConfigTableStoreImplCopyWithImpl<$Res> extends _$VeilidConfigTableStoreCopyWithImpl<$Res, - _$_VeilidConfigTableStore> - implements _$$_VeilidConfigTableStoreCopyWith<$Res> { - __$$_VeilidConfigTableStoreCopyWithImpl(_$_VeilidConfigTableStore _value, - $Res Function(_$_VeilidConfigTableStore) _then) + _$VeilidConfigTableStoreImpl> + implements _$$VeilidConfigTableStoreImplCopyWith<$Res> { + __$$VeilidConfigTableStoreImplCopyWithImpl( + _$VeilidConfigTableStoreImpl _value, + $Res Function(_$VeilidConfigTableStoreImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -5732,7 +5756,7 @@ class __$$_VeilidConfigTableStoreCopyWithImpl<$Res> Object? directory = null, Object? delete = null, }) { - return _then(_$_VeilidConfigTableStore( + return _then(_$VeilidConfigTableStoreImpl( directory: null == directory ? _value.directory : directory // ignore: cast_nullable_to_non_nullable @@ -5747,14 +5771,14 @@ class __$$_VeilidConfigTableStoreCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigTableStore +class _$VeilidConfigTableStoreImpl with DiagnosticableTreeMixin implements _VeilidConfigTableStore { - const _$_VeilidConfigTableStore( + const _$VeilidConfigTableStoreImpl( {required this.directory, required this.delete}); - factory _$_VeilidConfigTableStore.fromJson(Map json) => - _$$_VeilidConfigTableStoreFromJson(json); + factory _$VeilidConfigTableStoreImpl.fromJson(Map json) => + _$$VeilidConfigTableStoreImplFromJson(json); @override final String directory; @@ -5779,7 +5803,7 @@ class _$_VeilidConfigTableStore bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigTableStore && + other is _$VeilidConfigTableStoreImpl && (identical(other.directory, directory) || other.directory == directory) && (identical(other.delete, delete) || other.delete == delete)); @@ -5792,13 +5816,13 @@ class _$_VeilidConfigTableStore @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigTableStoreCopyWith<_$_VeilidConfigTableStore> get copyWith => - __$$_VeilidConfigTableStoreCopyWithImpl<_$_VeilidConfigTableStore>( - this, _$identity); + _$$VeilidConfigTableStoreImplCopyWith<_$VeilidConfigTableStoreImpl> + get copyWith => __$$VeilidConfigTableStoreImplCopyWithImpl< + _$VeilidConfigTableStoreImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidConfigTableStoreToJson( + return _$$VeilidConfigTableStoreImplToJson( this, ); } @@ -5807,10 +5831,10 @@ class _$_VeilidConfigTableStore abstract class _VeilidConfigTableStore implements VeilidConfigTableStore { const factory _VeilidConfigTableStore( {required final String directory, - required final bool delete}) = _$_VeilidConfigTableStore; + required final bool delete}) = _$VeilidConfigTableStoreImpl; factory _VeilidConfigTableStore.fromJson(Map json) = - _$_VeilidConfigTableStore.fromJson; + _$VeilidConfigTableStoreImpl.fromJson; @override String get directory; @@ -5818,8 +5842,8 @@ abstract class _VeilidConfigTableStore implements VeilidConfigTableStore { bool get delete; @override @JsonKey(ignore: true) - _$$_VeilidConfigTableStoreCopyWith<_$_VeilidConfigTableStore> get copyWith => - throw _privateConstructorUsedError; + _$$VeilidConfigTableStoreImplCopyWith<_$VeilidConfigTableStoreImpl> + get copyWith => throw _privateConstructorUsedError; } VeilidConfigBlockStore _$VeilidConfigBlockStoreFromJson( @@ -5878,23 +5902,25 @@ class _$VeilidConfigBlockStoreCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidConfigBlockStoreCopyWith<$Res> +abstract class _$$VeilidConfigBlockStoreImplCopyWith<$Res> implements $VeilidConfigBlockStoreCopyWith<$Res> { - factory _$$_VeilidConfigBlockStoreCopyWith(_$_VeilidConfigBlockStore value, - $Res Function(_$_VeilidConfigBlockStore) then) = - __$$_VeilidConfigBlockStoreCopyWithImpl<$Res>; + factory _$$VeilidConfigBlockStoreImplCopyWith( + _$VeilidConfigBlockStoreImpl value, + $Res Function(_$VeilidConfigBlockStoreImpl) then) = + __$$VeilidConfigBlockStoreImplCopyWithImpl<$Res>; @override @useResult $Res call({String directory, bool delete}); } /// @nodoc -class __$$_VeilidConfigBlockStoreCopyWithImpl<$Res> +class __$$VeilidConfigBlockStoreImplCopyWithImpl<$Res> extends _$VeilidConfigBlockStoreCopyWithImpl<$Res, - _$_VeilidConfigBlockStore> - implements _$$_VeilidConfigBlockStoreCopyWith<$Res> { - __$$_VeilidConfigBlockStoreCopyWithImpl(_$_VeilidConfigBlockStore _value, - $Res Function(_$_VeilidConfigBlockStore) _then) + _$VeilidConfigBlockStoreImpl> + implements _$$VeilidConfigBlockStoreImplCopyWith<$Res> { + __$$VeilidConfigBlockStoreImplCopyWithImpl( + _$VeilidConfigBlockStoreImpl _value, + $Res Function(_$VeilidConfigBlockStoreImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -5903,7 +5929,7 @@ class __$$_VeilidConfigBlockStoreCopyWithImpl<$Res> Object? directory = null, Object? delete = null, }) { - return _then(_$_VeilidConfigBlockStore( + return _then(_$VeilidConfigBlockStoreImpl( directory: null == directory ? _value.directory : directory // ignore: cast_nullable_to_non_nullable @@ -5918,14 +5944,14 @@ class __$$_VeilidConfigBlockStoreCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigBlockStore +class _$VeilidConfigBlockStoreImpl with DiagnosticableTreeMixin implements _VeilidConfigBlockStore { - const _$_VeilidConfigBlockStore( + const _$VeilidConfigBlockStoreImpl( {required this.directory, required this.delete}); - factory _$_VeilidConfigBlockStore.fromJson(Map json) => - _$$_VeilidConfigBlockStoreFromJson(json); + factory _$VeilidConfigBlockStoreImpl.fromJson(Map json) => + _$$VeilidConfigBlockStoreImplFromJson(json); @override final String directory; @@ -5950,7 +5976,7 @@ class _$_VeilidConfigBlockStore bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigBlockStore && + other is _$VeilidConfigBlockStoreImpl && (identical(other.directory, directory) || other.directory == directory) && (identical(other.delete, delete) || other.delete == delete)); @@ -5963,13 +5989,13 @@ class _$_VeilidConfigBlockStore @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigBlockStoreCopyWith<_$_VeilidConfigBlockStore> get copyWith => - __$$_VeilidConfigBlockStoreCopyWithImpl<_$_VeilidConfigBlockStore>( - this, _$identity); + _$$VeilidConfigBlockStoreImplCopyWith<_$VeilidConfigBlockStoreImpl> + get copyWith => __$$VeilidConfigBlockStoreImplCopyWithImpl< + _$VeilidConfigBlockStoreImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidConfigBlockStoreToJson( + return _$$VeilidConfigBlockStoreImplToJson( this, ); } @@ -5978,10 +6004,10 @@ class _$_VeilidConfigBlockStore abstract class _VeilidConfigBlockStore implements VeilidConfigBlockStore { const factory _VeilidConfigBlockStore( {required final String directory, - required final bool delete}) = _$_VeilidConfigBlockStore; + required final bool delete}) = _$VeilidConfigBlockStoreImpl; factory _VeilidConfigBlockStore.fromJson(Map json) = - _$_VeilidConfigBlockStore.fromJson; + _$VeilidConfigBlockStoreImpl.fromJson; @override String get directory; @@ -5989,8 +6015,8 @@ abstract class _VeilidConfigBlockStore implements VeilidConfigBlockStore { bool get delete; @override @JsonKey(ignore: true) - _$$_VeilidConfigBlockStoreCopyWith<_$_VeilidConfigBlockStore> get copyWith => - throw _privateConstructorUsedError; + _$$VeilidConfigBlockStoreImplCopyWith<_$VeilidConfigBlockStoreImpl> + get copyWith => throw _privateConstructorUsedError; } VeilidConfigProtectedStore _$VeilidConfigProtectedStoreFromJson( @@ -6081,12 +6107,12 @@ class _$VeilidConfigProtectedStoreCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidConfigProtectedStoreCopyWith<$Res> +abstract class _$$VeilidConfigProtectedStoreImplCopyWith<$Res> implements $VeilidConfigProtectedStoreCopyWith<$Res> { - factory _$$_VeilidConfigProtectedStoreCopyWith( - _$_VeilidConfigProtectedStore value, - $Res Function(_$_VeilidConfigProtectedStore) then) = - __$$_VeilidConfigProtectedStoreCopyWithImpl<$Res>; + factory _$$VeilidConfigProtectedStoreImplCopyWith( + _$VeilidConfigProtectedStoreImpl value, + $Res Function(_$VeilidConfigProtectedStoreImpl) then) = + __$$VeilidConfigProtectedStoreImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -6099,13 +6125,13 @@ abstract class _$$_VeilidConfigProtectedStoreCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigProtectedStoreCopyWithImpl<$Res> +class __$$VeilidConfigProtectedStoreImplCopyWithImpl<$Res> extends _$VeilidConfigProtectedStoreCopyWithImpl<$Res, - _$_VeilidConfigProtectedStore> - implements _$$_VeilidConfigProtectedStoreCopyWith<$Res> { - __$$_VeilidConfigProtectedStoreCopyWithImpl( - _$_VeilidConfigProtectedStore _value, - $Res Function(_$_VeilidConfigProtectedStore) _then) + _$VeilidConfigProtectedStoreImpl> + implements _$$VeilidConfigProtectedStoreImplCopyWith<$Res> { + __$$VeilidConfigProtectedStoreImplCopyWithImpl( + _$VeilidConfigProtectedStoreImpl _value, + $Res Function(_$VeilidConfigProtectedStoreImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -6118,7 +6144,7 @@ class __$$_VeilidConfigProtectedStoreCopyWithImpl<$Res> Object? deviceEncryptionKeyPassword = null, Object? newDeviceEncryptionKeyPassword = freezed, }) { - return _then(_$_VeilidConfigProtectedStore( + return _then(_$VeilidConfigProtectedStoreImpl( allowInsecureFallback: null == allowInsecureFallback ? _value.allowInsecureFallback : allowInsecureFallback // ignore: cast_nullable_to_non_nullable @@ -6149,10 +6175,10 @@ class __$$_VeilidConfigProtectedStoreCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigProtectedStore +class _$VeilidConfigProtectedStoreImpl with DiagnosticableTreeMixin implements _VeilidConfigProtectedStore { - const _$_VeilidConfigProtectedStore( + const _$VeilidConfigProtectedStoreImpl( {required this.allowInsecureFallback, required this.alwaysUseInsecureStorage, required this.directory, @@ -6160,8 +6186,9 @@ class _$_VeilidConfigProtectedStore required this.deviceEncryptionKeyPassword, this.newDeviceEncryptionKeyPassword}); - factory _$_VeilidConfigProtectedStore.fromJson(Map json) => - _$$_VeilidConfigProtectedStoreFromJson(json); + factory _$VeilidConfigProtectedStoreImpl.fromJson( + Map json) => + _$$VeilidConfigProtectedStoreImplFromJson(json); @override final bool allowInsecureFallback; @@ -6201,7 +6228,7 @@ class _$_VeilidConfigProtectedStore bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigProtectedStore && + other is _$VeilidConfigProtectedStoreImpl && (identical(other.allowInsecureFallback, allowInsecureFallback) || other.allowInsecureFallback == allowInsecureFallback) && (identical( @@ -6234,13 +6261,13 @@ class _$_VeilidConfigProtectedStore @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigProtectedStoreCopyWith<_$_VeilidConfigProtectedStore> - get copyWith => __$$_VeilidConfigProtectedStoreCopyWithImpl< - _$_VeilidConfigProtectedStore>(this, _$identity); + _$$VeilidConfigProtectedStoreImplCopyWith<_$VeilidConfigProtectedStoreImpl> + get copyWith => __$$VeilidConfigProtectedStoreImplCopyWithImpl< + _$VeilidConfigProtectedStoreImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidConfigProtectedStoreToJson( + return _$$VeilidConfigProtectedStoreImplToJson( this, ); } @@ -6255,10 +6282,10 @@ abstract class _VeilidConfigProtectedStore required final bool delete, required final String deviceEncryptionKeyPassword, final String? newDeviceEncryptionKeyPassword}) = - _$_VeilidConfigProtectedStore; + _$VeilidConfigProtectedStoreImpl; factory _VeilidConfigProtectedStore.fromJson(Map json) = - _$_VeilidConfigProtectedStore.fromJson; + _$VeilidConfigProtectedStoreImpl.fromJson; @override bool get allowInsecureFallback; @@ -6274,7 +6301,7 @@ abstract class _VeilidConfigProtectedStore String? get newDeviceEncryptionKeyPassword; @override @JsonKey(ignore: true) - _$$_VeilidConfigProtectedStoreCopyWith<_$_VeilidConfigProtectedStore> + _$$VeilidConfigProtectedStoreImplCopyWith<_$VeilidConfigProtectedStoreImpl> get copyWith => throw _privateConstructorUsedError; } @@ -6328,24 +6355,25 @@ class _$VeilidConfigCapabilitiesCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidConfigCapabilitiesCopyWith<$Res> +abstract class _$$VeilidConfigCapabilitiesImplCopyWith<$Res> implements $VeilidConfigCapabilitiesCopyWith<$Res> { - factory _$$_VeilidConfigCapabilitiesCopyWith( - _$_VeilidConfigCapabilities value, - $Res Function(_$_VeilidConfigCapabilities) then) = - __$$_VeilidConfigCapabilitiesCopyWithImpl<$Res>; + factory _$$VeilidConfigCapabilitiesImplCopyWith( + _$VeilidConfigCapabilitiesImpl value, + $Res Function(_$VeilidConfigCapabilitiesImpl) then) = + __$$VeilidConfigCapabilitiesImplCopyWithImpl<$Res>; @override @useResult $Res call({List disable}); } /// @nodoc -class __$$_VeilidConfigCapabilitiesCopyWithImpl<$Res> +class __$$VeilidConfigCapabilitiesImplCopyWithImpl<$Res> extends _$VeilidConfigCapabilitiesCopyWithImpl<$Res, - _$_VeilidConfigCapabilities> - implements _$$_VeilidConfigCapabilitiesCopyWith<$Res> { - __$$_VeilidConfigCapabilitiesCopyWithImpl(_$_VeilidConfigCapabilities _value, - $Res Function(_$_VeilidConfigCapabilities) _then) + _$VeilidConfigCapabilitiesImpl> + implements _$$VeilidConfigCapabilitiesImplCopyWith<$Res> { + __$$VeilidConfigCapabilitiesImplCopyWithImpl( + _$VeilidConfigCapabilitiesImpl _value, + $Res Function(_$VeilidConfigCapabilitiesImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -6353,7 +6381,7 @@ class __$$_VeilidConfigCapabilitiesCopyWithImpl<$Res> $Res call({ Object? disable = null, }) { - return _then(_$_VeilidConfigCapabilities( + return _then(_$VeilidConfigCapabilitiesImpl( disable: null == disable ? _value._disable : disable // ignore: cast_nullable_to_non_nullable @@ -6364,14 +6392,14 @@ class __$$_VeilidConfigCapabilitiesCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfigCapabilities +class _$VeilidConfigCapabilitiesImpl with DiagnosticableTreeMixin implements _VeilidConfigCapabilities { - const _$_VeilidConfigCapabilities({required final List disable}) + const _$VeilidConfigCapabilitiesImpl({required final List disable}) : _disable = disable; - factory _$_VeilidConfigCapabilities.fromJson(Map json) => - _$$_VeilidConfigCapabilitiesFromJson(json); + factory _$VeilidConfigCapabilitiesImpl.fromJson(Map json) => + _$$VeilidConfigCapabilitiesImplFromJson(json); final List _disable; @override @@ -6398,7 +6426,7 @@ class _$_VeilidConfigCapabilities bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfigCapabilities && + other is _$VeilidConfigCapabilitiesImpl && const DeepCollectionEquality().equals(other._disable, _disable)); } @@ -6410,13 +6438,13 @@ class _$_VeilidConfigCapabilities @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigCapabilitiesCopyWith<_$_VeilidConfigCapabilities> - get copyWith => __$$_VeilidConfigCapabilitiesCopyWithImpl< - _$_VeilidConfigCapabilities>(this, _$identity); + _$$VeilidConfigCapabilitiesImplCopyWith<_$VeilidConfigCapabilitiesImpl> + get copyWith => __$$VeilidConfigCapabilitiesImplCopyWithImpl< + _$VeilidConfigCapabilitiesImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidConfigCapabilitiesToJson( + return _$$VeilidConfigCapabilitiesImplToJson( this, ); } @@ -6424,16 +6452,16 @@ class _$_VeilidConfigCapabilities abstract class _VeilidConfigCapabilities implements VeilidConfigCapabilities { const factory _VeilidConfigCapabilities( - {required final List disable}) = _$_VeilidConfigCapabilities; + {required final List disable}) = _$VeilidConfigCapabilitiesImpl; factory _VeilidConfigCapabilities.fromJson(Map json) = - _$_VeilidConfigCapabilities.fromJson; + _$VeilidConfigCapabilitiesImpl.fromJson; @override List get disable; @override @JsonKey(ignore: true) - _$$_VeilidConfigCapabilitiesCopyWith<_$_VeilidConfigCapabilities> + _$$VeilidConfigCapabilitiesImplCopyWith<_$VeilidConfigCapabilitiesImpl> get copyWith => throw _privateConstructorUsedError; } @@ -6578,11 +6606,11 @@ class _$VeilidConfigCopyWithImpl<$Res, $Val extends VeilidConfig> } /// @nodoc -abstract class _$$_VeilidConfigCopyWith<$Res> +abstract class _$$VeilidConfigImplCopyWith<$Res> implements $VeilidConfigCopyWith<$Res> { - factory _$$_VeilidConfigCopyWith( - _$_VeilidConfig value, $Res Function(_$_VeilidConfig) then) = - __$$_VeilidConfigCopyWithImpl<$Res>; + factory _$$VeilidConfigImplCopyWith( + _$VeilidConfigImpl value, $Res Function(_$VeilidConfigImpl) then) = + __$$VeilidConfigImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -6607,11 +6635,11 @@ abstract class _$$_VeilidConfigCopyWith<$Res> } /// @nodoc -class __$$_VeilidConfigCopyWithImpl<$Res> - extends _$VeilidConfigCopyWithImpl<$Res, _$_VeilidConfig> - implements _$$_VeilidConfigCopyWith<$Res> { - __$$_VeilidConfigCopyWithImpl( - _$_VeilidConfig _value, $Res Function(_$_VeilidConfig) _then) +class __$$VeilidConfigImplCopyWithImpl<$Res> + extends _$VeilidConfigCopyWithImpl<$Res, _$VeilidConfigImpl> + implements _$$VeilidConfigImplCopyWith<$Res> { + __$$VeilidConfigImplCopyWithImpl( + _$VeilidConfigImpl _value, $Res Function(_$VeilidConfigImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -6625,7 +6653,7 @@ class __$$_VeilidConfigCopyWithImpl<$Res> Object? blockStore = null, Object? network = null, }) { - return _then(_$_VeilidConfig( + return _then(_$VeilidConfigImpl( programName: null == programName ? _value.programName : programName // ignore: cast_nullable_to_non_nullable @@ -6660,8 +6688,8 @@ class __$$_VeilidConfigCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidConfig with DiagnosticableTreeMixin implements _VeilidConfig { - const _$_VeilidConfig( +class _$VeilidConfigImpl with DiagnosticableTreeMixin implements _VeilidConfig { + const _$VeilidConfigImpl( {required this.programName, required this.namespace, required this.capabilities, @@ -6670,8 +6698,8 @@ class _$_VeilidConfig with DiagnosticableTreeMixin implements _VeilidConfig { required this.blockStore, required this.network}); - factory _$_VeilidConfig.fromJson(Map json) => - _$$_VeilidConfigFromJson(json); + factory _$VeilidConfigImpl.fromJson(Map json) => + _$$VeilidConfigImplFromJson(json); @override final String programName; @@ -6711,7 +6739,7 @@ class _$_VeilidConfig with DiagnosticableTreeMixin implements _VeilidConfig { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidConfig && + other is _$VeilidConfigImpl && (identical(other.programName, programName) || other.programName == programName) && (identical(other.namespace, namespace) || @@ -6735,12 +6763,12 @@ class _$_VeilidConfig with DiagnosticableTreeMixin implements _VeilidConfig { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidConfigCopyWith<_$_VeilidConfig> get copyWith => - __$$_VeilidConfigCopyWithImpl<_$_VeilidConfig>(this, _$identity); + _$$VeilidConfigImplCopyWith<_$VeilidConfigImpl> get copyWith => + __$$VeilidConfigImplCopyWithImpl<_$VeilidConfigImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidConfigToJson( + return _$$VeilidConfigImplToJson( this, ); } @@ -6754,10 +6782,10 @@ abstract class _VeilidConfig implements VeilidConfig { required final VeilidConfigProtectedStore protectedStore, required final VeilidConfigTableStore tableStore, required final VeilidConfigBlockStore blockStore, - required final VeilidConfigNetwork network}) = _$_VeilidConfig; + required final VeilidConfigNetwork network}) = _$VeilidConfigImpl; factory _VeilidConfig.fromJson(Map json) = - _$_VeilidConfig.fromJson; + _$VeilidConfigImpl.fromJson; @override String get programName; @@ -6775,6 +6803,6 @@ abstract class _VeilidConfig implements VeilidConfig { VeilidConfigNetwork get network; @override @JsonKey(ignore: true) - _$$_VeilidConfigCopyWith<_$_VeilidConfig> get copyWith => + _$$VeilidConfigImplCopyWith<_$VeilidConfigImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/veilid-flutter/lib/veilid_config.g.dart b/veilid-flutter/lib/veilid_config.g.dart index 355367ee..b6079785 100644 --- a/veilid-flutter/lib/veilid_config.g.dart +++ b/veilid-flutter/lib/veilid_config.g.dart @@ -6,31 +6,31 @@ part of 'veilid_config.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_VeilidFFIConfigLoggingTerminal _$$_VeilidFFIConfigLoggingTerminalFromJson( - Map json) => - _$_VeilidFFIConfigLoggingTerminal( - enabled: json['enabled'] as bool, - level: VeilidConfigLogLevel.fromJson(json['level']), - ); +_$VeilidFFIConfigLoggingTerminalImpl + _$$VeilidFFIConfigLoggingTerminalImplFromJson(Map json) => + _$VeilidFFIConfigLoggingTerminalImpl( + enabled: json['enabled'] as bool, + level: VeilidConfigLogLevel.fromJson(json['level']), + ); -Map _$$_VeilidFFIConfigLoggingTerminalToJson( - _$_VeilidFFIConfigLoggingTerminal instance) => +Map _$$VeilidFFIConfigLoggingTerminalImplToJson( + _$VeilidFFIConfigLoggingTerminalImpl instance) => { 'enabled': instance.enabled, 'level': instance.level.toJson(), }; -_$_VeilidFFIConfigLoggingOtlp _$$_VeilidFFIConfigLoggingOtlpFromJson( +_$VeilidFFIConfigLoggingOtlpImpl _$$VeilidFFIConfigLoggingOtlpImplFromJson( Map json) => - _$_VeilidFFIConfigLoggingOtlp( + _$VeilidFFIConfigLoggingOtlpImpl( enabled: json['enabled'] as bool, level: VeilidConfigLogLevel.fromJson(json['level']), grpcEndpoint: json['grpc_endpoint'] as String, serviceName: json['service_name'] as String, ); -Map _$$_VeilidFFIConfigLoggingOtlpToJson( - _$_VeilidFFIConfigLoggingOtlp instance) => +Map _$$VeilidFFIConfigLoggingOtlpImplToJson( + _$VeilidFFIConfigLoggingOtlpImpl instance) => { 'enabled': instance.enabled, 'level': instance.level.toJson(), @@ -38,57 +38,60 @@ Map _$$_VeilidFFIConfigLoggingOtlpToJson( 'service_name': instance.serviceName, }; -_$_VeilidFFIConfigLoggingApi _$$_VeilidFFIConfigLoggingApiFromJson( +_$VeilidFFIConfigLoggingApiImpl _$$VeilidFFIConfigLoggingApiImplFromJson( Map json) => - _$_VeilidFFIConfigLoggingApi( + _$VeilidFFIConfigLoggingApiImpl( enabled: json['enabled'] as bool, level: VeilidConfigLogLevel.fromJson(json['level']), ); -Map _$$_VeilidFFIConfigLoggingApiToJson( - _$_VeilidFFIConfigLoggingApi instance) => +Map _$$VeilidFFIConfigLoggingApiImplToJson( + _$VeilidFFIConfigLoggingApiImpl instance) => { 'enabled': instance.enabled, 'level': instance.level.toJson(), }; -_$_VeilidFFIConfigLogging _$$_VeilidFFIConfigLoggingFromJson( +_$VeilidFFIConfigLoggingImpl _$$VeilidFFIConfigLoggingImplFromJson( Map json) => - _$_VeilidFFIConfigLogging( + _$VeilidFFIConfigLoggingImpl( terminal: VeilidFFIConfigLoggingTerminal.fromJson(json['terminal']), otlp: VeilidFFIConfigLoggingOtlp.fromJson(json['otlp']), api: VeilidFFIConfigLoggingApi.fromJson(json['api']), ); -Map _$$_VeilidFFIConfigLoggingToJson( - _$_VeilidFFIConfigLogging instance) => +Map _$$VeilidFFIConfigLoggingImplToJson( + _$VeilidFFIConfigLoggingImpl instance) => { 'terminal': instance.terminal.toJson(), 'otlp': instance.otlp.toJson(), 'api': instance.api.toJson(), }; -_$_VeilidFFIConfig _$$_VeilidFFIConfigFromJson(Map json) => - _$_VeilidFFIConfig( +_$VeilidFFIConfigImpl _$$VeilidFFIConfigImplFromJson( + Map json) => + _$VeilidFFIConfigImpl( logging: VeilidFFIConfigLogging.fromJson(json['logging']), ); -Map _$$_VeilidFFIConfigToJson(_$_VeilidFFIConfig instance) => +Map _$$VeilidFFIConfigImplToJson( + _$VeilidFFIConfigImpl instance) => { 'logging': instance.logging.toJson(), }; -_$_VeilidWASMConfigLoggingPerformance - _$$_VeilidWASMConfigLoggingPerformanceFromJson(Map json) => - _$_VeilidWASMConfigLoggingPerformance( +_$VeilidWASMConfigLoggingPerformanceImpl + _$$VeilidWASMConfigLoggingPerformanceImplFromJson( + Map json) => + _$VeilidWASMConfigLoggingPerformanceImpl( enabled: json['enabled'] as bool, level: VeilidConfigLogLevel.fromJson(json['level']), logsInTimings: json['logs_in_timings'] as bool, logsInConsole: json['logs_in_console'] as bool, ); -Map _$$_VeilidWASMConfigLoggingPerformanceToJson( - _$_VeilidWASMConfigLoggingPerformance instance) => +Map _$$VeilidWASMConfigLoggingPerformanceImplToJson( + _$VeilidWASMConfigLoggingPerformanceImpl instance) => { 'enabled': instance.enabled, 'level': instance.level.toJson(), @@ -96,101 +99,108 @@ Map _$$_VeilidWASMConfigLoggingPerformanceToJson( 'logs_in_console': instance.logsInConsole, }; -_$_VeilidWASMConfigLoggingApi _$$_VeilidWASMConfigLoggingApiFromJson( +_$VeilidWASMConfigLoggingApiImpl _$$VeilidWASMConfigLoggingApiImplFromJson( Map json) => - _$_VeilidWASMConfigLoggingApi( + _$VeilidWASMConfigLoggingApiImpl( enabled: json['enabled'] as bool, level: VeilidConfigLogLevel.fromJson(json['level']), ); -Map _$$_VeilidWASMConfigLoggingApiToJson( - _$_VeilidWASMConfigLoggingApi instance) => +Map _$$VeilidWASMConfigLoggingApiImplToJson( + _$VeilidWASMConfigLoggingApiImpl instance) => { 'enabled': instance.enabled, 'level': instance.level.toJson(), }; -_$_VeilidWASMConfigLogging _$$_VeilidWASMConfigLoggingFromJson( +_$VeilidWASMConfigLoggingImpl _$$VeilidWASMConfigLoggingImplFromJson( Map json) => - _$_VeilidWASMConfigLogging( + _$VeilidWASMConfigLoggingImpl( performance: VeilidWASMConfigLoggingPerformance.fromJson(json['performance']), api: VeilidWASMConfigLoggingApi.fromJson(json['api']), ); -Map _$$_VeilidWASMConfigLoggingToJson( - _$_VeilidWASMConfigLogging instance) => +Map _$$VeilidWASMConfigLoggingImplToJson( + _$VeilidWASMConfigLoggingImpl instance) => { 'performance': instance.performance.toJson(), 'api': instance.api.toJson(), }; -_$_VeilidWASMConfig _$$_VeilidWASMConfigFromJson(Map json) => - _$_VeilidWASMConfig( +_$VeilidWASMConfigImpl _$$VeilidWASMConfigImplFromJson( + Map json) => + _$VeilidWASMConfigImpl( logging: VeilidWASMConfigLogging.fromJson(json['logging']), ); -Map _$$_VeilidWASMConfigToJson(_$_VeilidWASMConfig instance) => +Map _$$VeilidWASMConfigImplToJson( + _$VeilidWASMConfigImpl instance) => { 'logging': instance.logging.toJson(), }; -_$_VeilidConfigHTTPS _$$_VeilidConfigHTTPSFromJson(Map json) => - _$_VeilidConfigHTTPS( - enabled: json['enabled'] as bool, - listenAddress: json['listen_address'] as String, - path: json['path'] as String, - url: json['url'] as String?, - ); - -Map _$$_VeilidConfigHTTPSToJson( - _$_VeilidConfigHTTPS instance) => - { - 'enabled': instance.enabled, - 'listen_address': instance.listenAddress, - 'path': instance.path, - 'url': instance.url, - }; - -_$_VeilidConfigHTTP _$$_VeilidConfigHTTPFromJson(Map json) => - _$_VeilidConfigHTTP( - enabled: json['enabled'] as bool, - listenAddress: json['listen_address'] as String, - path: json['path'] as String, - url: json['url'] as String?, - ); - -Map _$$_VeilidConfigHTTPToJson(_$_VeilidConfigHTTP instance) => - { - 'enabled': instance.enabled, - 'listen_address': instance.listenAddress, - 'path': instance.path, - 'url': instance.url, - }; - -_$_VeilidConfigApplication _$$_VeilidConfigApplicationFromJson( +_$VeilidConfigHTTPSImpl _$$VeilidConfigHTTPSImplFromJson( Map json) => - _$_VeilidConfigApplication( + _$VeilidConfigHTTPSImpl( + enabled: json['enabled'] as bool, + listenAddress: json['listen_address'] as String, + path: json['path'] as String, + url: json['url'] as String?, + ); + +Map _$$VeilidConfigHTTPSImplToJson( + _$VeilidConfigHTTPSImpl instance) => + { + 'enabled': instance.enabled, + 'listen_address': instance.listenAddress, + 'path': instance.path, + 'url': instance.url, + }; + +_$VeilidConfigHTTPImpl _$$VeilidConfigHTTPImplFromJson( + Map json) => + _$VeilidConfigHTTPImpl( + enabled: json['enabled'] as bool, + listenAddress: json['listen_address'] as String, + path: json['path'] as String, + url: json['url'] as String?, + ); + +Map _$$VeilidConfigHTTPImplToJson( + _$VeilidConfigHTTPImpl instance) => + { + 'enabled': instance.enabled, + 'listen_address': instance.listenAddress, + 'path': instance.path, + 'url': instance.url, + }; + +_$VeilidConfigApplicationImpl _$$VeilidConfigApplicationImplFromJson( + Map json) => + _$VeilidConfigApplicationImpl( https: VeilidConfigHTTPS.fromJson(json['https']), http: VeilidConfigHTTP.fromJson(json['http']), ); -Map _$$_VeilidConfigApplicationToJson( - _$_VeilidConfigApplication instance) => +Map _$$VeilidConfigApplicationImplToJson( + _$VeilidConfigApplicationImpl instance) => { 'https': instance.https.toJson(), 'http': instance.http.toJson(), }; -_$_VeilidConfigUDP _$$_VeilidConfigUDPFromJson(Map json) => - _$_VeilidConfigUDP( +_$VeilidConfigUDPImpl _$$VeilidConfigUDPImplFromJson( + Map json) => + _$VeilidConfigUDPImpl( enabled: json['enabled'] as bool, socketPoolSize: json['socket_pool_size'] as int, listenAddress: json['listen_address'] as String, publicAddress: json['public_address'] as String?, ); -Map _$$_VeilidConfigUDPToJson(_$_VeilidConfigUDP instance) => +Map _$$VeilidConfigUDPImplToJson( + _$VeilidConfigUDPImpl instance) => { 'enabled': instance.enabled, 'socket_pool_size': instance.socketPoolSize, @@ -198,8 +208,9 @@ Map _$$_VeilidConfigUDPToJson(_$_VeilidConfigUDP instance) => 'public_address': instance.publicAddress, }; -_$_VeilidConfigTCP _$$_VeilidConfigTCPFromJson(Map json) => - _$_VeilidConfigTCP( +_$VeilidConfigTCPImpl _$$VeilidConfigTCPImplFromJson( + Map json) => + _$VeilidConfigTCPImpl( connect: json['connect'] as bool, listen: json['listen'] as bool, maxConnections: json['max_connections'] as int, @@ -207,7 +218,8 @@ _$_VeilidConfigTCP _$$_VeilidConfigTCPFromJson(Map json) => publicAddress: json['public_address'] as String?, ); -Map _$$_VeilidConfigTCPToJson(_$_VeilidConfigTCP instance) => +Map _$$VeilidConfigTCPImplToJson( + _$VeilidConfigTCPImpl instance) => { 'connect': instance.connect, 'listen': instance.listen, @@ -216,8 +228,8 @@ Map _$$_VeilidConfigTCPToJson(_$_VeilidConfigTCP instance) => 'public_address': instance.publicAddress, }; -_$_VeilidConfigWS _$$_VeilidConfigWSFromJson(Map json) => - _$_VeilidConfigWS( +_$VeilidConfigWSImpl _$$VeilidConfigWSImplFromJson(Map json) => + _$VeilidConfigWSImpl( connect: json['connect'] as bool, listen: json['listen'] as bool, maxConnections: json['max_connections'] as int, @@ -226,7 +238,8 @@ _$_VeilidConfigWS _$$_VeilidConfigWSFromJson(Map json) => url: json['url'] as String?, ); -Map _$$_VeilidConfigWSToJson(_$_VeilidConfigWS instance) => +Map _$$VeilidConfigWSImplToJson( + _$VeilidConfigWSImpl instance) => { 'connect': instance.connect, 'listen': instance.listen, @@ -236,37 +249,39 @@ Map _$$_VeilidConfigWSToJson(_$_VeilidConfigWS instance) => 'url': instance.url, }; -_$_VeilidConfigWSS _$$_VeilidConfigWSSFromJson(Map json) => - _$_VeilidConfigWSS( - connect: json['connect'] as bool, - listen: json['listen'] as bool, - maxConnections: json['max_connections'] as int, - listenAddress: json['listen_address'] as String, - path: json['path'] as String, - url: json['url'] as String?, - ); - -Map _$$_VeilidConfigWSSToJson(_$_VeilidConfigWSS instance) => - { - 'connect': instance.connect, - 'listen': instance.listen, - 'max_connections': instance.maxConnections, - 'listen_address': instance.listenAddress, - 'path': instance.path, - 'url': instance.url, - }; - -_$_VeilidConfigProtocol _$$_VeilidConfigProtocolFromJson( +_$VeilidConfigWSSImpl _$$VeilidConfigWSSImplFromJson( Map json) => - _$_VeilidConfigProtocol( + _$VeilidConfigWSSImpl( + connect: json['connect'] as bool, + listen: json['listen'] as bool, + maxConnections: json['max_connections'] as int, + listenAddress: json['listen_address'] as String, + path: json['path'] as String, + url: json['url'] as String?, + ); + +Map _$$VeilidConfigWSSImplToJson( + _$VeilidConfigWSSImpl instance) => + { + 'connect': instance.connect, + 'listen': instance.listen, + 'max_connections': instance.maxConnections, + 'listen_address': instance.listenAddress, + 'path': instance.path, + 'url': instance.url, + }; + +_$VeilidConfigProtocolImpl _$$VeilidConfigProtocolImplFromJson( + Map json) => + _$VeilidConfigProtocolImpl( udp: VeilidConfigUDP.fromJson(json['udp']), tcp: VeilidConfigTCP.fromJson(json['tcp']), ws: VeilidConfigWS.fromJson(json['ws']), wss: VeilidConfigWSS.fromJson(json['wss']), ); -Map _$$_VeilidConfigProtocolToJson( - _$_VeilidConfigProtocol instance) => +Map _$$VeilidConfigProtocolImplToJson( + _$VeilidConfigProtocolImpl instance) => { 'udp': instance.udp.toJson(), 'tcp': instance.tcp.toJson(), @@ -274,22 +289,25 @@ Map _$$_VeilidConfigProtocolToJson( 'wss': instance.wss.toJson(), }; -_$_VeilidConfigTLS _$$_VeilidConfigTLSFromJson(Map json) => - _$_VeilidConfigTLS( +_$VeilidConfigTLSImpl _$$VeilidConfigTLSImplFromJson( + Map json) => + _$VeilidConfigTLSImpl( certificatePath: json['certificate_path'] as String, privateKeyPath: json['private_key_path'] as String, connectionInitialTimeoutMs: json['connection_initial_timeout_ms'] as int, ); -Map _$$_VeilidConfigTLSToJson(_$_VeilidConfigTLS instance) => +Map _$$VeilidConfigTLSImplToJson( + _$VeilidConfigTLSImpl instance) => { 'certificate_path': instance.certificatePath, 'private_key_path': instance.privateKeyPath, 'connection_initial_timeout_ms': instance.connectionInitialTimeoutMs, }; -_$_VeilidConfigDHT _$$_VeilidConfigDHTFromJson(Map json) => - _$_VeilidConfigDHT( +_$VeilidConfigDHTImpl _$$VeilidConfigDHTImplFromJson( + Map json) => + _$VeilidConfigDHTImpl( resolveNodeTimeoutMs: json['resolve_node_timeout_ms'] as int, resolveNodeCount: json['resolve_node_count'] as int, resolveNodeFanout: json['resolve_node_fanout'] as int, @@ -314,7 +332,8 @@ _$_VeilidConfigDHT _$$_VeilidConfigDHTFromJson(Map json) => remoteMaxStorageSpaceMb: json['remote_max_storage_space_mb'] as int, ); -Map _$$_VeilidConfigDHTToJson(_$_VeilidConfigDHT instance) => +Map _$$VeilidConfigDHTImplToJson( + _$VeilidConfigDHTImpl instance) => { 'resolve_node_timeout_ms': instance.resolveNodeTimeoutMs, 'resolve_node_count': instance.resolveNodeCount, @@ -339,8 +358,9 @@ Map _$$_VeilidConfigDHTToJson(_$_VeilidConfigDHT instance) => 'remote_max_storage_space_mb': instance.remoteMaxStorageSpaceMb, }; -_$_VeilidConfigRPC _$$_VeilidConfigRPCFromJson(Map json) => - _$_VeilidConfigRPC( +_$VeilidConfigRPCImpl _$$VeilidConfigRPCImplFromJson( + Map json) => + _$VeilidConfigRPCImpl( concurrency: json['concurrency'] as int, queueSize: json['queue_size'] as int, timeoutMs: json['timeout_ms'] as int, @@ -350,7 +370,8 @@ _$_VeilidConfigRPC _$$_VeilidConfigRPCFromJson(Map json) => maxTimestampAheadMs: json['max_timestamp_ahead_ms'] as int?, ); -Map _$$_VeilidConfigRPCToJson(_$_VeilidConfigRPC instance) => +Map _$$VeilidConfigRPCImplToJson( + _$VeilidConfigRPCImpl instance) => { 'concurrency': instance.concurrency, 'queue_size': instance.queueSize, @@ -361,9 +382,9 @@ Map _$$_VeilidConfigRPCToJson(_$_VeilidConfigRPC instance) => 'max_timestamp_ahead_ms': instance.maxTimestampAheadMs, }; -_$_VeilidConfigRoutingTable _$$_VeilidConfigRoutingTableFromJson( +_$VeilidConfigRoutingTableImpl _$$VeilidConfigRoutingTableImplFromJson( Map json) => - _$_VeilidConfigRoutingTable( + _$VeilidConfigRoutingTableImpl( nodeId: (json['node_id'] as List) .map(Typed.fromJson) .toList(), @@ -379,8 +400,8 @@ _$_VeilidConfigRoutingTable _$$_VeilidConfigRoutingTableFromJson( limitAttachedWeak: json['limit_attached_weak'] as int, ); -Map _$$_VeilidConfigRoutingTableToJson( - _$_VeilidConfigRoutingTable instance) => +Map _$$VeilidConfigRoutingTableImplToJson( + _$VeilidConfigRoutingTableImpl instance) => { 'node_id': instance.nodeId.map((e) => e.toJson()).toList(), 'node_id_secret': instance.nodeIdSecret.map((e) => e.toJson()).toList(), @@ -392,9 +413,9 @@ Map _$$_VeilidConfigRoutingTableToJson( 'limit_attached_weak': instance.limitAttachedWeak, }; -_$_VeilidConfigNetwork _$$_VeilidConfigNetworkFromJson( +_$VeilidConfigNetworkImpl _$$VeilidConfigNetworkImplFromJson( Map json) => - _$_VeilidConfigNetwork( + _$VeilidConfigNetworkImpl( connectionInitialTimeoutMs: json['connection_initial_timeout_ms'] as int, connectionInactivityTimeoutMs: json['connection_inactivity_timeout_ms'] as int, @@ -404,7 +425,7 @@ _$_VeilidConfigNetwork _$$_VeilidConfigNetworkFromJson( json['max_connections_per_ip6_prefix_size'] as int, maxConnectionFrequencyPerMin: json['max_connection_frequency_per_min'] as int, - clientWhitelistTimeoutMs: json['client_whitelist_timeout_ms'] as int, + clientAllowlistTimeoutMs: json['client_allowlist_timeout_ms'] as int, reverseConnectionReceiptTimeMs: json['reverse_connection_receipt_time_ms'] as int, holePunchReceiptTimeMs: json['hole_punch_receipt_time_ms'] as int, @@ -420,8 +441,8 @@ _$_VeilidConfigNetwork _$$_VeilidConfigNetworkFromJson( networkKeyPassword: json['network_key_password'] as String?, ); -Map _$$_VeilidConfigNetworkToJson( - _$_VeilidConfigNetwork instance) => +Map _$$VeilidConfigNetworkImplToJson( + _$VeilidConfigNetworkImpl instance) => { 'connection_initial_timeout_ms': instance.connectionInitialTimeoutMs, 'connection_inactivity_timeout_ms': @@ -431,7 +452,7 @@ Map _$$_VeilidConfigNetworkToJson( 'max_connections_per_ip6_prefix_size': instance.maxConnectionsPerIp6PrefixSize, 'max_connection_frequency_per_min': instance.maxConnectionFrequencyPerMin, - 'client_whitelist_timeout_ms': instance.clientWhitelistTimeoutMs, + 'client_allowlist_timeout_ms': instance.clientAllowlistTimeoutMs, 'reverse_connection_receipt_time_ms': instance.reverseConnectionReceiptTimeMs, 'hole_punch_receipt_time_ms': instance.holePunchReceiptTimeMs, @@ -447,37 +468,37 @@ Map _$$_VeilidConfigNetworkToJson( 'network_key_password': instance.networkKeyPassword, }; -_$_VeilidConfigTableStore _$$_VeilidConfigTableStoreFromJson( +_$VeilidConfigTableStoreImpl _$$VeilidConfigTableStoreImplFromJson( Map json) => - _$_VeilidConfigTableStore( + _$VeilidConfigTableStoreImpl( directory: json['directory'] as String, delete: json['delete'] as bool, ); -Map _$$_VeilidConfigTableStoreToJson( - _$_VeilidConfigTableStore instance) => +Map _$$VeilidConfigTableStoreImplToJson( + _$VeilidConfigTableStoreImpl instance) => { 'directory': instance.directory, 'delete': instance.delete, }; -_$_VeilidConfigBlockStore _$$_VeilidConfigBlockStoreFromJson( +_$VeilidConfigBlockStoreImpl _$$VeilidConfigBlockStoreImplFromJson( Map json) => - _$_VeilidConfigBlockStore( + _$VeilidConfigBlockStoreImpl( directory: json['directory'] as String, delete: json['delete'] as bool, ); -Map _$$_VeilidConfigBlockStoreToJson( - _$_VeilidConfigBlockStore instance) => +Map _$$VeilidConfigBlockStoreImplToJson( + _$VeilidConfigBlockStoreImpl instance) => { 'directory': instance.directory, 'delete': instance.delete, }; -_$_VeilidConfigProtectedStore _$$_VeilidConfigProtectedStoreFromJson( +_$VeilidConfigProtectedStoreImpl _$$VeilidConfigProtectedStoreImplFromJson( Map json) => - _$_VeilidConfigProtectedStore( + _$VeilidConfigProtectedStoreImpl( allowInsecureFallback: json['allow_insecure_fallback'] as bool, alwaysUseInsecureStorage: json['always_use_insecure_storage'] as bool, directory: json['directory'] as String, @@ -488,8 +509,8 @@ _$_VeilidConfigProtectedStore _$$_VeilidConfigProtectedStoreFromJson( json['new_device_encryption_key_password'] as String?, ); -Map _$$_VeilidConfigProtectedStoreToJson( - _$_VeilidConfigProtectedStore instance) => +Map _$$VeilidConfigProtectedStoreImplToJson( + _$VeilidConfigProtectedStoreImpl instance) => { 'allow_insecure_fallback': instance.allowInsecureFallback, 'always_use_insecure_storage': instance.alwaysUseInsecureStorage, @@ -500,21 +521,21 @@ Map _$$_VeilidConfigProtectedStoreToJson( instance.newDeviceEncryptionKeyPassword, }; -_$_VeilidConfigCapabilities _$$_VeilidConfigCapabilitiesFromJson( +_$VeilidConfigCapabilitiesImpl _$$VeilidConfigCapabilitiesImplFromJson( Map json) => - _$_VeilidConfigCapabilities( + _$VeilidConfigCapabilitiesImpl( disable: (json['disable'] as List).map((e) => e as String).toList(), ); -Map _$$_VeilidConfigCapabilitiesToJson( - _$_VeilidConfigCapabilities instance) => +Map _$$VeilidConfigCapabilitiesImplToJson( + _$VeilidConfigCapabilitiesImpl instance) => { 'disable': instance.disable, }; -_$_VeilidConfig _$$_VeilidConfigFromJson(Map json) => - _$_VeilidConfig( +_$VeilidConfigImpl _$$VeilidConfigImplFromJson(Map json) => + _$VeilidConfigImpl( programName: json['program_name'] as String, namespace: json['namespace'] as String, capabilities: VeilidConfigCapabilities.fromJson(json['capabilities']), @@ -525,7 +546,7 @@ _$_VeilidConfig _$$_VeilidConfigFromJson(Map json) => network: VeilidConfigNetwork.fromJson(json['network']), ); -Map _$$_VeilidConfigToJson(_$_VeilidConfig instance) => +Map _$$VeilidConfigImplToJson(_$VeilidConfigImpl instance) => { 'program_name': instance.programName, 'namespace': instance.namespace, diff --git a/veilid-flutter/lib/veilid_state.freezed.dart b/veilid-flutter/lib/veilid_state.freezed.dart index ca6d13af..dddf627f 100644 --- a/veilid-flutter/lib/veilid_state.freezed.dart +++ b/veilid-flutter/lib/veilid_state.freezed.dart @@ -77,11 +77,11 @@ class _$LatencyStatsCopyWithImpl<$Res, $Val extends LatencyStats> } /// @nodoc -abstract class _$$_LatencyStatsCopyWith<$Res> +abstract class _$$LatencyStatsImplCopyWith<$Res> implements $LatencyStatsCopyWith<$Res> { - factory _$$_LatencyStatsCopyWith( - _$_LatencyStats value, $Res Function(_$_LatencyStats) then) = - __$$_LatencyStatsCopyWithImpl<$Res>; + factory _$$LatencyStatsImplCopyWith( + _$LatencyStatsImpl value, $Res Function(_$LatencyStatsImpl) then) = + __$$LatencyStatsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -91,11 +91,11 @@ abstract class _$$_LatencyStatsCopyWith<$Res> } /// @nodoc -class __$$_LatencyStatsCopyWithImpl<$Res> - extends _$LatencyStatsCopyWithImpl<$Res, _$_LatencyStats> - implements _$$_LatencyStatsCopyWith<$Res> { - __$$_LatencyStatsCopyWithImpl( - _$_LatencyStats _value, $Res Function(_$_LatencyStats) _then) +class __$$LatencyStatsImplCopyWithImpl<$Res> + extends _$LatencyStatsCopyWithImpl<$Res, _$LatencyStatsImpl> + implements _$$LatencyStatsImplCopyWith<$Res> { + __$$LatencyStatsImplCopyWithImpl( + _$LatencyStatsImpl _value, $Res Function(_$LatencyStatsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -105,7 +105,7 @@ class __$$_LatencyStatsCopyWithImpl<$Res> Object? average = null, Object? slowest = null, }) { - return _then(_$_LatencyStats( + return _then(_$LatencyStatsImpl( fastest: null == fastest ? _value.fastest : fastest // ignore: cast_nullable_to_non_nullable @@ -124,12 +124,12 @@ class __$$_LatencyStatsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_LatencyStats implements _LatencyStats { - const _$_LatencyStats( +class _$LatencyStatsImpl implements _LatencyStats { + const _$LatencyStatsImpl( {required this.fastest, required this.average, required this.slowest}); - factory _$_LatencyStats.fromJson(Map json) => - _$$_LatencyStatsFromJson(json); + factory _$LatencyStatsImpl.fromJson(Map json) => + _$$LatencyStatsImplFromJson(json); @override final TimestampDuration fastest; @@ -147,7 +147,7 @@ class _$_LatencyStats implements _LatencyStats { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_LatencyStats && + other is _$LatencyStatsImpl && (identical(other.fastest, fastest) || other.fastest == fastest) && (identical(other.average, average) || other.average == average) && (identical(other.slowest, slowest) || other.slowest == slowest)); @@ -160,12 +160,12 @@ class _$_LatencyStats implements _LatencyStats { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_LatencyStatsCopyWith<_$_LatencyStats> get copyWith => - __$$_LatencyStatsCopyWithImpl<_$_LatencyStats>(this, _$identity); + _$$LatencyStatsImplCopyWith<_$LatencyStatsImpl> get copyWith => + __$$LatencyStatsImplCopyWithImpl<_$LatencyStatsImpl>(this, _$identity); @override Map toJson() { - return _$$_LatencyStatsToJson( + return _$$LatencyStatsImplToJson( this, ); } @@ -175,10 +175,10 @@ abstract class _LatencyStats implements LatencyStats { const factory _LatencyStats( {required final TimestampDuration fastest, required final TimestampDuration average, - required final TimestampDuration slowest}) = _$_LatencyStats; + required final TimestampDuration slowest}) = _$LatencyStatsImpl; factory _LatencyStats.fromJson(Map json) = - _$_LatencyStats.fromJson; + _$LatencyStatsImpl.fromJson; @override TimestampDuration get fastest; @@ -188,7 +188,7 @@ abstract class _LatencyStats implements LatencyStats { TimestampDuration get slowest; @override @JsonKey(ignore: true) - _$$_LatencyStatsCopyWith<_$_LatencyStats> get copyWith => + _$$LatencyStatsImplCopyWith<_$LatencyStatsImpl> get copyWith => throw _privateConstructorUsedError; } @@ -258,22 +258,22 @@ class _$TransferStatsCopyWithImpl<$Res, $Val extends TransferStats> } /// @nodoc -abstract class _$$_TransferStatsCopyWith<$Res> +abstract class _$$TransferStatsImplCopyWith<$Res> implements $TransferStatsCopyWith<$Res> { - factory _$$_TransferStatsCopyWith( - _$_TransferStats value, $Res Function(_$_TransferStats) then) = - __$$_TransferStatsCopyWithImpl<$Res>; + factory _$$TransferStatsImplCopyWith( + _$TransferStatsImpl value, $Res Function(_$TransferStatsImpl) then) = + __$$TransferStatsImplCopyWithImpl<$Res>; @override @useResult $Res call({BigInt total, BigInt maximum, BigInt average, BigInt minimum}); } /// @nodoc -class __$$_TransferStatsCopyWithImpl<$Res> - extends _$TransferStatsCopyWithImpl<$Res, _$_TransferStats> - implements _$$_TransferStatsCopyWith<$Res> { - __$$_TransferStatsCopyWithImpl( - _$_TransferStats _value, $Res Function(_$_TransferStats) _then) +class __$$TransferStatsImplCopyWithImpl<$Res> + extends _$TransferStatsCopyWithImpl<$Res, _$TransferStatsImpl> + implements _$$TransferStatsImplCopyWith<$Res> { + __$$TransferStatsImplCopyWithImpl( + _$TransferStatsImpl _value, $Res Function(_$TransferStatsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -284,7 +284,7 @@ class __$$_TransferStatsCopyWithImpl<$Res> Object? average = null, Object? minimum = null, }) { - return _then(_$_TransferStats( + return _then(_$TransferStatsImpl( total: null == total ? _value.total : total // ignore: cast_nullable_to_non_nullable @@ -307,15 +307,15 @@ class __$$_TransferStatsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_TransferStats implements _TransferStats { - const _$_TransferStats( +class _$TransferStatsImpl implements _TransferStats { + const _$TransferStatsImpl( {required this.total, required this.maximum, required this.average, required this.minimum}); - factory _$_TransferStats.fromJson(Map json) => - _$$_TransferStatsFromJson(json); + factory _$TransferStatsImpl.fromJson(Map json) => + _$$TransferStatsImplFromJson(json); @override final BigInt total; @@ -335,7 +335,7 @@ class _$_TransferStats implements _TransferStats { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_TransferStats && + other is _$TransferStatsImpl && (identical(other.total, total) || other.total == total) && (identical(other.maximum, maximum) || other.maximum == maximum) && (identical(other.average, average) || other.average == average) && @@ -350,12 +350,12 @@ class _$_TransferStats implements _TransferStats { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_TransferStatsCopyWith<_$_TransferStats> get copyWith => - __$$_TransferStatsCopyWithImpl<_$_TransferStats>(this, _$identity); + _$$TransferStatsImplCopyWith<_$TransferStatsImpl> get copyWith => + __$$TransferStatsImplCopyWithImpl<_$TransferStatsImpl>(this, _$identity); @override Map toJson() { - return _$$_TransferStatsToJson( + return _$$TransferStatsImplToJson( this, ); } @@ -366,10 +366,10 @@ abstract class _TransferStats implements TransferStats { {required final BigInt total, required final BigInt maximum, required final BigInt average, - required final BigInt minimum}) = _$_TransferStats; + required final BigInt minimum}) = _$TransferStatsImpl; factory _TransferStats.fromJson(Map json) = - _$_TransferStats.fromJson; + _$TransferStatsImpl.fromJson; @override BigInt get total; @@ -381,7 +381,7 @@ abstract class _TransferStats implements TransferStats { BigInt get minimum; @override @JsonKey(ignore: true) - _$$_TransferStatsCopyWith<_$_TransferStats> get copyWith => + _$$TransferStatsImplCopyWith<_$TransferStatsImpl> get copyWith => throw _privateConstructorUsedError; } @@ -458,11 +458,11 @@ class _$TransferStatsDownUpCopyWithImpl<$Res, $Val extends TransferStatsDownUp> } /// @nodoc -abstract class _$$_TransferStatsDownUpCopyWith<$Res> +abstract class _$$TransferStatsDownUpImplCopyWith<$Res> implements $TransferStatsDownUpCopyWith<$Res> { - factory _$$_TransferStatsDownUpCopyWith(_$_TransferStatsDownUp value, - $Res Function(_$_TransferStatsDownUp) then) = - __$$_TransferStatsDownUpCopyWithImpl<$Res>; + factory _$$TransferStatsDownUpImplCopyWith(_$TransferStatsDownUpImpl value, + $Res Function(_$TransferStatsDownUpImpl) then) = + __$$TransferStatsDownUpImplCopyWithImpl<$Res>; @override @useResult $Res call({TransferStats down, TransferStats up}); @@ -474,11 +474,11 @@ abstract class _$$_TransferStatsDownUpCopyWith<$Res> } /// @nodoc -class __$$_TransferStatsDownUpCopyWithImpl<$Res> - extends _$TransferStatsDownUpCopyWithImpl<$Res, _$_TransferStatsDownUp> - implements _$$_TransferStatsDownUpCopyWith<$Res> { - __$$_TransferStatsDownUpCopyWithImpl(_$_TransferStatsDownUp _value, - $Res Function(_$_TransferStatsDownUp) _then) +class __$$TransferStatsDownUpImplCopyWithImpl<$Res> + extends _$TransferStatsDownUpCopyWithImpl<$Res, _$TransferStatsDownUpImpl> + implements _$$TransferStatsDownUpImplCopyWith<$Res> { + __$$TransferStatsDownUpImplCopyWithImpl(_$TransferStatsDownUpImpl _value, + $Res Function(_$TransferStatsDownUpImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -487,7 +487,7 @@ class __$$_TransferStatsDownUpCopyWithImpl<$Res> Object? down = null, Object? up = null, }) { - return _then(_$_TransferStatsDownUp( + return _then(_$TransferStatsDownUpImpl( down: null == down ? _value.down : down // ignore: cast_nullable_to_non_nullable @@ -502,11 +502,11 @@ class __$$_TransferStatsDownUpCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_TransferStatsDownUp implements _TransferStatsDownUp { - const _$_TransferStatsDownUp({required this.down, required this.up}); +class _$TransferStatsDownUpImpl implements _TransferStatsDownUp { + const _$TransferStatsDownUpImpl({required this.down, required this.up}); - factory _$_TransferStatsDownUp.fromJson(Map json) => - _$$_TransferStatsDownUpFromJson(json); + factory _$TransferStatsDownUpImpl.fromJson(Map json) => + _$$TransferStatsDownUpImplFromJson(json); @override final TransferStats down; @@ -522,7 +522,7 @@ class _$_TransferStatsDownUp implements _TransferStatsDownUp { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_TransferStatsDownUp && + other is _$TransferStatsDownUpImpl && (identical(other.down, down) || other.down == down) && (identical(other.up, up) || other.up == up)); } @@ -534,13 +534,13 @@ class _$_TransferStatsDownUp implements _TransferStatsDownUp { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_TransferStatsDownUpCopyWith<_$_TransferStatsDownUp> get copyWith => - __$$_TransferStatsDownUpCopyWithImpl<_$_TransferStatsDownUp>( + _$$TransferStatsDownUpImplCopyWith<_$TransferStatsDownUpImpl> get copyWith => + __$$TransferStatsDownUpImplCopyWithImpl<_$TransferStatsDownUpImpl>( this, _$identity); @override Map toJson() { - return _$$_TransferStatsDownUpToJson( + return _$$TransferStatsDownUpImplToJson( this, ); } @@ -549,10 +549,10 @@ class _$_TransferStatsDownUp implements _TransferStatsDownUp { abstract class _TransferStatsDownUp implements TransferStatsDownUp { const factory _TransferStatsDownUp( {required final TransferStats down, - required final TransferStats up}) = _$_TransferStatsDownUp; + required final TransferStats up}) = _$TransferStatsDownUpImpl; factory _TransferStatsDownUp.fromJson(Map json) = - _$_TransferStatsDownUp.fromJson; + _$TransferStatsDownUpImpl.fromJson; @override TransferStats get down; @@ -560,7 +560,7 @@ abstract class _TransferStatsDownUp implements TransferStatsDownUp { TransferStats get up; @override @JsonKey(ignore: true) - _$$_TransferStatsDownUpCopyWith<_$_TransferStatsDownUp> get copyWith => + _$$TransferStatsDownUpImplCopyWith<_$TransferStatsDownUpImpl> get copyWith => throw _privateConstructorUsedError; } @@ -661,10 +661,11 @@ class _$RPCStatsCopyWithImpl<$Res, $Val extends RPCStats> } /// @nodoc -abstract class _$$_RPCStatsCopyWith<$Res> implements $RPCStatsCopyWith<$Res> { - factory _$$_RPCStatsCopyWith( - _$_RPCStats value, $Res Function(_$_RPCStats) then) = - __$$_RPCStatsCopyWithImpl<$Res>; +abstract class _$$RPCStatsImplCopyWith<$Res> + implements $RPCStatsCopyWith<$Res> { + factory _$$RPCStatsImplCopyWith( + _$RPCStatsImpl value, $Res Function(_$RPCStatsImpl) then) = + __$$RPCStatsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -679,11 +680,11 @@ abstract class _$$_RPCStatsCopyWith<$Res> implements $RPCStatsCopyWith<$Res> { } /// @nodoc -class __$$_RPCStatsCopyWithImpl<$Res> - extends _$RPCStatsCopyWithImpl<$Res, _$_RPCStats> - implements _$$_RPCStatsCopyWith<$Res> { - __$$_RPCStatsCopyWithImpl( - _$_RPCStats _value, $Res Function(_$_RPCStats) _then) +class __$$RPCStatsImplCopyWithImpl<$Res> + extends _$RPCStatsCopyWithImpl<$Res, _$RPCStatsImpl> + implements _$$RPCStatsImplCopyWith<$Res> { + __$$RPCStatsImplCopyWithImpl( + _$RPCStatsImpl _value, $Res Function(_$RPCStatsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -698,7 +699,7 @@ class __$$_RPCStatsCopyWithImpl<$Res> Object? recentLostAnswers = null, Object? failedToSend = null, }) { - return _then(_$_RPCStats( + return _then(_$RPCStatsImpl( messagesSent: null == messagesSent ? _value.messagesSent : messagesSent // ignore: cast_nullable_to_non_nullable @@ -737,8 +738,8 @@ class __$$_RPCStatsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_RPCStats implements _RPCStats { - const _$_RPCStats( +class _$RPCStatsImpl implements _RPCStats { + const _$RPCStatsImpl( {required this.messagesSent, required this.messagesRcvd, required this.questionsInFlight, @@ -748,8 +749,8 @@ class _$_RPCStats implements _RPCStats { required this.recentLostAnswers, required this.failedToSend}); - factory _$_RPCStats.fromJson(Map json) => - _$$_RPCStatsFromJson(json); + factory _$RPCStatsImpl.fromJson(Map json) => + _$$RPCStatsImplFromJson(json); @override final int messagesSent; @@ -777,7 +778,7 @@ class _$_RPCStats implements _RPCStats { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RPCStats && + other is _$RPCStatsImpl && (identical(other.messagesSent, messagesSent) || other.messagesSent == messagesSent) && (identical(other.messagesRcvd, messagesRcvd) || @@ -812,12 +813,12 @@ class _$_RPCStats implements _RPCStats { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RPCStatsCopyWith<_$_RPCStats> get copyWith => - __$$_RPCStatsCopyWithImpl<_$_RPCStats>(this, _$identity); + _$$RPCStatsImplCopyWith<_$RPCStatsImpl> get copyWith => + __$$RPCStatsImplCopyWithImpl<_$RPCStatsImpl>(this, _$identity); @override Map toJson() { - return _$$_RPCStatsToJson( + return _$$RPCStatsImplToJson( this, ); } @@ -832,9 +833,10 @@ abstract class _RPCStats implements RPCStats { required final Timestamp? lastSeenTs, required final Timestamp? firstConsecutiveSeenTs, required final int recentLostAnswers, - required final int failedToSend}) = _$_RPCStats; + required final int failedToSend}) = _$RPCStatsImpl; - factory _RPCStats.fromJson(Map json) = _$_RPCStats.fromJson; + factory _RPCStats.fromJson(Map json) = + _$RPCStatsImpl.fromJson; @override int get messagesSent; @@ -854,7 +856,7 @@ abstract class _RPCStats implements RPCStats { int get failedToSend; @override @JsonKey(ignore: true) - _$$_RPCStatsCopyWith<_$_RPCStats> get copyWith => + _$$RPCStatsImplCopyWith<_$RPCStatsImpl> get copyWith => throw _privateConstructorUsedError; } @@ -959,10 +961,11 @@ class _$PeerStatsCopyWithImpl<$Res, $Val extends PeerStats> } /// @nodoc -abstract class _$$_PeerStatsCopyWith<$Res> implements $PeerStatsCopyWith<$Res> { - factory _$$_PeerStatsCopyWith( - _$_PeerStats value, $Res Function(_$_PeerStats) then) = - __$$_PeerStatsCopyWithImpl<$Res>; +abstract class _$$PeerStatsImplCopyWith<$Res> + implements $PeerStatsCopyWith<$Res> { + factory _$$PeerStatsImplCopyWith( + _$PeerStatsImpl value, $Res Function(_$PeerStatsImpl) then) = + __$$PeerStatsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -980,11 +983,11 @@ abstract class _$$_PeerStatsCopyWith<$Res> implements $PeerStatsCopyWith<$Res> { } /// @nodoc -class __$$_PeerStatsCopyWithImpl<$Res> - extends _$PeerStatsCopyWithImpl<$Res, _$_PeerStats> - implements _$$_PeerStatsCopyWith<$Res> { - __$$_PeerStatsCopyWithImpl( - _$_PeerStats _value, $Res Function(_$_PeerStats) _then) +class __$$PeerStatsImplCopyWithImpl<$Res> + extends _$PeerStatsCopyWithImpl<$Res, _$PeerStatsImpl> + implements _$$PeerStatsImplCopyWith<$Res> { + __$$PeerStatsImplCopyWithImpl( + _$PeerStatsImpl _value, $Res Function(_$PeerStatsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -995,7 +998,7 @@ class __$$_PeerStatsCopyWithImpl<$Res> Object? transfer = null, Object? latency = freezed, }) { - return _then(_$_PeerStats( + return _then(_$PeerStatsImpl( timeAdded: null == timeAdded ? _value.timeAdded : timeAdded // ignore: cast_nullable_to_non_nullable @@ -1018,15 +1021,15 @@ class __$$_PeerStatsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_PeerStats implements _PeerStats { - const _$_PeerStats( +class _$PeerStatsImpl implements _PeerStats { + const _$PeerStatsImpl( {required this.timeAdded, required this.rpcStats, required this.transfer, this.latency}); - factory _$_PeerStats.fromJson(Map json) => - _$$_PeerStatsFromJson(json); + factory _$PeerStatsImpl.fromJson(Map json) => + _$$PeerStatsImplFromJson(json); @override final Timestamp timeAdded; @@ -1046,7 +1049,7 @@ class _$_PeerStats implements _PeerStats { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_PeerStats && + other is _$PeerStatsImpl && (identical(other.timeAdded, timeAdded) || other.timeAdded == timeAdded) && (identical(other.rpcStats, rpcStats) || @@ -1064,12 +1067,12 @@ class _$_PeerStats implements _PeerStats { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_PeerStatsCopyWith<_$_PeerStats> get copyWith => - __$$_PeerStatsCopyWithImpl<_$_PeerStats>(this, _$identity); + _$$PeerStatsImplCopyWith<_$PeerStatsImpl> get copyWith => + __$$PeerStatsImplCopyWithImpl<_$PeerStatsImpl>(this, _$identity); @override Map toJson() { - return _$$_PeerStatsToJson( + return _$$PeerStatsImplToJson( this, ); } @@ -1080,10 +1083,10 @@ abstract class _PeerStats implements PeerStats { {required final Timestamp timeAdded, required final RPCStats rpcStats, required final TransferStatsDownUp transfer, - final LatencyStats? latency}) = _$_PeerStats; + final LatencyStats? latency}) = _$PeerStatsImpl; factory _PeerStats.fromJson(Map json) = - _$_PeerStats.fromJson; + _$PeerStatsImpl.fromJson; @override Timestamp get timeAdded; @@ -1095,7 +1098,7 @@ abstract class _PeerStats implements PeerStats { LatencyStats? get latency; @override @JsonKey(ignore: true) - _$$_PeerStatsCopyWith<_$_PeerStats> get copyWith => + _$$PeerStatsImplCopyWith<_$PeerStatsImpl> get copyWith => throw _privateConstructorUsedError; } @@ -1173,11 +1176,11 @@ class _$PeerTableDataCopyWithImpl<$Res, $Val extends PeerTableData> } /// @nodoc -abstract class _$$_PeerTableDataCopyWith<$Res> +abstract class _$$PeerTableDataImplCopyWith<$Res> implements $PeerTableDataCopyWith<$Res> { - factory _$$_PeerTableDataCopyWith( - _$_PeerTableData value, $Res Function(_$_PeerTableData) then) = - __$$_PeerTableDataCopyWithImpl<$Res>; + factory _$$PeerTableDataImplCopyWith( + _$PeerTableDataImpl value, $Res Function(_$PeerTableDataImpl) then) = + __$$PeerTableDataImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -1190,11 +1193,11 @@ abstract class _$$_PeerTableDataCopyWith<$Res> } /// @nodoc -class __$$_PeerTableDataCopyWithImpl<$Res> - extends _$PeerTableDataCopyWithImpl<$Res, _$_PeerTableData> - implements _$$_PeerTableDataCopyWith<$Res> { - __$$_PeerTableDataCopyWithImpl( - _$_PeerTableData _value, $Res Function(_$_PeerTableData) _then) +class __$$PeerTableDataImplCopyWithImpl<$Res> + extends _$PeerTableDataCopyWithImpl<$Res, _$PeerTableDataImpl> + implements _$$PeerTableDataImplCopyWith<$Res> { + __$$PeerTableDataImplCopyWithImpl( + _$PeerTableDataImpl _value, $Res Function(_$PeerTableDataImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1204,7 +1207,7 @@ class __$$_PeerTableDataCopyWithImpl<$Res> Object? peerAddress = null, Object? peerStats = null, }) { - return _then(_$_PeerTableData( + return _then(_$PeerTableDataImpl( nodeIds: null == nodeIds ? _value._nodeIds : nodeIds // ignore: cast_nullable_to_non_nullable @@ -1223,15 +1226,15 @@ class __$$_PeerTableDataCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_PeerTableData implements _PeerTableData { - const _$_PeerTableData( +class _$PeerTableDataImpl implements _PeerTableData { + const _$PeerTableDataImpl( {required final List> nodeIds, required this.peerAddress, required this.peerStats}) : _nodeIds = nodeIds; - factory _$_PeerTableData.fromJson(Map json) => - _$$_PeerTableDataFromJson(json); + factory _$PeerTableDataImpl.fromJson(Map json) => + _$$PeerTableDataImplFromJson(json); final List> _nodeIds; @override @@ -1255,7 +1258,7 @@ class _$_PeerTableData implements _PeerTableData { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_PeerTableData && + other is _$PeerTableDataImpl && const DeepCollectionEquality().equals(other._nodeIds, _nodeIds) && (identical(other.peerAddress, peerAddress) || other.peerAddress == peerAddress) && @@ -1271,12 +1274,12 @@ class _$_PeerTableData implements _PeerTableData { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_PeerTableDataCopyWith<_$_PeerTableData> get copyWith => - __$$_PeerTableDataCopyWithImpl<_$_PeerTableData>(this, _$identity); + _$$PeerTableDataImplCopyWith<_$PeerTableDataImpl> get copyWith => + __$$PeerTableDataImplCopyWithImpl<_$PeerTableDataImpl>(this, _$identity); @override Map toJson() { - return _$$_PeerTableDataToJson( + return _$$PeerTableDataImplToJson( this, ); } @@ -1286,10 +1289,10 @@ abstract class _PeerTableData implements PeerTableData { const factory _PeerTableData( {required final List> nodeIds, required final String peerAddress, - required final PeerStats peerStats}) = _$_PeerTableData; + required final PeerStats peerStats}) = _$PeerTableDataImpl; factory _PeerTableData.fromJson(Map json) = - _$_PeerTableData.fromJson; + _$PeerTableDataImpl.fromJson; @override List> get nodeIds; @@ -1299,7 +1302,7 @@ abstract class _PeerTableData implements PeerTableData { PeerStats get peerStats; @override @JsonKey(ignore: true) - _$$_PeerTableDataCopyWith<_$_PeerTableData> get copyWith => + _$$PeerTableDataImplCopyWith<_$PeerTableDataImpl> get copyWith => throw _privateConstructorUsedError; } @@ -1466,20 +1469,20 @@ class _$VeilidUpdateCopyWithImpl<$Res, $Val extends VeilidUpdate> } /// @nodoc -abstract class _$$VeilidLogCopyWith<$Res> { - factory _$$VeilidLogCopyWith( - _$VeilidLog value, $Res Function(_$VeilidLog) then) = - __$$VeilidLogCopyWithImpl<$Res>; +abstract class _$$VeilidLogImplCopyWith<$Res> { + factory _$$VeilidLogImplCopyWith( + _$VeilidLogImpl value, $Res Function(_$VeilidLogImpl) then) = + __$$VeilidLogImplCopyWithImpl<$Res>; @useResult $Res call({VeilidLogLevel logLevel, String message, String? backtrace}); } /// @nodoc -class __$$VeilidLogCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidLog> - implements _$$VeilidLogCopyWith<$Res> { - __$$VeilidLogCopyWithImpl( - _$VeilidLog _value, $Res Function(_$VeilidLog) _then) +class __$$VeilidLogImplCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidLogImpl> + implements _$$VeilidLogImplCopyWith<$Res> { + __$$VeilidLogImplCopyWithImpl( + _$VeilidLogImpl _value, $Res Function(_$VeilidLogImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1489,7 +1492,7 @@ class __$$VeilidLogCopyWithImpl<$Res> Object? message = null, Object? backtrace = freezed, }) { - return _then(_$VeilidLog( + return _then(_$VeilidLogImpl( logLevel: null == logLevel ? _value.logLevel : logLevel // ignore: cast_nullable_to_non_nullable @@ -1508,16 +1511,16 @@ class __$$VeilidLogCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidLog implements VeilidLog { - const _$VeilidLog( +class _$VeilidLogImpl implements VeilidLog { + const _$VeilidLogImpl( {required this.logLevel, required this.message, this.backtrace, final String? $type}) : $type = $type ?? 'Log'; - factory _$VeilidLog.fromJson(Map json) => - _$$VeilidLogFromJson(json); + factory _$VeilidLogImpl.fromJson(Map json) => + _$$VeilidLogImplFromJson(json); @override final VeilidLogLevel logLevel; @@ -1538,7 +1541,7 @@ class _$VeilidLog implements VeilidLog { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidLog && + other is _$VeilidLogImpl && (identical(other.logLevel, logLevel) || other.logLevel == logLevel) && (identical(other.message, message) || other.message == message) && @@ -1553,8 +1556,8 @@ class _$VeilidLog implements VeilidLog { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidLogCopyWith<_$VeilidLog> get copyWith => - __$$VeilidLogCopyWithImpl<_$VeilidLog>(this, _$identity); + _$$VeilidLogImplCopyWith<_$VeilidLogImpl> get copyWith => + __$$VeilidLogImplCopyWithImpl<_$VeilidLogImpl>(this, _$identity); @override @optionalTypeArgs @@ -1696,7 +1699,7 @@ class _$VeilidLog implements VeilidLog { @override Map toJson() { - return _$$VeilidLogToJson( + return _$$VeilidLogImplToJson( this, ); } @@ -1706,23 +1709,24 @@ abstract class VeilidLog implements VeilidUpdate { const factory VeilidLog( {required final VeilidLogLevel logLevel, required final String message, - final String? backtrace}) = _$VeilidLog; + final String? backtrace}) = _$VeilidLogImpl; - factory VeilidLog.fromJson(Map json) = _$VeilidLog.fromJson; + factory VeilidLog.fromJson(Map json) = + _$VeilidLogImpl.fromJson; VeilidLogLevel get logLevel; String get message; String? get backtrace; @JsonKey(ignore: true) - _$$VeilidLogCopyWith<_$VeilidLog> get copyWith => + _$$VeilidLogImplCopyWith<_$VeilidLogImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidAppMessageCopyWith<$Res> { - factory _$$VeilidAppMessageCopyWith( - _$VeilidAppMessage value, $Res Function(_$VeilidAppMessage) then) = - __$$VeilidAppMessageCopyWithImpl<$Res>; +abstract class _$$VeilidAppMessageImplCopyWith<$Res> { + factory _$$VeilidAppMessageImplCopyWith(_$VeilidAppMessageImpl value, + $Res Function(_$VeilidAppMessageImpl) then) = + __$$VeilidAppMessageImplCopyWithImpl<$Res>; @useResult $Res call( {@Uint8ListJsonConverter() Uint8List message, @@ -1730,11 +1734,11 @@ abstract class _$$VeilidAppMessageCopyWith<$Res> { } /// @nodoc -class __$$VeilidAppMessageCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidAppMessage> - implements _$$VeilidAppMessageCopyWith<$Res> { - __$$VeilidAppMessageCopyWithImpl( - _$VeilidAppMessage _value, $Res Function(_$VeilidAppMessage) _then) +class __$$VeilidAppMessageImplCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidAppMessageImpl> + implements _$$VeilidAppMessageImplCopyWith<$Res> { + __$$VeilidAppMessageImplCopyWithImpl(_$VeilidAppMessageImpl _value, + $Res Function(_$VeilidAppMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1743,7 +1747,7 @@ class __$$VeilidAppMessageCopyWithImpl<$Res> Object? message = null, Object? sender = freezed, }) { - return _then(_$VeilidAppMessage( + return _then(_$VeilidAppMessageImpl( message: null == message ? _value.message : message // ignore: cast_nullable_to_non_nullable @@ -1758,15 +1762,15 @@ class __$$VeilidAppMessageCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidAppMessage implements VeilidAppMessage { - const _$VeilidAppMessage( +class _$VeilidAppMessageImpl implements VeilidAppMessage { + const _$VeilidAppMessageImpl( {@Uint8ListJsonConverter() required this.message, this.sender, final String? $type}) : $type = $type ?? 'AppMessage'; - factory _$VeilidAppMessage.fromJson(Map json) => - _$$VeilidAppMessageFromJson(json); + factory _$VeilidAppMessageImpl.fromJson(Map json) => + _$$VeilidAppMessageImplFromJson(json); @override @Uint8ListJsonConverter() @@ -1786,7 +1790,7 @@ class _$VeilidAppMessage implements VeilidAppMessage { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidAppMessage && + other is _$VeilidAppMessageImpl && const DeepCollectionEquality().equals(other.message, message) && (identical(other.sender, sender) || other.sender == sender)); } @@ -1799,8 +1803,9 @@ class _$VeilidAppMessage implements VeilidAppMessage { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidAppMessageCopyWith<_$VeilidAppMessage> get copyWith => - __$$VeilidAppMessageCopyWithImpl<_$VeilidAppMessage>(this, _$identity); + _$$VeilidAppMessageImplCopyWith<_$VeilidAppMessageImpl> get copyWith => + __$$VeilidAppMessageImplCopyWithImpl<_$VeilidAppMessageImpl>( + this, _$identity); @override @optionalTypeArgs @@ -1942,7 +1947,7 @@ class _$VeilidAppMessage implements VeilidAppMessage { @override Map toJson() { - return _$$VeilidAppMessageToJson( + return _$$VeilidAppMessageImplToJson( this, ); } @@ -1951,24 +1956,24 @@ class _$VeilidAppMessage implements VeilidAppMessage { abstract class VeilidAppMessage implements VeilidUpdate { const factory VeilidAppMessage( {@Uint8ListJsonConverter() required final Uint8List message, - final Typed? sender}) = _$VeilidAppMessage; + final Typed? sender}) = _$VeilidAppMessageImpl; factory VeilidAppMessage.fromJson(Map json) = - _$VeilidAppMessage.fromJson; + _$VeilidAppMessageImpl.fromJson; @Uint8ListJsonConverter() Uint8List get message; Typed? get sender; @JsonKey(ignore: true) - _$$VeilidAppMessageCopyWith<_$VeilidAppMessage> get copyWith => + _$$VeilidAppMessageImplCopyWith<_$VeilidAppMessageImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidAppCallCopyWith<$Res> { - factory _$$VeilidAppCallCopyWith( - _$VeilidAppCall value, $Res Function(_$VeilidAppCall) then) = - __$$VeilidAppCallCopyWithImpl<$Res>; +abstract class _$$VeilidAppCallImplCopyWith<$Res> { + factory _$$VeilidAppCallImplCopyWith( + _$VeilidAppCallImpl value, $Res Function(_$VeilidAppCallImpl) then) = + __$$VeilidAppCallImplCopyWithImpl<$Res>; @useResult $Res call( {@Uint8ListJsonConverter() Uint8List message, @@ -1977,11 +1982,11 @@ abstract class _$$VeilidAppCallCopyWith<$Res> { } /// @nodoc -class __$$VeilidAppCallCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidAppCall> - implements _$$VeilidAppCallCopyWith<$Res> { - __$$VeilidAppCallCopyWithImpl( - _$VeilidAppCall _value, $Res Function(_$VeilidAppCall) _then) +class __$$VeilidAppCallImplCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidAppCallImpl> + implements _$$VeilidAppCallImplCopyWith<$Res> { + __$$VeilidAppCallImplCopyWithImpl( + _$VeilidAppCallImpl _value, $Res Function(_$VeilidAppCallImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1991,7 +1996,7 @@ class __$$VeilidAppCallCopyWithImpl<$Res> Object? callId = null, Object? sender = freezed, }) { - return _then(_$VeilidAppCall( + return _then(_$VeilidAppCallImpl( message: null == message ? _value.message : message // ignore: cast_nullable_to_non_nullable @@ -2010,16 +2015,16 @@ class __$$VeilidAppCallCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidAppCall implements VeilidAppCall { - const _$VeilidAppCall( +class _$VeilidAppCallImpl implements VeilidAppCall { + const _$VeilidAppCallImpl( {@Uint8ListJsonConverter() required this.message, required this.callId, this.sender, final String? $type}) : $type = $type ?? 'AppCall'; - factory _$VeilidAppCall.fromJson(Map json) => - _$$VeilidAppCallFromJson(json); + factory _$VeilidAppCallImpl.fromJson(Map json) => + _$$VeilidAppCallImplFromJson(json); @override @Uint8ListJsonConverter() @@ -2041,7 +2046,7 @@ class _$VeilidAppCall implements VeilidAppCall { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidAppCall && + other is _$VeilidAppCallImpl && const DeepCollectionEquality().equals(other.message, message) && (identical(other.callId, callId) || other.callId == callId) && (identical(other.sender, sender) || other.sender == sender)); @@ -2055,8 +2060,8 @@ class _$VeilidAppCall implements VeilidAppCall { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidAppCallCopyWith<_$VeilidAppCall> get copyWith => - __$$VeilidAppCallCopyWithImpl<_$VeilidAppCall>(this, _$identity); + _$$VeilidAppCallImplCopyWith<_$VeilidAppCallImpl> get copyWith => + __$$VeilidAppCallImplCopyWithImpl<_$VeilidAppCallImpl>(this, _$identity); @override @optionalTypeArgs @@ -2198,7 +2203,7 @@ class _$VeilidAppCall implements VeilidAppCall { @override Map toJson() { - return _$$VeilidAppCallToJson( + return _$$VeilidAppCallImplToJson( this, ); } @@ -2208,25 +2213,26 @@ abstract class VeilidAppCall implements VeilidUpdate { const factory VeilidAppCall( {@Uint8ListJsonConverter() required final Uint8List message, required final String callId, - final Typed? sender}) = _$VeilidAppCall; + final Typed? sender}) = _$VeilidAppCallImpl; factory VeilidAppCall.fromJson(Map json) = - _$VeilidAppCall.fromJson; + _$VeilidAppCallImpl.fromJson; @Uint8ListJsonConverter() Uint8List get message; String get callId; Typed? get sender; @JsonKey(ignore: true) - _$$VeilidAppCallCopyWith<_$VeilidAppCall> get copyWith => + _$$VeilidAppCallImplCopyWith<_$VeilidAppCallImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidUpdateAttachmentCopyWith<$Res> { - factory _$$VeilidUpdateAttachmentCopyWith(_$VeilidUpdateAttachment value, - $Res Function(_$VeilidUpdateAttachment) then) = - __$$VeilidUpdateAttachmentCopyWithImpl<$Res>; +abstract class _$$VeilidUpdateAttachmentImplCopyWith<$Res> { + factory _$$VeilidUpdateAttachmentImplCopyWith( + _$VeilidUpdateAttachmentImpl value, + $Res Function(_$VeilidUpdateAttachmentImpl) then) = + __$$VeilidUpdateAttachmentImplCopyWithImpl<$Res>; @useResult $Res call( {AttachmentState state, @@ -2235,11 +2241,12 @@ abstract class _$$VeilidUpdateAttachmentCopyWith<$Res> { } /// @nodoc -class __$$VeilidUpdateAttachmentCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateAttachment> - implements _$$VeilidUpdateAttachmentCopyWith<$Res> { - __$$VeilidUpdateAttachmentCopyWithImpl(_$VeilidUpdateAttachment _value, - $Res Function(_$VeilidUpdateAttachment) _then) +class __$$VeilidUpdateAttachmentImplCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateAttachmentImpl> + implements _$$VeilidUpdateAttachmentImplCopyWith<$Res> { + __$$VeilidUpdateAttachmentImplCopyWithImpl( + _$VeilidUpdateAttachmentImpl _value, + $Res Function(_$VeilidUpdateAttachmentImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2249,7 +2256,7 @@ class __$$VeilidUpdateAttachmentCopyWithImpl<$Res> Object? publicInternetReady = null, Object? localNetworkReady = null, }) { - return _then(_$VeilidUpdateAttachment( + return _then(_$VeilidUpdateAttachmentImpl( state: null == state ? _value.state : state // ignore: cast_nullable_to_non_nullable @@ -2268,16 +2275,16 @@ class __$$VeilidUpdateAttachmentCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidUpdateAttachment implements VeilidUpdateAttachment { - const _$VeilidUpdateAttachment( +class _$VeilidUpdateAttachmentImpl implements VeilidUpdateAttachment { + const _$VeilidUpdateAttachmentImpl( {required this.state, required this.publicInternetReady, required this.localNetworkReady, final String? $type}) : $type = $type ?? 'Attachment'; - factory _$VeilidUpdateAttachment.fromJson(Map json) => - _$$VeilidUpdateAttachmentFromJson(json); + factory _$VeilidUpdateAttachmentImpl.fromJson(Map json) => + _$$VeilidUpdateAttachmentImplFromJson(json); @override final AttachmentState state; @@ -2298,7 +2305,7 @@ class _$VeilidUpdateAttachment implements VeilidUpdateAttachment { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidUpdateAttachment && + other is _$VeilidUpdateAttachmentImpl && (identical(other.state, state) || other.state == state) && (identical(other.publicInternetReady, publicInternetReady) || other.publicInternetReady == publicInternetReady) && @@ -2314,9 +2321,9 @@ class _$VeilidUpdateAttachment implements VeilidUpdateAttachment { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidUpdateAttachmentCopyWith<_$VeilidUpdateAttachment> get copyWith => - __$$VeilidUpdateAttachmentCopyWithImpl<_$VeilidUpdateAttachment>( - this, _$identity); + _$$VeilidUpdateAttachmentImplCopyWith<_$VeilidUpdateAttachmentImpl> + get copyWith => __$$VeilidUpdateAttachmentImplCopyWithImpl< + _$VeilidUpdateAttachmentImpl>(this, _$identity); @override @optionalTypeArgs @@ -2458,7 +2465,7 @@ class _$VeilidUpdateAttachment implements VeilidUpdateAttachment { @override Map toJson() { - return _$$VeilidUpdateAttachmentToJson( + return _$$VeilidUpdateAttachmentImplToJson( this, ); } @@ -2468,35 +2475,35 @@ abstract class VeilidUpdateAttachment implements VeilidUpdate { const factory VeilidUpdateAttachment( {required final AttachmentState state, required final bool publicInternetReady, - required final bool localNetworkReady}) = _$VeilidUpdateAttachment; + required final bool localNetworkReady}) = _$VeilidUpdateAttachmentImpl; factory VeilidUpdateAttachment.fromJson(Map json) = - _$VeilidUpdateAttachment.fromJson; + _$VeilidUpdateAttachmentImpl.fromJson; AttachmentState get state; bool get publicInternetReady; bool get localNetworkReady; @JsonKey(ignore: true) - _$$VeilidUpdateAttachmentCopyWith<_$VeilidUpdateAttachment> get copyWith => - throw _privateConstructorUsedError; + _$$VeilidUpdateAttachmentImplCopyWith<_$VeilidUpdateAttachmentImpl> + get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidUpdateNetworkCopyWith<$Res> { - factory _$$VeilidUpdateNetworkCopyWith(_$VeilidUpdateNetwork value, - $Res Function(_$VeilidUpdateNetwork) then) = - __$$VeilidUpdateNetworkCopyWithImpl<$Res>; +abstract class _$$VeilidUpdateNetworkImplCopyWith<$Res> { + factory _$$VeilidUpdateNetworkImplCopyWith(_$VeilidUpdateNetworkImpl value, + $Res Function(_$VeilidUpdateNetworkImpl) then) = + __$$VeilidUpdateNetworkImplCopyWithImpl<$Res>; @useResult $Res call( {bool started, BigInt bpsDown, BigInt bpsUp, List peers}); } /// @nodoc -class __$$VeilidUpdateNetworkCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateNetwork> - implements _$$VeilidUpdateNetworkCopyWith<$Res> { - __$$VeilidUpdateNetworkCopyWithImpl( - _$VeilidUpdateNetwork _value, $Res Function(_$VeilidUpdateNetwork) _then) +class __$$VeilidUpdateNetworkImplCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateNetworkImpl> + implements _$$VeilidUpdateNetworkImplCopyWith<$Res> { + __$$VeilidUpdateNetworkImplCopyWithImpl(_$VeilidUpdateNetworkImpl _value, + $Res Function(_$VeilidUpdateNetworkImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2507,7 +2514,7 @@ class __$$VeilidUpdateNetworkCopyWithImpl<$Res> Object? bpsUp = null, Object? peers = null, }) { - return _then(_$VeilidUpdateNetwork( + return _then(_$VeilidUpdateNetworkImpl( started: null == started ? _value.started : started // ignore: cast_nullable_to_non_nullable @@ -2530,8 +2537,8 @@ class __$$VeilidUpdateNetworkCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidUpdateNetwork implements VeilidUpdateNetwork { - const _$VeilidUpdateNetwork( +class _$VeilidUpdateNetworkImpl implements VeilidUpdateNetwork { + const _$VeilidUpdateNetworkImpl( {required this.started, required this.bpsDown, required this.bpsUp, @@ -2540,8 +2547,8 @@ class _$VeilidUpdateNetwork implements VeilidUpdateNetwork { : _peers = peers, $type = $type ?? 'Network'; - factory _$VeilidUpdateNetwork.fromJson(Map json) => - _$$VeilidUpdateNetworkFromJson(json); + factory _$VeilidUpdateNetworkImpl.fromJson(Map json) => + _$$VeilidUpdateNetworkImplFromJson(json); @override final bool started; @@ -2569,7 +2576,7 @@ class _$VeilidUpdateNetwork implements VeilidUpdateNetwork { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidUpdateNetwork && + other is _$VeilidUpdateNetworkImpl && (identical(other.started, started) || other.started == started) && (identical(other.bpsDown, bpsDown) || other.bpsDown == bpsDown) && (identical(other.bpsUp, bpsUp) || other.bpsUp == bpsUp) && @@ -2584,8 +2591,8 @@ class _$VeilidUpdateNetwork implements VeilidUpdateNetwork { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidUpdateNetworkCopyWith<_$VeilidUpdateNetwork> get copyWith => - __$$VeilidUpdateNetworkCopyWithImpl<_$VeilidUpdateNetwork>( + _$$VeilidUpdateNetworkImplCopyWith<_$VeilidUpdateNetworkImpl> get copyWith => + __$$VeilidUpdateNetworkImplCopyWithImpl<_$VeilidUpdateNetworkImpl>( this, _$identity); @override @@ -2728,7 +2735,7 @@ class _$VeilidUpdateNetwork implements VeilidUpdateNetwork { @override Map toJson() { - return _$$VeilidUpdateNetworkToJson( + return _$$VeilidUpdateNetworkImplToJson( this, ); } @@ -2739,25 +2746,25 @@ abstract class VeilidUpdateNetwork implements VeilidUpdate { {required final bool started, required final BigInt bpsDown, required final BigInt bpsUp, - required final List peers}) = _$VeilidUpdateNetwork; + required final List peers}) = _$VeilidUpdateNetworkImpl; factory VeilidUpdateNetwork.fromJson(Map json) = - _$VeilidUpdateNetwork.fromJson; + _$VeilidUpdateNetworkImpl.fromJson; bool get started; BigInt get bpsDown; BigInt get bpsUp; List get peers; @JsonKey(ignore: true) - _$$VeilidUpdateNetworkCopyWith<_$VeilidUpdateNetwork> get copyWith => + _$$VeilidUpdateNetworkImplCopyWith<_$VeilidUpdateNetworkImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidUpdateConfigCopyWith<$Res> { - factory _$$VeilidUpdateConfigCopyWith(_$VeilidUpdateConfig value, - $Res Function(_$VeilidUpdateConfig) then) = - __$$VeilidUpdateConfigCopyWithImpl<$Res>; +abstract class _$$VeilidUpdateConfigImplCopyWith<$Res> { + factory _$$VeilidUpdateConfigImplCopyWith(_$VeilidUpdateConfigImpl value, + $Res Function(_$VeilidUpdateConfigImpl) then) = + __$$VeilidUpdateConfigImplCopyWithImpl<$Res>; @useResult $Res call({VeilidConfig config}); @@ -2765,11 +2772,11 @@ abstract class _$$VeilidUpdateConfigCopyWith<$Res> { } /// @nodoc -class __$$VeilidUpdateConfigCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateConfig> - implements _$$VeilidUpdateConfigCopyWith<$Res> { - __$$VeilidUpdateConfigCopyWithImpl( - _$VeilidUpdateConfig _value, $Res Function(_$VeilidUpdateConfig) _then) +class __$$VeilidUpdateConfigImplCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateConfigImpl> + implements _$$VeilidUpdateConfigImplCopyWith<$Res> { + __$$VeilidUpdateConfigImplCopyWithImpl(_$VeilidUpdateConfigImpl _value, + $Res Function(_$VeilidUpdateConfigImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2777,7 +2784,7 @@ class __$$VeilidUpdateConfigCopyWithImpl<$Res> $Res call({ Object? config = null, }) { - return _then(_$VeilidUpdateConfig( + return _then(_$VeilidUpdateConfigImpl( config: null == config ? _value.config : config // ignore: cast_nullable_to_non_nullable @@ -2796,12 +2803,12 @@ class __$$VeilidUpdateConfigCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidUpdateConfig implements VeilidUpdateConfig { - const _$VeilidUpdateConfig({required this.config, final String? $type}) +class _$VeilidUpdateConfigImpl implements VeilidUpdateConfig { + const _$VeilidUpdateConfigImpl({required this.config, final String? $type}) : $type = $type ?? 'Config'; - factory _$VeilidUpdateConfig.fromJson(Map json) => - _$$VeilidUpdateConfigFromJson(json); + factory _$VeilidUpdateConfigImpl.fromJson(Map json) => + _$$VeilidUpdateConfigImplFromJson(json); @override final VeilidConfig config; @@ -2818,7 +2825,7 @@ class _$VeilidUpdateConfig implements VeilidUpdateConfig { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidUpdateConfig && + other is _$VeilidUpdateConfigImpl && (identical(other.config, config) || other.config == config)); } @@ -2829,8 +2836,8 @@ class _$VeilidUpdateConfig implements VeilidUpdateConfig { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidUpdateConfigCopyWith<_$VeilidUpdateConfig> get copyWith => - __$$VeilidUpdateConfigCopyWithImpl<_$VeilidUpdateConfig>( + _$$VeilidUpdateConfigImplCopyWith<_$VeilidUpdateConfigImpl> get copyWith => + __$$VeilidUpdateConfigImplCopyWithImpl<_$VeilidUpdateConfigImpl>( this, _$identity); @override @@ -2973,7 +2980,7 @@ class _$VeilidUpdateConfig implements VeilidUpdateConfig { @override Map toJson() { - return _$$VeilidUpdateConfigToJson( + return _$$VeilidUpdateConfigImplToJson( this, ); } @@ -2981,32 +2988,34 @@ class _$VeilidUpdateConfig implements VeilidUpdateConfig { abstract class VeilidUpdateConfig implements VeilidUpdate { const factory VeilidUpdateConfig({required final VeilidConfig config}) = - _$VeilidUpdateConfig; + _$VeilidUpdateConfigImpl; factory VeilidUpdateConfig.fromJson(Map json) = - _$VeilidUpdateConfig.fromJson; + _$VeilidUpdateConfigImpl.fromJson; VeilidConfig get config; @JsonKey(ignore: true) - _$$VeilidUpdateConfigCopyWith<_$VeilidUpdateConfig> get copyWith => + _$$VeilidUpdateConfigImplCopyWith<_$VeilidUpdateConfigImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidUpdateRouteChangeCopyWith<$Res> { - factory _$$VeilidUpdateRouteChangeCopyWith(_$VeilidUpdateRouteChange value, - $Res Function(_$VeilidUpdateRouteChange) then) = - __$$VeilidUpdateRouteChangeCopyWithImpl<$Res>; +abstract class _$$VeilidUpdateRouteChangeImplCopyWith<$Res> { + factory _$$VeilidUpdateRouteChangeImplCopyWith( + _$VeilidUpdateRouteChangeImpl value, + $Res Function(_$VeilidUpdateRouteChangeImpl) then) = + __$$VeilidUpdateRouteChangeImplCopyWithImpl<$Res>; @useResult $Res call({List deadRoutes, List deadRemoteRoutes}); } /// @nodoc -class __$$VeilidUpdateRouteChangeCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateRouteChange> - implements _$$VeilidUpdateRouteChangeCopyWith<$Res> { - __$$VeilidUpdateRouteChangeCopyWithImpl(_$VeilidUpdateRouteChange _value, - $Res Function(_$VeilidUpdateRouteChange) _then) +class __$$VeilidUpdateRouteChangeImplCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateRouteChangeImpl> + implements _$$VeilidUpdateRouteChangeImplCopyWith<$Res> { + __$$VeilidUpdateRouteChangeImplCopyWithImpl( + _$VeilidUpdateRouteChangeImpl _value, + $Res Function(_$VeilidUpdateRouteChangeImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3015,7 +3024,7 @@ class __$$VeilidUpdateRouteChangeCopyWithImpl<$Res> Object? deadRoutes = null, Object? deadRemoteRoutes = null, }) { - return _then(_$VeilidUpdateRouteChange( + return _then(_$VeilidUpdateRouteChangeImpl( deadRoutes: null == deadRoutes ? _value._deadRoutes : deadRoutes // ignore: cast_nullable_to_non_nullable @@ -3030,8 +3039,8 @@ class __$$VeilidUpdateRouteChangeCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidUpdateRouteChange implements VeilidUpdateRouteChange { - const _$VeilidUpdateRouteChange( +class _$VeilidUpdateRouteChangeImpl implements VeilidUpdateRouteChange { + const _$VeilidUpdateRouteChangeImpl( {required final List deadRoutes, required final List deadRemoteRoutes, final String? $type}) @@ -3039,8 +3048,8 @@ class _$VeilidUpdateRouteChange implements VeilidUpdateRouteChange { _deadRemoteRoutes = deadRemoteRoutes, $type = $type ?? 'RouteChange'; - factory _$VeilidUpdateRouteChange.fromJson(Map json) => - _$$VeilidUpdateRouteChangeFromJson(json); + factory _$VeilidUpdateRouteChangeImpl.fromJson(Map json) => + _$$VeilidUpdateRouteChangeImplFromJson(json); final List _deadRoutes; @override @@ -3071,7 +3080,7 @@ class _$VeilidUpdateRouteChange implements VeilidUpdateRouteChange { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidUpdateRouteChange && + other is _$VeilidUpdateRouteChangeImpl && const DeepCollectionEquality() .equals(other._deadRoutes, _deadRoutes) && const DeepCollectionEquality() @@ -3088,9 +3097,9 @@ class _$VeilidUpdateRouteChange implements VeilidUpdateRouteChange { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidUpdateRouteChangeCopyWith<_$VeilidUpdateRouteChange> get copyWith => - __$$VeilidUpdateRouteChangeCopyWithImpl<_$VeilidUpdateRouteChange>( - this, _$identity); + _$$VeilidUpdateRouteChangeImplCopyWith<_$VeilidUpdateRouteChangeImpl> + get copyWith => __$$VeilidUpdateRouteChangeImplCopyWithImpl< + _$VeilidUpdateRouteChangeImpl>(this, _$identity); @override @optionalTypeArgs @@ -3232,7 +3241,7 @@ class _$VeilidUpdateRouteChange implements VeilidUpdateRouteChange { @override Map toJson() { - return _$$VeilidUpdateRouteChangeToJson( + return _$$VeilidUpdateRouteChangeImplToJson( this, ); } @@ -3242,23 +3251,24 @@ abstract class VeilidUpdateRouteChange implements VeilidUpdate { const factory VeilidUpdateRouteChange( {required final List deadRoutes, required final List deadRemoteRoutes}) = - _$VeilidUpdateRouteChange; + _$VeilidUpdateRouteChangeImpl; factory VeilidUpdateRouteChange.fromJson(Map json) = - _$VeilidUpdateRouteChange.fromJson; + _$VeilidUpdateRouteChangeImpl.fromJson; List get deadRoutes; List get deadRemoteRoutes; @JsonKey(ignore: true) - _$$VeilidUpdateRouteChangeCopyWith<_$VeilidUpdateRouteChange> get copyWith => - throw _privateConstructorUsedError; + _$$VeilidUpdateRouteChangeImplCopyWith<_$VeilidUpdateRouteChangeImpl> + get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidUpdateValueChangeCopyWith<$Res> { - factory _$$VeilidUpdateValueChangeCopyWith(_$VeilidUpdateValueChange value, - $Res Function(_$VeilidUpdateValueChange) then) = - __$$VeilidUpdateValueChangeCopyWithImpl<$Res>; +abstract class _$$VeilidUpdateValueChangeImplCopyWith<$Res> { + factory _$$VeilidUpdateValueChangeImplCopyWith( + _$VeilidUpdateValueChangeImpl value, + $Res Function(_$VeilidUpdateValueChangeImpl) then) = + __$$VeilidUpdateValueChangeImplCopyWithImpl<$Res>; @useResult $Res call( {Typed key, @@ -3270,11 +3280,12 @@ abstract class _$$VeilidUpdateValueChangeCopyWith<$Res> { } /// @nodoc -class __$$VeilidUpdateValueChangeCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateValueChange> - implements _$$VeilidUpdateValueChangeCopyWith<$Res> { - __$$VeilidUpdateValueChangeCopyWithImpl(_$VeilidUpdateValueChange _value, - $Res Function(_$VeilidUpdateValueChange) _then) +class __$$VeilidUpdateValueChangeImplCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateValueChangeImpl> + implements _$$VeilidUpdateValueChangeImplCopyWith<$Res> { + __$$VeilidUpdateValueChangeImplCopyWithImpl( + _$VeilidUpdateValueChangeImpl _value, + $Res Function(_$VeilidUpdateValueChangeImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3285,7 +3296,7 @@ class __$$VeilidUpdateValueChangeCopyWithImpl<$Res> Object? count = null, Object? valueData = null, }) { - return _then(_$VeilidUpdateValueChange( + return _then(_$VeilidUpdateValueChangeImpl( key: null == key ? _value.key : key // ignore: cast_nullable_to_non_nullable @@ -3316,8 +3327,8 @@ class __$$VeilidUpdateValueChangeCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidUpdateValueChange implements VeilidUpdateValueChange { - const _$VeilidUpdateValueChange( +class _$VeilidUpdateValueChangeImpl implements VeilidUpdateValueChange { + const _$VeilidUpdateValueChangeImpl( {required this.key, required final List subkeys, required this.count, @@ -3326,8 +3337,8 @@ class _$VeilidUpdateValueChange implements VeilidUpdateValueChange { : _subkeys = subkeys, $type = $type ?? 'ValueChange'; - factory _$VeilidUpdateValueChange.fromJson(Map json) => - _$$VeilidUpdateValueChangeFromJson(json); + factory _$VeilidUpdateValueChangeImpl.fromJson(Map json) => + _$$VeilidUpdateValueChangeImplFromJson(json); @override final Typed key; @@ -3356,7 +3367,7 @@ class _$VeilidUpdateValueChange implements VeilidUpdateValueChange { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidUpdateValueChange && + other is _$VeilidUpdateValueChangeImpl && (identical(other.key, key) || other.key == key) && const DeepCollectionEquality().equals(other._subkeys, _subkeys) && (identical(other.count, count) || other.count == count) && @@ -3372,9 +3383,9 @@ class _$VeilidUpdateValueChange implements VeilidUpdateValueChange { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidUpdateValueChangeCopyWith<_$VeilidUpdateValueChange> get copyWith => - __$$VeilidUpdateValueChangeCopyWithImpl<_$VeilidUpdateValueChange>( - this, _$identity); + _$$VeilidUpdateValueChangeImplCopyWith<_$VeilidUpdateValueChangeImpl> + get copyWith => __$$VeilidUpdateValueChangeImplCopyWithImpl< + _$VeilidUpdateValueChangeImpl>(this, _$identity); @override @optionalTypeArgs @@ -3516,7 +3527,7 @@ class _$VeilidUpdateValueChange implements VeilidUpdateValueChange { @override Map toJson() { - return _$$VeilidUpdateValueChangeToJson( + return _$$VeilidUpdateValueChangeImplToJson( this, ); } @@ -3527,18 +3538,18 @@ abstract class VeilidUpdateValueChange implements VeilidUpdate { {required final Typed key, required final List subkeys, required final int count, - required final ValueData valueData}) = _$VeilidUpdateValueChange; + required final ValueData valueData}) = _$VeilidUpdateValueChangeImpl; factory VeilidUpdateValueChange.fromJson(Map json) = - _$VeilidUpdateValueChange.fromJson; + _$VeilidUpdateValueChangeImpl.fromJson; Typed get key; List get subkeys; int get count; ValueData get valueData; @JsonKey(ignore: true) - _$$VeilidUpdateValueChangeCopyWith<_$VeilidUpdateValueChange> get copyWith => - throw _privateConstructorUsedError; + _$$VeilidUpdateValueChangeImplCopyWith<_$VeilidUpdateValueChangeImpl> + get copyWith => throw _privateConstructorUsedError; } VeilidStateAttachment _$VeilidStateAttachmentFromJson( @@ -3606,11 +3617,12 @@ class _$VeilidStateAttachmentCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_VeilidStateAttachmentCopyWith<$Res> +abstract class _$$VeilidStateAttachmentImplCopyWith<$Res> implements $VeilidStateAttachmentCopyWith<$Res> { - factory _$$_VeilidStateAttachmentCopyWith(_$_VeilidStateAttachment value, - $Res Function(_$_VeilidStateAttachment) then) = - __$$_VeilidStateAttachmentCopyWithImpl<$Res>; + factory _$$VeilidStateAttachmentImplCopyWith( + _$VeilidStateAttachmentImpl value, + $Res Function(_$VeilidStateAttachmentImpl) then) = + __$$VeilidStateAttachmentImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3620,11 +3632,12 @@ abstract class _$$_VeilidStateAttachmentCopyWith<$Res> } /// @nodoc -class __$$_VeilidStateAttachmentCopyWithImpl<$Res> - extends _$VeilidStateAttachmentCopyWithImpl<$Res, _$_VeilidStateAttachment> - implements _$$_VeilidStateAttachmentCopyWith<$Res> { - __$$_VeilidStateAttachmentCopyWithImpl(_$_VeilidStateAttachment _value, - $Res Function(_$_VeilidStateAttachment) _then) +class __$$VeilidStateAttachmentImplCopyWithImpl<$Res> + extends _$VeilidStateAttachmentCopyWithImpl<$Res, + _$VeilidStateAttachmentImpl> + implements _$$VeilidStateAttachmentImplCopyWith<$Res> { + __$$VeilidStateAttachmentImplCopyWithImpl(_$VeilidStateAttachmentImpl _value, + $Res Function(_$VeilidStateAttachmentImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3634,7 +3647,7 @@ class __$$_VeilidStateAttachmentCopyWithImpl<$Res> Object? publicInternetReady = null, Object? localNetworkReady = null, }) { - return _then(_$_VeilidStateAttachment( + return _then(_$VeilidStateAttachmentImpl( state: null == state ? _value.state : state // ignore: cast_nullable_to_non_nullable @@ -3653,14 +3666,14 @@ class __$$_VeilidStateAttachmentCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidStateAttachment implements _VeilidStateAttachment { - const _$_VeilidStateAttachment( +class _$VeilidStateAttachmentImpl implements _VeilidStateAttachment { + const _$VeilidStateAttachmentImpl( {required this.state, required this.publicInternetReady, required this.localNetworkReady}); - factory _$_VeilidStateAttachment.fromJson(Map json) => - _$$_VeilidStateAttachmentFromJson(json); + factory _$VeilidStateAttachmentImpl.fromJson(Map json) => + _$$VeilidStateAttachmentImplFromJson(json); @override final AttachmentState state; @@ -3678,7 +3691,7 @@ class _$_VeilidStateAttachment implements _VeilidStateAttachment { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidStateAttachment && + other is _$VeilidStateAttachmentImpl && (identical(other.state, state) || other.state == state) && (identical(other.publicInternetReady, publicInternetReady) || other.publicInternetReady == publicInternetReady) && @@ -3694,13 +3707,13 @@ class _$_VeilidStateAttachment implements _VeilidStateAttachment { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidStateAttachmentCopyWith<_$_VeilidStateAttachment> get copyWith => - __$$_VeilidStateAttachmentCopyWithImpl<_$_VeilidStateAttachment>( - this, _$identity); + _$$VeilidStateAttachmentImplCopyWith<_$VeilidStateAttachmentImpl> + get copyWith => __$$VeilidStateAttachmentImplCopyWithImpl< + _$VeilidStateAttachmentImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidStateAttachmentToJson( + return _$$VeilidStateAttachmentImplToJson( this, ); } @@ -3710,10 +3723,10 @@ abstract class _VeilidStateAttachment implements VeilidStateAttachment { const factory _VeilidStateAttachment( {required final AttachmentState state, required final bool publicInternetReady, - required final bool localNetworkReady}) = _$_VeilidStateAttachment; + required final bool localNetworkReady}) = _$VeilidStateAttachmentImpl; factory _VeilidStateAttachment.fromJson(Map json) = - _$_VeilidStateAttachment.fromJson; + _$VeilidStateAttachmentImpl.fromJson; @override AttachmentState get state; @@ -3723,8 +3736,8 @@ abstract class _VeilidStateAttachment implements VeilidStateAttachment { bool get localNetworkReady; @override @JsonKey(ignore: true) - _$$_VeilidStateAttachmentCopyWith<_$_VeilidStateAttachment> get copyWith => - throw _privateConstructorUsedError; + _$$VeilidStateAttachmentImplCopyWith<_$VeilidStateAttachmentImpl> + get copyWith => throw _privateConstructorUsedError; } VeilidStateNetwork _$VeilidStateNetworkFromJson(Map json) { @@ -3794,11 +3807,11 @@ class _$VeilidStateNetworkCopyWithImpl<$Res, $Val extends VeilidStateNetwork> } /// @nodoc -abstract class _$$_VeilidStateNetworkCopyWith<$Res> +abstract class _$$VeilidStateNetworkImplCopyWith<$Res> implements $VeilidStateNetworkCopyWith<$Res> { - factory _$$_VeilidStateNetworkCopyWith(_$_VeilidStateNetwork value, - $Res Function(_$_VeilidStateNetwork) then) = - __$$_VeilidStateNetworkCopyWithImpl<$Res>; + factory _$$VeilidStateNetworkImplCopyWith(_$VeilidStateNetworkImpl value, + $Res Function(_$VeilidStateNetworkImpl) then) = + __$$VeilidStateNetworkImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3806,11 +3819,11 @@ abstract class _$$_VeilidStateNetworkCopyWith<$Res> } /// @nodoc -class __$$_VeilidStateNetworkCopyWithImpl<$Res> - extends _$VeilidStateNetworkCopyWithImpl<$Res, _$_VeilidStateNetwork> - implements _$$_VeilidStateNetworkCopyWith<$Res> { - __$$_VeilidStateNetworkCopyWithImpl( - _$_VeilidStateNetwork _value, $Res Function(_$_VeilidStateNetwork) _then) +class __$$VeilidStateNetworkImplCopyWithImpl<$Res> + extends _$VeilidStateNetworkCopyWithImpl<$Res, _$VeilidStateNetworkImpl> + implements _$$VeilidStateNetworkImplCopyWith<$Res> { + __$$VeilidStateNetworkImplCopyWithImpl(_$VeilidStateNetworkImpl _value, + $Res Function(_$VeilidStateNetworkImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3821,7 +3834,7 @@ class __$$_VeilidStateNetworkCopyWithImpl<$Res> Object? bpsUp = null, Object? peers = null, }) { - return _then(_$_VeilidStateNetwork( + return _then(_$VeilidStateNetworkImpl( started: null == started ? _value.started : started // ignore: cast_nullable_to_non_nullable @@ -3844,16 +3857,16 @@ class __$$_VeilidStateNetworkCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidStateNetwork implements _VeilidStateNetwork { - const _$_VeilidStateNetwork( +class _$VeilidStateNetworkImpl implements _VeilidStateNetwork { + const _$VeilidStateNetworkImpl( {required this.started, required this.bpsDown, required this.bpsUp, required final List peers}) : _peers = peers; - factory _$_VeilidStateNetwork.fromJson(Map json) => - _$$_VeilidStateNetworkFromJson(json); + factory _$VeilidStateNetworkImpl.fromJson(Map json) => + _$$VeilidStateNetworkImplFromJson(json); @override final bool started; @@ -3878,7 +3891,7 @@ class _$_VeilidStateNetwork implements _VeilidStateNetwork { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidStateNetwork && + other is _$VeilidStateNetworkImpl && (identical(other.started, started) || other.started == started) && (identical(other.bpsDown, bpsDown) || other.bpsDown == bpsDown) && (identical(other.bpsUp, bpsUp) || other.bpsUp == bpsUp) && @@ -3893,13 +3906,13 @@ class _$_VeilidStateNetwork implements _VeilidStateNetwork { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidStateNetworkCopyWith<_$_VeilidStateNetwork> get copyWith => - __$$_VeilidStateNetworkCopyWithImpl<_$_VeilidStateNetwork>( + _$$VeilidStateNetworkImplCopyWith<_$VeilidStateNetworkImpl> get copyWith => + __$$VeilidStateNetworkImplCopyWithImpl<_$VeilidStateNetworkImpl>( this, _$identity); @override Map toJson() { - return _$$_VeilidStateNetworkToJson( + return _$$VeilidStateNetworkImplToJson( this, ); } @@ -3910,10 +3923,10 @@ abstract class _VeilidStateNetwork implements VeilidStateNetwork { {required final bool started, required final BigInt bpsDown, required final BigInt bpsUp, - required final List peers}) = _$_VeilidStateNetwork; + required final List peers}) = _$VeilidStateNetworkImpl; factory _VeilidStateNetwork.fromJson(Map json) = - _$_VeilidStateNetwork.fromJson; + _$VeilidStateNetworkImpl.fromJson; @override bool get started; @@ -3925,7 +3938,7 @@ abstract class _VeilidStateNetwork implements VeilidStateNetwork { List get peers; @override @JsonKey(ignore: true) - _$$_VeilidStateNetworkCopyWith<_$_VeilidStateNetwork> get copyWith => + _$$VeilidStateNetworkImplCopyWith<_$VeilidStateNetworkImpl> get copyWith => throw _privateConstructorUsedError; } @@ -3987,11 +4000,11 @@ class _$VeilidStateConfigCopyWithImpl<$Res, $Val extends VeilidStateConfig> } /// @nodoc -abstract class _$$_VeilidStateConfigCopyWith<$Res> +abstract class _$$VeilidStateConfigImplCopyWith<$Res> implements $VeilidStateConfigCopyWith<$Res> { - factory _$$_VeilidStateConfigCopyWith(_$_VeilidStateConfig value, - $Res Function(_$_VeilidStateConfig) then) = - __$$_VeilidStateConfigCopyWithImpl<$Res>; + factory _$$VeilidStateConfigImplCopyWith(_$VeilidStateConfigImpl value, + $Res Function(_$VeilidStateConfigImpl) then) = + __$$VeilidStateConfigImplCopyWithImpl<$Res>; @override @useResult $Res call({VeilidConfig config}); @@ -4001,11 +4014,11 @@ abstract class _$$_VeilidStateConfigCopyWith<$Res> } /// @nodoc -class __$$_VeilidStateConfigCopyWithImpl<$Res> - extends _$VeilidStateConfigCopyWithImpl<$Res, _$_VeilidStateConfig> - implements _$$_VeilidStateConfigCopyWith<$Res> { - __$$_VeilidStateConfigCopyWithImpl( - _$_VeilidStateConfig _value, $Res Function(_$_VeilidStateConfig) _then) +class __$$VeilidStateConfigImplCopyWithImpl<$Res> + extends _$VeilidStateConfigCopyWithImpl<$Res, _$VeilidStateConfigImpl> + implements _$$VeilidStateConfigImplCopyWith<$Res> { + __$$VeilidStateConfigImplCopyWithImpl(_$VeilidStateConfigImpl _value, + $Res Function(_$VeilidStateConfigImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -4013,7 +4026,7 @@ class __$$_VeilidStateConfigCopyWithImpl<$Res> $Res call({ Object? config = null, }) { - return _then(_$_VeilidStateConfig( + return _then(_$VeilidStateConfigImpl( config: null == config ? _value.config : config // ignore: cast_nullable_to_non_nullable @@ -4024,11 +4037,11 @@ class __$$_VeilidStateConfigCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidStateConfig implements _VeilidStateConfig { - const _$_VeilidStateConfig({required this.config}); +class _$VeilidStateConfigImpl implements _VeilidStateConfig { + const _$VeilidStateConfigImpl({required this.config}); - factory _$_VeilidStateConfig.fromJson(Map json) => - _$$_VeilidStateConfigFromJson(json); + factory _$VeilidStateConfigImpl.fromJson(Map json) => + _$$VeilidStateConfigImplFromJson(json); @override final VeilidConfig config; @@ -4042,7 +4055,7 @@ class _$_VeilidStateConfig implements _VeilidStateConfig { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidStateConfig && + other is _$VeilidStateConfigImpl && (identical(other.config, config) || other.config == config)); } @@ -4053,13 +4066,13 @@ class _$_VeilidStateConfig implements _VeilidStateConfig { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidStateConfigCopyWith<_$_VeilidStateConfig> get copyWith => - __$$_VeilidStateConfigCopyWithImpl<_$_VeilidStateConfig>( + _$$VeilidStateConfigImplCopyWith<_$VeilidStateConfigImpl> get copyWith => + __$$VeilidStateConfigImplCopyWithImpl<_$VeilidStateConfigImpl>( this, _$identity); @override Map toJson() { - return _$$_VeilidStateConfigToJson( + return _$$VeilidStateConfigImplToJson( this, ); } @@ -4067,16 +4080,16 @@ class _$_VeilidStateConfig implements _VeilidStateConfig { abstract class _VeilidStateConfig implements VeilidStateConfig { const factory _VeilidStateConfig({required final VeilidConfig config}) = - _$_VeilidStateConfig; + _$VeilidStateConfigImpl; factory _VeilidStateConfig.fromJson(Map json) = - _$_VeilidStateConfig.fromJson; + _$VeilidStateConfigImpl.fromJson; @override VeilidConfig get config; @override @JsonKey(ignore: true) - _$$_VeilidStateConfigCopyWith<_$_VeilidStateConfig> get copyWith => + _$$VeilidStateConfigImplCopyWith<_$VeilidStateConfigImpl> get copyWith => throw _privateConstructorUsedError; } @@ -4171,11 +4184,11 @@ class _$VeilidStateCopyWithImpl<$Res, $Val extends VeilidState> } /// @nodoc -abstract class _$$_VeilidStateCopyWith<$Res> +abstract class _$$VeilidStateImplCopyWith<$Res> implements $VeilidStateCopyWith<$Res> { - factory _$$_VeilidStateCopyWith( - _$_VeilidState value, $Res Function(_$_VeilidState) then) = - __$$_VeilidStateCopyWithImpl<$Res>; + factory _$$VeilidStateImplCopyWith( + _$VeilidStateImpl value, $Res Function(_$VeilidStateImpl) then) = + __$$VeilidStateImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -4192,11 +4205,11 @@ abstract class _$$_VeilidStateCopyWith<$Res> } /// @nodoc -class __$$_VeilidStateCopyWithImpl<$Res> - extends _$VeilidStateCopyWithImpl<$Res, _$_VeilidState> - implements _$$_VeilidStateCopyWith<$Res> { - __$$_VeilidStateCopyWithImpl( - _$_VeilidState _value, $Res Function(_$_VeilidState) _then) +class __$$VeilidStateImplCopyWithImpl<$Res> + extends _$VeilidStateCopyWithImpl<$Res, _$VeilidStateImpl> + implements _$$VeilidStateImplCopyWith<$Res> { + __$$VeilidStateImplCopyWithImpl( + _$VeilidStateImpl _value, $Res Function(_$VeilidStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -4206,7 +4219,7 @@ class __$$_VeilidStateCopyWithImpl<$Res> Object? network = null, Object? config = null, }) { - return _then(_$_VeilidState( + return _then(_$VeilidStateImpl( attachment: null == attachment ? _value.attachment : attachment // ignore: cast_nullable_to_non_nullable @@ -4225,12 +4238,12 @@ class __$$_VeilidStateCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_VeilidState implements _VeilidState { - const _$_VeilidState( +class _$VeilidStateImpl implements _VeilidState { + const _$VeilidStateImpl( {required this.attachment, required this.network, required this.config}); - factory _$_VeilidState.fromJson(Map json) => - _$$_VeilidStateFromJson(json); + factory _$VeilidStateImpl.fromJson(Map json) => + _$$VeilidStateImplFromJson(json); @override final VeilidStateAttachment attachment; @@ -4248,7 +4261,7 @@ class _$_VeilidState implements _VeilidState { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_VeilidState && + other is _$VeilidStateImpl && (identical(other.attachment, attachment) || other.attachment == attachment) && (identical(other.network, network) || other.network == network) && @@ -4262,12 +4275,12 @@ class _$_VeilidState implements _VeilidState { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_VeilidStateCopyWith<_$_VeilidState> get copyWith => - __$$_VeilidStateCopyWithImpl<_$_VeilidState>(this, _$identity); + _$$VeilidStateImplCopyWith<_$VeilidStateImpl> get copyWith => + __$$VeilidStateImplCopyWithImpl<_$VeilidStateImpl>(this, _$identity); @override Map toJson() { - return _$$_VeilidStateToJson( + return _$$VeilidStateImplToJson( this, ); } @@ -4277,10 +4290,10 @@ abstract class _VeilidState implements VeilidState { const factory _VeilidState( {required final VeilidStateAttachment attachment, required final VeilidStateNetwork network, - required final VeilidStateConfig config}) = _$_VeilidState; + required final VeilidStateConfig config}) = _$VeilidStateImpl; factory _VeilidState.fromJson(Map json) = - _$_VeilidState.fromJson; + _$VeilidStateImpl.fromJson; @override VeilidStateAttachment get attachment; @@ -4290,6 +4303,6 @@ abstract class _VeilidState implements VeilidState { VeilidStateConfig get config; @override @JsonKey(ignore: true) - _$$_VeilidStateCopyWith<_$_VeilidState> get copyWith => + _$$VeilidStateImplCopyWith<_$VeilidStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/veilid-flutter/lib/veilid_state.g.dart b/veilid-flutter/lib/veilid_state.g.dart index 8ed1eb66..6cc9fcfb 100644 --- a/veilid-flutter/lib/veilid_state.g.dart +++ b/veilid-flutter/lib/veilid_state.g.dart @@ -6,29 +6,29 @@ part of 'veilid_state.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_LatencyStats _$$_LatencyStatsFromJson(Map json) => - _$_LatencyStats( +_$LatencyStatsImpl _$$LatencyStatsImplFromJson(Map json) => + _$LatencyStatsImpl( fastest: TimestampDuration.fromJson(json['fastest']), average: TimestampDuration.fromJson(json['average']), slowest: TimestampDuration.fromJson(json['slowest']), ); -Map _$$_LatencyStatsToJson(_$_LatencyStats instance) => +Map _$$LatencyStatsImplToJson(_$LatencyStatsImpl instance) => { 'fastest': instance.fastest.toJson(), 'average': instance.average.toJson(), 'slowest': instance.slowest.toJson(), }; -_$_TransferStats _$$_TransferStatsFromJson(Map json) => - _$_TransferStats( +_$TransferStatsImpl _$$TransferStatsImplFromJson(Map json) => + _$TransferStatsImpl( total: BigInt.parse(json['total'] as String), maximum: BigInt.parse(json['maximum'] as String), average: BigInt.parse(json['average'] as String), minimum: BigInt.parse(json['minimum'] as String), ); -Map _$$_TransferStatsToJson(_$_TransferStats instance) => +Map _$$TransferStatsImplToJson(_$TransferStatsImpl instance) => { 'total': instance.total.toString(), 'maximum': instance.maximum.toString(), @@ -36,21 +36,22 @@ Map _$$_TransferStatsToJson(_$_TransferStats instance) => 'minimum': instance.minimum.toString(), }; -_$_TransferStatsDownUp _$$_TransferStatsDownUpFromJson( +_$TransferStatsDownUpImpl _$$TransferStatsDownUpImplFromJson( Map json) => - _$_TransferStatsDownUp( + _$TransferStatsDownUpImpl( down: TransferStats.fromJson(json['down']), up: TransferStats.fromJson(json['up']), ); -Map _$$_TransferStatsDownUpToJson( - _$_TransferStatsDownUp instance) => +Map _$$TransferStatsDownUpImplToJson( + _$TransferStatsDownUpImpl instance) => { 'down': instance.down.toJson(), 'up': instance.up.toJson(), }; -_$_RPCStats _$$_RPCStatsFromJson(Map json) => _$_RPCStats( +_$RPCStatsImpl _$$RPCStatsImplFromJson(Map json) => + _$RPCStatsImpl( messagesSent: json['messages_sent'] as int, messagesRcvd: json['messages_rcvd'] as int, questionsInFlight: json['questions_in_flight'] as int, @@ -67,7 +68,7 @@ _$_RPCStats _$$_RPCStatsFromJson(Map json) => _$_RPCStats( failedToSend: json['failed_to_send'] as int, ); -Map _$$_RPCStatsToJson(_$_RPCStats instance) => +Map _$$RPCStatsImplToJson(_$RPCStatsImpl instance) => { 'messages_sent': instance.messagesSent, 'messages_rcvd': instance.messagesRcvd, @@ -79,7 +80,8 @@ Map _$$_RPCStatsToJson(_$_RPCStats instance) => 'failed_to_send': instance.failedToSend, }; -_$_PeerStats _$$_PeerStatsFromJson(Map json) => _$_PeerStats( +_$PeerStatsImpl _$$PeerStatsImplFromJson(Map json) => + _$PeerStatsImpl( timeAdded: Timestamp.fromJson(json['time_added']), rpcStats: RPCStats.fromJson(json['rpc_stats']), transfer: TransferStatsDownUp.fromJson(json['transfer']), @@ -88,7 +90,7 @@ _$_PeerStats _$$_PeerStatsFromJson(Map json) => _$_PeerStats( : LatencyStats.fromJson(json['latency']), ); -Map _$$_PeerStatsToJson(_$_PeerStats instance) => +Map _$$PeerStatsImplToJson(_$PeerStatsImpl instance) => { 'time_added': instance.timeAdded.toJson(), 'rpc_stats': instance.rpcStats.toJson(), @@ -96,8 +98,8 @@ Map _$$_PeerStatsToJson(_$_PeerStats instance) => 'latency': instance.latency?.toJson(), }; -_$_PeerTableData _$$_PeerTableDataFromJson(Map json) => - _$_PeerTableData( +_$PeerTableDataImpl _$$PeerTableDataImplFromJson(Map json) => + _$PeerTableDataImpl( nodeIds: (json['node_ids'] as List) .map(Typed.fromJson) .toList(), @@ -105,21 +107,22 @@ _$_PeerTableData _$$_PeerTableDataFromJson(Map json) => peerStats: PeerStats.fromJson(json['peer_stats']), ); -Map _$$_PeerTableDataToJson(_$_PeerTableData instance) => +Map _$$PeerTableDataImplToJson(_$PeerTableDataImpl instance) => { 'node_ids': instance.nodeIds.map((e) => e.toJson()).toList(), 'peer_address': instance.peerAddress, 'peer_stats': instance.peerStats.toJson(), }; -_$VeilidLog _$$VeilidLogFromJson(Map json) => _$VeilidLog( +_$VeilidLogImpl _$$VeilidLogImplFromJson(Map json) => + _$VeilidLogImpl( logLevel: VeilidLogLevel.fromJson(json['log_level']), message: json['message'] as String, backtrace: json['backtrace'] as String?, $type: json['kind'] as String?, ); -Map _$$VeilidLogToJson(_$VeilidLog instance) => +Map _$$VeilidLogImplToJson(_$VeilidLogImpl instance) => { 'log_level': instance.logLevel.toJson(), 'message': instance.message, @@ -127,8 +130,9 @@ Map _$$VeilidLogToJson(_$VeilidLog instance) => 'kind': instance.$type, }; -_$VeilidAppMessage _$$VeilidAppMessageFromJson(Map json) => - _$VeilidAppMessage( +_$VeilidAppMessageImpl _$$VeilidAppMessageImplFromJson( + Map json) => + _$VeilidAppMessageImpl( message: const Uint8ListJsonConverter().fromJson(json['message']), sender: json['sender'] == null ? null @@ -136,15 +140,16 @@ _$VeilidAppMessage _$$VeilidAppMessageFromJson(Map json) => $type: json['kind'] as String?, ); -Map _$$VeilidAppMessageToJson(_$VeilidAppMessage instance) => +Map _$$VeilidAppMessageImplToJson( + _$VeilidAppMessageImpl instance) => { 'message': const Uint8ListJsonConverter().toJson(instance.message), 'sender': instance.sender?.toJson(), 'kind': instance.$type, }; -_$VeilidAppCall _$$VeilidAppCallFromJson(Map json) => - _$VeilidAppCall( +_$VeilidAppCallImpl _$$VeilidAppCallImplFromJson(Map json) => + _$VeilidAppCallImpl( message: const Uint8ListJsonConverter().fromJson(json['message']), callId: json['call_id'] as String, sender: json['sender'] == null @@ -153,7 +158,7 @@ _$VeilidAppCall _$$VeilidAppCallFromJson(Map json) => $type: json['kind'] as String?, ); -Map _$$VeilidAppCallToJson(_$VeilidAppCall instance) => +Map _$$VeilidAppCallImplToJson(_$VeilidAppCallImpl instance) => { 'message': const Uint8ListJsonConverter().toJson(instance.message), 'call_id': instance.callId, @@ -161,17 +166,17 @@ Map _$$VeilidAppCallToJson(_$VeilidAppCall instance) => 'kind': instance.$type, }; -_$VeilidUpdateAttachment _$$VeilidUpdateAttachmentFromJson( +_$VeilidUpdateAttachmentImpl _$$VeilidUpdateAttachmentImplFromJson( Map json) => - _$VeilidUpdateAttachment( + _$VeilidUpdateAttachmentImpl( state: AttachmentState.fromJson(json['state']), publicInternetReady: json['public_internet_ready'] as bool, localNetworkReady: json['local_network_ready'] as bool, $type: json['kind'] as String?, ); -Map _$$VeilidUpdateAttachmentToJson( - _$VeilidUpdateAttachment instance) => +Map _$$VeilidUpdateAttachmentImplToJson( + _$VeilidUpdateAttachmentImpl instance) => { 'state': instance.state.toJson(), 'public_internet_ready': instance.publicInternetReady, @@ -179,9 +184,9 @@ Map _$$VeilidUpdateAttachmentToJson( 'kind': instance.$type, }; -_$VeilidUpdateNetwork _$$VeilidUpdateNetworkFromJson( +_$VeilidUpdateNetworkImpl _$$VeilidUpdateNetworkImplFromJson( Map json) => - _$VeilidUpdateNetwork( + _$VeilidUpdateNetworkImpl( started: json['started'] as bool, bpsDown: BigInt.parse(json['bps_down'] as String), bpsUp: BigInt.parse(json['bps_up'] as String), @@ -190,8 +195,8 @@ _$VeilidUpdateNetwork _$$VeilidUpdateNetworkFromJson( $type: json['kind'] as String?, ); -Map _$$VeilidUpdateNetworkToJson( - _$VeilidUpdateNetwork instance) => +Map _$$VeilidUpdateNetworkImplToJson( + _$VeilidUpdateNetworkImpl instance) => { 'started': instance.started, 'bps_down': instance.bpsDown.toString(), @@ -200,22 +205,23 @@ Map _$$VeilidUpdateNetworkToJson( 'kind': instance.$type, }; -_$VeilidUpdateConfig _$$VeilidUpdateConfigFromJson(Map json) => - _$VeilidUpdateConfig( +_$VeilidUpdateConfigImpl _$$VeilidUpdateConfigImplFromJson( + Map json) => + _$VeilidUpdateConfigImpl( config: VeilidConfig.fromJson(json['config']), $type: json['kind'] as String?, ); -Map _$$VeilidUpdateConfigToJson( - _$VeilidUpdateConfig instance) => +Map _$$VeilidUpdateConfigImplToJson( + _$VeilidUpdateConfigImpl instance) => { 'config': instance.config.toJson(), 'kind': instance.$type, }; -_$VeilidUpdateRouteChange _$$VeilidUpdateRouteChangeFromJson( +_$VeilidUpdateRouteChangeImpl _$$VeilidUpdateRouteChangeImplFromJson( Map json) => - _$VeilidUpdateRouteChange( + _$VeilidUpdateRouteChangeImpl( deadRoutes: (json['dead_routes'] as List) .map((e) => e as String) .toList(), @@ -225,17 +231,17 @@ _$VeilidUpdateRouteChange _$$VeilidUpdateRouteChangeFromJson( $type: json['kind'] as String?, ); -Map _$$VeilidUpdateRouteChangeToJson( - _$VeilidUpdateRouteChange instance) => +Map _$$VeilidUpdateRouteChangeImplToJson( + _$VeilidUpdateRouteChangeImpl instance) => { 'dead_routes': instance.deadRoutes, 'dead_remote_routes': instance.deadRemoteRoutes, 'kind': instance.$type, }; -_$VeilidUpdateValueChange _$$VeilidUpdateValueChangeFromJson( +_$VeilidUpdateValueChangeImpl _$$VeilidUpdateValueChangeImplFromJson( Map json) => - _$VeilidUpdateValueChange( + _$VeilidUpdateValueChangeImpl( key: Typed.fromJson(json['key']), subkeys: (json['subkeys'] as List) .map(ValueSubkeyRange.fromJson) @@ -245,8 +251,8 @@ _$VeilidUpdateValueChange _$$VeilidUpdateValueChangeFromJson( $type: json['kind'] as String?, ); -Map _$$VeilidUpdateValueChangeToJson( - _$VeilidUpdateValueChange instance) => +Map _$$VeilidUpdateValueChangeImplToJson( + _$VeilidUpdateValueChangeImpl instance) => { 'key': instance.key.toJson(), 'subkeys': instance.subkeys.map((e) => e.toJson()).toList(), @@ -255,25 +261,25 @@ Map _$$VeilidUpdateValueChangeToJson( 'kind': instance.$type, }; -_$_VeilidStateAttachment _$$_VeilidStateAttachmentFromJson( +_$VeilidStateAttachmentImpl _$$VeilidStateAttachmentImplFromJson( Map json) => - _$_VeilidStateAttachment( + _$VeilidStateAttachmentImpl( state: AttachmentState.fromJson(json['state']), publicInternetReady: json['public_internet_ready'] as bool, localNetworkReady: json['local_network_ready'] as bool, ); -Map _$$_VeilidStateAttachmentToJson( - _$_VeilidStateAttachment instance) => +Map _$$VeilidStateAttachmentImplToJson( + _$VeilidStateAttachmentImpl instance) => { 'state': instance.state.toJson(), 'public_internet_ready': instance.publicInternetReady, 'local_network_ready': instance.localNetworkReady, }; -_$_VeilidStateNetwork _$$_VeilidStateNetworkFromJson( +_$VeilidStateNetworkImpl _$$VeilidStateNetworkImplFromJson( Map json) => - _$_VeilidStateNetwork( + _$VeilidStateNetworkImpl( started: json['started'] as bool, bpsDown: BigInt.parse(json['bps_down'] as String), bpsUp: BigInt.parse(json['bps_up'] as String), @@ -281,8 +287,8 @@ _$_VeilidStateNetwork _$$_VeilidStateNetworkFromJson( (json['peers'] as List).map(PeerTableData.fromJson).toList(), ); -Map _$$_VeilidStateNetworkToJson( - _$_VeilidStateNetwork instance) => +Map _$$VeilidStateNetworkImplToJson( + _$VeilidStateNetworkImpl instance) => { 'started': instance.started, 'bps_down': instance.bpsDown.toString(), @@ -290,25 +296,26 @@ Map _$$_VeilidStateNetworkToJson( 'peers': instance.peers.map((e) => e.toJson()).toList(), }; -_$_VeilidStateConfig _$$_VeilidStateConfigFromJson(Map json) => - _$_VeilidStateConfig( +_$VeilidStateConfigImpl _$$VeilidStateConfigImplFromJson( + Map json) => + _$VeilidStateConfigImpl( config: VeilidConfig.fromJson(json['config']), ); -Map _$$_VeilidStateConfigToJson( - _$_VeilidStateConfig instance) => +Map _$$VeilidStateConfigImplToJson( + _$VeilidStateConfigImpl instance) => { 'config': instance.config.toJson(), }; -_$_VeilidState _$$_VeilidStateFromJson(Map json) => - _$_VeilidState( +_$VeilidStateImpl _$$VeilidStateImplFromJson(Map json) => + _$VeilidStateImpl( attachment: VeilidStateAttachment.fromJson(json['attachment']), network: VeilidStateNetwork.fromJson(json['network']), config: VeilidStateConfig.fromJson(json['config']), ); -Map _$$_VeilidStateToJson(_$_VeilidState instance) => +Map _$$VeilidStateImplToJson(_$VeilidStateImpl instance) => { 'attachment': instance.attachment.toJson(), 'network': instance.network.toJson(), diff --git a/veilid-python/veilid/config.py b/veilid-python/veilid/config.py index 255a091f..c4649ba1 100644 --- a/veilid-python/veilid/config.py +++ b/veilid-python/veilid/config.py @@ -194,7 +194,7 @@ class VeilidConfigNetwork(ConfigBase): max_connections_per_ip6_prefix: int max_connections_per_ip6_prefix_size: int max_connection_frequency_per_min: int - client_whitelist_timeout_ms: int + client_allowlist_timeout_ms: int reverse_connection_receipt_time_ms: int hole_punch_receipt_time_ms: int network_key_password: Optional[str] diff --git a/veilid-python/veilid/schema/RecvMessage.json b/veilid-python/veilid/schema/RecvMessage.json index c5530d44..7b32d392 100644 --- a/veilid-python/veilid/schema/RecvMessage.json +++ b/veilid-python/veilid/schema/RecvMessage.json @@ -3565,7 +3565,7 @@ "type": "object", "required": [ "application", - "client_whitelist_timeout_ms", + "client_allowlist_timeout_ms", "connection_inactivity_timeout_ms", "connection_initial_timeout_ms", "detect_address_changes", @@ -3587,7 +3587,7 @@ "application": { "$ref": "#/definitions/VeilidConfigApplication" }, - "client_whitelist_timeout_ms": { + "client_allowlist_timeout_ms": { "type": "integer", "format": "uint32", "minimum": 0.0 diff --git a/veilid-server/src/settings.rs b/veilid-server/src/settings.rs index abc73335..1d821d7a 100644 --- a/veilid-server/src/settings.rs +++ b/veilid-server/src/settings.rs @@ -67,7 +67,7 @@ core: max_connections_per_ip6_prefix: 32 max_connections_per_ip6_prefix_size: 56 max_connection_frequency_per_min: 128 - client_whitelist_timeout_ms: 300000 + client_allowlist_timeout_ms: 300000 reverse_connection_receipt_time_ms: 5000 hole_punch_receipt_time_ms: 5000 network_key_password: null @@ -588,7 +588,7 @@ pub struct Network { pub max_connections_per_ip6_prefix: u32, pub max_connections_per_ip6_prefix_size: u32, pub max_connection_frequency_per_min: u32, - pub client_whitelist_timeout_ms: u32, + pub client_allowlist_timeout_ms: u32, pub reverse_connection_receipt_time_ms: u32, pub hole_punch_receipt_time_ms: u32, pub network_key_password: Option, @@ -1008,7 +1008,7 @@ impl Settings { value ); set_config_value!(inner.core.network.max_connection_frequency_per_min, value); - set_config_value!(inner.core.network.client_whitelist_timeout_ms, value); + set_config_value!(inner.core.network.client_allowlist_timeout_ms, value); set_config_value!(inner.core.network.reverse_connection_receipt_time_ms, value); set_config_value!(inner.core.network.hole_punch_receipt_time_ms, value); set_config_value!(inner.core.network.network_key_password, value); @@ -1184,8 +1184,8 @@ impl Settings { "network.max_connection_frequency_per_min" => Ok(Box::new( inner.core.network.max_connection_frequency_per_min, )), - "network.client_whitelist_timeout_ms" => { - Ok(Box::new(inner.core.network.client_whitelist_timeout_ms)) + "network.client_allowlist_timeout_ms" => { + Ok(Box::new(inner.core.network.client_allowlist_timeout_ms)) } "network.reverse_connection_receipt_time_ms" => Ok(Box::new( inner.core.network.reverse_connection_receipt_time_ms, @@ -1594,7 +1594,7 @@ mod tests { assert_eq!(s.core.network.max_connections_per_ip6_prefix, 32u32); assert_eq!(s.core.network.max_connections_per_ip6_prefix_size, 56u32); assert_eq!(s.core.network.max_connection_frequency_per_min, 128u32); - assert_eq!(s.core.network.client_whitelist_timeout_ms, 300_000u32); + assert_eq!(s.core.network.client_allowlist_timeout_ms, 300_000u32); assert_eq!(s.core.network.reverse_connection_receipt_time_ms, 5_000u32); assert_eq!(s.core.network.hole_punch_receipt_time_ms, 5_000u32); assert_eq!(s.core.network.network_key_password, None); diff --git a/veilid-wasm/tests/src/utils/veilid-config.ts b/veilid-wasm/tests/src/utils/veilid-config.ts index 7dc53d20..d3d718f2 100644 --- a/veilid-wasm/tests/src/utils/veilid-config.ts +++ b/veilid-wasm/tests/src/utils/veilid-config.ts @@ -44,7 +44,7 @@ export const veilidCoreStartupConfig = { max_connections_per_ip6_prefix: 32, max_connections_per_ip6_prefix_size: 56, max_connection_frequency_per_min: 128, - client_whitelist_timeout_ms: 300000, + client_allowlist_timeout_ms: 300000, reverse_connection_receipt_time_ms: 5000, hole_punch_receipt_time_ms: 5000, network_key_password: '',