From fac9937cf41b53ba9fc877a1283bdc45a6b3e357 Mon Sep 17 00:00:00 2001 From: Christien Rioux Date: Wed, 21 Feb 2024 18:17:07 -0500 Subject: [PATCH] update generated code --- .../lib/routing_context.freezed.dart | 360 +++-- veilid-flutter/lib/routing_context.g.dart | 52 +- veilid-flutter/lib/veilid_config.freezed.dart | 1288 ++++++++--------- veilid-flutter/lib/veilid_config.g.dart | 225 ++- veilid-flutter/lib/veilid_state.freezed.dart | 821 ++++++----- veilid-flutter/lib/veilid_state.g.dart | 127 +- 6 files changed, 1396 insertions(+), 1477 deletions(-) diff --git a/veilid-flutter/lib/routing_context.freezed.dart b/veilid-flutter/lib/routing_context.freezed.dart index c5114290..2640f0e3 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 _$$DHTSchemaDFLTImplCopyWith<$Res> +abstract class _$$DHTSchemaDFLTCopyWith<$Res> implements $DHTSchemaCopyWith<$Res> { - factory _$$DHTSchemaDFLTImplCopyWith( - _$DHTSchemaDFLTImpl value, $Res Function(_$DHTSchemaDFLTImpl) then) = - __$$DHTSchemaDFLTImplCopyWithImpl<$Res>; + factory _$$DHTSchemaDFLTCopyWith( + _$DHTSchemaDFLT value, $Res Function(_$DHTSchemaDFLT) then) = + __$$DHTSchemaDFLTCopyWithImpl<$Res>; @override @useResult $Res call({int oCnt}); } /// @nodoc -class __$$DHTSchemaDFLTImplCopyWithImpl<$Res> - extends _$DHTSchemaCopyWithImpl<$Res, _$DHTSchemaDFLTImpl> - implements _$$DHTSchemaDFLTImplCopyWith<$Res> { - __$$DHTSchemaDFLTImplCopyWithImpl( - _$DHTSchemaDFLTImpl _value, $Res Function(_$DHTSchemaDFLTImpl) _then) +class __$$DHTSchemaDFLTCopyWithImpl<$Res> + extends _$DHTSchemaCopyWithImpl<$Res, _$DHTSchemaDFLT> + implements _$$DHTSchemaDFLTCopyWith<$Res> { + __$$DHTSchemaDFLTCopyWithImpl( + _$DHTSchemaDFLT _value, $Res Function(_$DHTSchemaDFLT) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -130,7 +130,7 @@ class __$$DHTSchemaDFLTImplCopyWithImpl<$Res> $Res call({ Object? oCnt = null, }) { - return _then(_$DHTSchemaDFLTImpl( + return _then(_$DHTSchemaDFLT( oCnt: null == oCnt ? _value.oCnt : oCnt // ignore: cast_nullable_to_non_nullable @@ -141,12 +141,12 @@ class __$$DHTSchemaDFLTImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$DHTSchemaDFLTImpl implements DHTSchemaDFLT { - const _$DHTSchemaDFLTImpl({required this.oCnt, final String? $type}) +class _$DHTSchemaDFLT implements DHTSchemaDFLT { + const _$DHTSchemaDFLT({required this.oCnt, final String? $type}) : $type = $type ?? 'DFLT'; - factory _$DHTSchemaDFLTImpl.fromJson(Map json) => - _$$DHTSchemaDFLTImplFromJson(json); + factory _$DHTSchemaDFLT.fromJson(Map json) => + _$$DHTSchemaDFLTFromJson(json); @override final int oCnt; @@ -160,10 +160,10 @@ class _$DHTSchemaDFLTImpl implements DHTSchemaDFLT { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DHTSchemaDFLTImpl && + other is _$DHTSchemaDFLT && (identical(other.oCnt, oCnt) || other.oCnt == oCnt)); } @@ -174,8 +174,8 @@ class _$DHTSchemaDFLTImpl implements DHTSchemaDFLT { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DHTSchemaDFLTImplCopyWith<_$DHTSchemaDFLTImpl> get copyWith => - __$$DHTSchemaDFLTImplCopyWithImpl<_$DHTSchemaDFLTImpl>(this, _$identity); + _$$DHTSchemaDFLTCopyWith<_$DHTSchemaDFLT> get copyWith => + __$$DHTSchemaDFLTCopyWithImpl<_$DHTSchemaDFLT>(this, _$identity); @override @optionalTypeArgs @@ -241,43 +241,43 @@ class _$DHTSchemaDFLTImpl implements DHTSchemaDFLT { @override Map toJson() { - return _$$DHTSchemaDFLTImplToJson( + return _$$DHTSchemaDFLTToJson( this, ); } } abstract class DHTSchemaDFLT implements DHTSchema { - const factory DHTSchemaDFLT({required final int oCnt}) = _$DHTSchemaDFLTImpl; + const factory DHTSchemaDFLT({required final int oCnt}) = _$DHTSchemaDFLT; factory DHTSchemaDFLT.fromJson(Map json) = - _$DHTSchemaDFLTImpl.fromJson; + _$DHTSchemaDFLT.fromJson; @override int get oCnt; @override @JsonKey(ignore: true) - _$$DHTSchemaDFLTImplCopyWith<_$DHTSchemaDFLTImpl> get copyWith => + _$$DHTSchemaDFLTCopyWith<_$DHTSchemaDFLT> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DHTSchemaSMPLImplCopyWith<$Res> +abstract class _$$DHTSchemaSMPLCopyWith<$Res> implements $DHTSchemaCopyWith<$Res> { - factory _$$DHTSchemaSMPLImplCopyWith( - _$DHTSchemaSMPLImpl value, $Res Function(_$DHTSchemaSMPLImpl) then) = - __$$DHTSchemaSMPLImplCopyWithImpl<$Res>; + factory _$$DHTSchemaSMPLCopyWith( + _$DHTSchemaSMPL value, $Res Function(_$DHTSchemaSMPL) then) = + __$$DHTSchemaSMPLCopyWithImpl<$Res>; @override @useResult $Res call({int oCnt, List members}); } /// @nodoc -class __$$DHTSchemaSMPLImplCopyWithImpl<$Res> - extends _$DHTSchemaCopyWithImpl<$Res, _$DHTSchemaSMPLImpl> - implements _$$DHTSchemaSMPLImplCopyWith<$Res> { - __$$DHTSchemaSMPLImplCopyWithImpl( - _$DHTSchemaSMPLImpl _value, $Res Function(_$DHTSchemaSMPLImpl) _then) +class __$$DHTSchemaSMPLCopyWithImpl<$Res> + extends _$DHTSchemaCopyWithImpl<$Res, _$DHTSchemaSMPL> + implements _$$DHTSchemaSMPLCopyWith<$Res> { + __$$DHTSchemaSMPLCopyWithImpl( + _$DHTSchemaSMPL _value, $Res Function(_$DHTSchemaSMPL) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -286,7 +286,7 @@ class __$$DHTSchemaSMPLImplCopyWithImpl<$Res> Object? oCnt = null, Object? members = null, }) { - return _then(_$DHTSchemaSMPLImpl( + return _then(_$DHTSchemaSMPL( oCnt: null == oCnt ? _value.oCnt : oCnt // ignore: cast_nullable_to_non_nullable @@ -301,16 +301,16 @@ class __$$DHTSchemaSMPLImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$DHTSchemaSMPLImpl implements DHTSchemaSMPL { - const _$DHTSchemaSMPLImpl( +class _$DHTSchemaSMPL implements DHTSchemaSMPL { + const _$DHTSchemaSMPL( {required this.oCnt, required final List members, final String? $type}) : _members = members, $type = $type ?? 'SMPL'; - factory _$DHTSchemaSMPLImpl.fromJson(Map json) => - _$$DHTSchemaSMPLImplFromJson(json); + factory _$DHTSchemaSMPL.fromJson(Map json) => + _$$DHTSchemaSMPLFromJson(json); @override final int oCnt; @@ -331,10 +331,10 @@ class _$DHTSchemaSMPLImpl implements DHTSchemaSMPL { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DHTSchemaSMPLImpl && + other is _$DHTSchemaSMPL && (identical(other.oCnt, oCnt) || other.oCnt == oCnt) && const DeepCollectionEquality().equals(other._members, _members)); } @@ -347,8 +347,8 @@ class _$DHTSchemaSMPLImpl implements DHTSchemaSMPL { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DHTSchemaSMPLImplCopyWith<_$DHTSchemaSMPLImpl> get copyWith => - __$$DHTSchemaSMPLImplCopyWithImpl<_$DHTSchemaSMPLImpl>(this, _$identity); + _$$DHTSchemaSMPLCopyWith<_$DHTSchemaSMPL> get copyWith => + __$$DHTSchemaSMPLCopyWithImpl<_$DHTSchemaSMPL>(this, _$identity); @override @optionalTypeArgs @@ -414,7 +414,7 @@ class _$DHTSchemaSMPLImpl implements DHTSchemaSMPL { @override Map toJson() { - return _$$DHTSchemaSMPLImplToJson( + return _$$DHTSchemaSMPLToJson( this, ); } @@ -423,17 +423,17 @@ class _$DHTSchemaSMPLImpl implements DHTSchemaSMPL { abstract class DHTSchemaSMPL implements DHTSchema { const factory DHTSchemaSMPL( {required final int oCnt, - required final List members}) = _$DHTSchemaSMPLImpl; + required final List members}) = _$DHTSchemaSMPL; factory DHTSchemaSMPL.fromJson(Map json) = - _$DHTSchemaSMPLImpl.fromJson; + _$DHTSchemaSMPL.fromJson; @override int get oCnt; List get members; @override @JsonKey(ignore: true) - _$$DHTSchemaSMPLImplCopyWith<_$DHTSchemaSMPLImpl> get copyWith => + _$$DHTSchemaSMPLCopyWith<_$DHTSchemaSMPL> get copyWith => throw _privateConstructorUsedError; } @@ -491,22 +491,22 @@ class _$DHTSchemaMemberCopyWithImpl<$Res, $Val extends DHTSchemaMember> } /// @nodoc -abstract class _$$DHTSchemaMemberImplCopyWith<$Res> +abstract class _$$_DHTSchemaMemberCopyWith<$Res> implements $DHTSchemaMemberCopyWith<$Res> { - factory _$$DHTSchemaMemberImplCopyWith(_$DHTSchemaMemberImpl value, - $Res Function(_$DHTSchemaMemberImpl) then) = - __$$DHTSchemaMemberImplCopyWithImpl<$Res>; + factory _$$_DHTSchemaMemberCopyWith( + _$_DHTSchemaMember value, $Res Function(_$_DHTSchemaMember) then) = + __$$_DHTSchemaMemberCopyWithImpl<$Res>; @override @useResult $Res call({FixedEncodedString43 mKey, int mCnt}); } /// @nodoc -class __$$DHTSchemaMemberImplCopyWithImpl<$Res> - extends _$DHTSchemaMemberCopyWithImpl<$Res, _$DHTSchemaMemberImpl> - implements _$$DHTSchemaMemberImplCopyWith<$Res> { - __$$DHTSchemaMemberImplCopyWithImpl( - _$DHTSchemaMemberImpl _value, $Res Function(_$DHTSchemaMemberImpl) _then) +class __$$_DHTSchemaMemberCopyWithImpl<$Res> + extends _$DHTSchemaMemberCopyWithImpl<$Res, _$_DHTSchemaMember> + implements _$$_DHTSchemaMemberCopyWith<$Res> { + __$$_DHTSchemaMemberCopyWithImpl( + _$_DHTSchemaMember _value, $Res Function(_$_DHTSchemaMember) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -515,7 +515,7 @@ class __$$DHTSchemaMemberImplCopyWithImpl<$Res> Object? mKey = null, Object? mCnt = null, }) { - return _then(_$DHTSchemaMemberImpl( + return _then(_$_DHTSchemaMember( mKey: null == mKey ? _value.mKey : mKey // ignore: cast_nullable_to_non_nullable @@ -530,12 +530,12 @@ class __$$DHTSchemaMemberImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$DHTSchemaMemberImpl implements _DHTSchemaMember { - const _$DHTSchemaMemberImpl({required this.mKey, required this.mCnt}) +class _$_DHTSchemaMember implements _DHTSchemaMember { + const _$_DHTSchemaMember({required this.mKey, required this.mCnt}) : assert(mCnt > 0 && mCnt <= 65535, 'value out of range'); - factory _$DHTSchemaMemberImpl.fromJson(Map json) => - _$$DHTSchemaMemberImplFromJson(json); + factory _$_DHTSchemaMember.fromJson(Map json) => + _$$_DHTSchemaMemberFromJson(json); @override final FixedEncodedString43 mKey; @@ -548,10 +548,10 @@ class _$DHTSchemaMemberImpl implements _DHTSchemaMember { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DHTSchemaMemberImpl && + other is _$_DHTSchemaMember && (identical(other.mKey, mKey) || other.mKey == mKey) && (identical(other.mCnt, mCnt) || other.mCnt == mCnt)); } @@ -563,13 +563,12 @@ class _$DHTSchemaMemberImpl implements _DHTSchemaMember { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DHTSchemaMemberImplCopyWith<_$DHTSchemaMemberImpl> get copyWith => - __$$DHTSchemaMemberImplCopyWithImpl<_$DHTSchemaMemberImpl>( - this, _$identity); + _$$_DHTSchemaMemberCopyWith<_$_DHTSchemaMember> get copyWith => + __$$_DHTSchemaMemberCopyWithImpl<_$_DHTSchemaMember>(this, _$identity); @override Map toJson() { - return _$$DHTSchemaMemberImplToJson( + return _$$_DHTSchemaMemberToJson( this, ); } @@ -578,10 +577,10 @@ class _$DHTSchemaMemberImpl implements _DHTSchemaMember { abstract class _DHTSchemaMember implements DHTSchemaMember { const factory _DHTSchemaMember( {required final FixedEncodedString43 mKey, - required final int mCnt}) = _$DHTSchemaMemberImpl; + required final int mCnt}) = _$_DHTSchemaMember; factory _DHTSchemaMember.fromJson(Map json) = - _$DHTSchemaMemberImpl.fromJson; + _$_DHTSchemaMember.fromJson; @override FixedEncodedString43 get mKey; @@ -589,7 +588,7 @@ abstract class _DHTSchemaMember implements DHTSchemaMember { int get mCnt; @override @JsonKey(ignore: true) - _$$DHTSchemaMemberImplCopyWith<_$DHTSchemaMemberImpl> get copyWith => + _$$_DHTSchemaMemberCopyWith<_$_DHTSchemaMember> get copyWith => throw _privateConstructorUsedError; } @@ -673,11 +672,11 @@ class _$DHTRecordDescriptorCopyWithImpl<$Res, $Val extends DHTRecordDescriptor> } /// @nodoc -abstract class _$$DHTRecordDescriptorImplCopyWith<$Res> +abstract class _$$_DHTRecordDescriptorCopyWith<$Res> implements $DHTRecordDescriptorCopyWith<$Res> { - factory _$$DHTRecordDescriptorImplCopyWith(_$DHTRecordDescriptorImpl value, - $Res Function(_$DHTRecordDescriptorImpl) then) = - __$$DHTRecordDescriptorImplCopyWithImpl<$Res>; + factory _$$_DHTRecordDescriptorCopyWith(_$_DHTRecordDescriptor value, + $Res Function(_$_DHTRecordDescriptor) then) = + __$$_DHTRecordDescriptorCopyWithImpl<$Res>; @override @useResult $Res call( @@ -691,11 +690,11 @@ abstract class _$$DHTRecordDescriptorImplCopyWith<$Res> } /// @nodoc -class __$$DHTRecordDescriptorImplCopyWithImpl<$Res> - extends _$DHTRecordDescriptorCopyWithImpl<$Res, _$DHTRecordDescriptorImpl> - implements _$$DHTRecordDescriptorImplCopyWith<$Res> { - __$$DHTRecordDescriptorImplCopyWithImpl(_$DHTRecordDescriptorImpl _value, - $Res Function(_$DHTRecordDescriptorImpl) _then) +class __$$_DHTRecordDescriptorCopyWithImpl<$Res> + extends _$DHTRecordDescriptorCopyWithImpl<$Res, _$_DHTRecordDescriptor> + implements _$$_DHTRecordDescriptorCopyWith<$Res> { + __$$_DHTRecordDescriptorCopyWithImpl(_$_DHTRecordDescriptor _value, + $Res Function(_$_DHTRecordDescriptor) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -706,7 +705,7 @@ class __$$DHTRecordDescriptorImplCopyWithImpl<$Res> Object? schema = null, Object? ownerSecret = freezed, }) { - return _then(_$DHTRecordDescriptorImpl( + return _then(_$_DHTRecordDescriptor( key: null == key ? _value.key : key // ignore: cast_nullable_to_non_nullable @@ -729,15 +728,15 @@ class __$$DHTRecordDescriptorImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$DHTRecordDescriptorImpl implements _DHTRecordDescriptor { - const _$DHTRecordDescriptorImpl( +class _$_DHTRecordDescriptor implements _DHTRecordDescriptor { + const _$_DHTRecordDescriptor( {required this.key, required this.owner, required this.schema, this.ownerSecret}); - factory _$DHTRecordDescriptorImpl.fromJson(Map json) => - _$$DHTRecordDescriptorImplFromJson(json); + factory _$_DHTRecordDescriptor.fromJson(Map json) => + _$$_DHTRecordDescriptorFromJson(json); @override final Typed key; @@ -754,10 +753,10 @@ class _$DHTRecordDescriptorImpl implements _DHTRecordDescriptor { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DHTRecordDescriptorImpl && + other is _$_DHTRecordDescriptor && (identical(other.key, key) || other.key == key) && (identical(other.owner, owner) || other.owner == owner) && (identical(other.schema, schema) || other.schema == schema) && @@ -772,13 +771,13 @@ class _$DHTRecordDescriptorImpl implements _DHTRecordDescriptor { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DHTRecordDescriptorImplCopyWith<_$DHTRecordDescriptorImpl> get copyWith => - __$$DHTRecordDescriptorImplCopyWithImpl<_$DHTRecordDescriptorImpl>( + _$$_DHTRecordDescriptorCopyWith<_$_DHTRecordDescriptor> get copyWith => + __$$_DHTRecordDescriptorCopyWithImpl<_$_DHTRecordDescriptor>( this, _$identity); @override Map toJson() { - return _$$DHTRecordDescriptorImplToJson( + return _$$_DHTRecordDescriptorToJson( this, ); } @@ -789,10 +788,10 @@ abstract class _DHTRecordDescriptor implements DHTRecordDescriptor { {required final Typed key, required final FixedEncodedString43 owner, required final DHTSchema schema, - final FixedEncodedString43? ownerSecret}) = _$DHTRecordDescriptorImpl; + final FixedEncodedString43? ownerSecret}) = _$_DHTRecordDescriptor; factory _DHTRecordDescriptor.fromJson(Map json) = - _$DHTRecordDescriptorImpl.fromJson; + _$_DHTRecordDescriptor.fromJson; @override Typed get key; @@ -804,7 +803,7 @@ abstract class _DHTRecordDescriptor implements DHTRecordDescriptor { FixedEncodedString43? get ownerSecret; @override @JsonKey(ignore: true) - _$$DHTRecordDescriptorImplCopyWith<_$DHTRecordDescriptorImpl> get copyWith => + _$$_DHTRecordDescriptorCopyWith<_$_DHTRecordDescriptor> get copyWith => throw _privateConstructorUsedError; } @@ -862,22 +861,22 @@ class _$ValueSubkeyRangeCopyWithImpl<$Res, $Val extends ValueSubkeyRange> } /// @nodoc -abstract class _$$ValueSubkeyRangeImplCopyWith<$Res> +abstract class _$$_ValueSubkeyRangeCopyWith<$Res> implements $ValueSubkeyRangeCopyWith<$Res> { - factory _$$ValueSubkeyRangeImplCopyWith(_$ValueSubkeyRangeImpl value, - $Res Function(_$ValueSubkeyRangeImpl) then) = - __$$ValueSubkeyRangeImplCopyWithImpl<$Res>; + factory _$$_ValueSubkeyRangeCopyWith( + _$_ValueSubkeyRange value, $Res Function(_$_ValueSubkeyRange) then) = + __$$_ValueSubkeyRangeCopyWithImpl<$Res>; @override @useResult $Res call({int low, int high}); } /// @nodoc -class __$$ValueSubkeyRangeImplCopyWithImpl<$Res> - extends _$ValueSubkeyRangeCopyWithImpl<$Res, _$ValueSubkeyRangeImpl> - implements _$$ValueSubkeyRangeImplCopyWith<$Res> { - __$$ValueSubkeyRangeImplCopyWithImpl(_$ValueSubkeyRangeImpl _value, - $Res Function(_$ValueSubkeyRangeImpl) _then) +class __$$_ValueSubkeyRangeCopyWithImpl<$Res> + extends _$ValueSubkeyRangeCopyWithImpl<$Res, _$_ValueSubkeyRange> + implements _$$_ValueSubkeyRangeCopyWith<$Res> { + __$$_ValueSubkeyRangeCopyWithImpl( + _$_ValueSubkeyRange _value, $Res Function(_$_ValueSubkeyRange) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -886,7 +885,7 @@ class __$$ValueSubkeyRangeImplCopyWithImpl<$Res> Object? low = null, Object? high = null, }) { - return _then(_$ValueSubkeyRangeImpl( + return _then(_$_ValueSubkeyRange( low: null == low ? _value.low : low // ignore: cast_nullable_to_non_nullable @@ -901,12 +900,12 @@ class __$$ValueSubkeyRangeImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$ValueSubkeyRangeImpl implements _ValueSubkeyRange { - const _$ValueSubkeyRangeImpl({required this.low, required this.high}) +class _$_ValueSubkeyRange implements _ValueSubkeyRange { + const _$_ValueSubkeyRange({required this.low, required this.high}) : assert(low >= 0 && low <= high, 'range is invalid'); - factory _$ValueSubkeyRangeImpl.fromJson(Map json) => - _$$ValueSubkeyRangeImplFromJson(json); + factory _$_ValueSubkeyRange.fromJson(Map json) => + _$$_ValueSubkeyRangeFromJson(json); @override final int low; @@ -919,10 +918,10 @@ class _$ValueSubkeyRangeImpl implements _ValueSubkeyRange { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$ValueSubkeyRangeImpl && + other is _$_ValueSubkeyRange && (identical(other.low, low) || other.low == low) && (identical(other.high, high) || other.high == high)); } @@ -934,13 +933,12 @@ class _$ValueSubkeyRangeImpl implements _ValueSubkeyRange { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$ValueSubkeyRangeImplCopyWith<_$ValueSubkeyRangeImpl> get copyWith => - __$$ValueSubkeyRangeImplCopyWithImpl<_$ValueSubkeyRangeImpl>( - this, _$identity); + _$$_ValueSubkeyRangeCopyWith<_$_ValueSubkeyRange> get copyWith => + __$$_ValueSubkeyRangeCopyWithImpl<_$_ValueSubkeyRange>(this, _$identity); @override Map toJson() { - return _$$ValueSubkeyRangeImplToJson( + return _$$_ValueSubkeyRangeToJson( this, ); } @@ -948,11 +946,10 @@ class _$ValueSubkeyRangeImpl implements _ValueSubkeyRange { abstract class _ValueSubkeyRange implements ValueSubkeyRange { const factory _ValueSubkeyRange( - {required final int low, - required final int high}) = _$ValueSubkeyRangeImpl; + {required final int low, required final int high}) = _$_ValueSubkeyRange; factory _ValueSubkeyRange.fromJson(Map json) = - _$ValueSubkeyRangeImpl.fromJson; + _$_ValueSubkeyRange.fromJson; @override int get low; @@ -960,7 +957,7 @@ abstract class _ValueSubkeyRange implements ValueSubkeyRange { int get high; @override @JsonKey(ignore: true) - _$$ValueSubkeyRangeImplCopyWith<_$ValueSubkeyRangeImpl> get copyWith => + _$$_ValueSubkeyRangeCopyWith<_$_ValueSubkeyRange> get copyWith => throw _privateConstructorUsedError; } @@ -1027,11 +1024,10 @@ class _$ValueDataCopyWithImpl<$Res, $Val extends ValueData> } /// @nodoc -abstract class _$$ValueDataImplCopyWith<$Res> - implements $ValueDataCopyWith<$Res> { - factory _$$ValueDataImplCopyWith( - _$ValueDataImpl value, $Res Function(_$ValueDataImpl) then) = - __$$ValueDataImplCopyWithImpl<$Res>; +abstract class _$$_ValueDataCopyWith<$Res> implements $ValueDataCopyWith<$Res> { + factory _$$_ValueDataCopyWith( + _$_ValueData value, $Res Function(_$_ValueData) then) = + __$$_ValueDataCopyWithImpl<$Res>; @override @useResult $Res call( @@ -1041,11 +1037,11 @@ abstract class _$$ValueDataImplCopyWith<$Res> } /// @nodoc -class __$$ValueDataImplCopyWithImpl<$Res> - extends _$ValueDataCopyWithImpl<$Res, _$ValueDataImpl> - implements _$$ValueDataImplCopyWith<$Res> { - __$$ValueDataImplCopyWithImpl( - _$ValueDataImpl _value, $Res Function(_$ValueDataImpl) _then) +class __$$_ValueDataCopyWithImpl<$Res> + extends _$ValueDataCopyWithImpl<$Res, _$_ValueData> + implements _$$_ValueDataCopyWith<$Res> { + __$$_ValueDataCopyWithImpl( + _$_ValueData _value, $Res Function(_$_ValueData) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1055,7 +1051,7 @@ class __$$ValueDataImplCopyWithImpl<$Res> Object? data = null, Object? writer = null, }) { - return _then(_$ValueDataImpl( + return _then(_$_ValueData( seq: null == seq ? _value.seq : seq // ignore: cast_nullable_to_non_nullable @@ -1074,15 +1070,15 @@ class __$$ValueDataImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$ValueDataImpl implements _ValueData { - const _$ValueDataImpl( +class _$_ValueData implements _ValueData { + const _$_ValueData( {required this.seq, @Uint8ListJsonConverter.jsIsArray() required this.data, required this.writer}) : assert(seq >= 0, 'seq out of range'); - factory _$ValueDataImpl.fromJson(Map json) => - _$$ValueDataImplFromJson(json); + factory _$_ValueData.fromJson(Map json) => + _$$_ValueDataFromJson(json); @override final int seq; @@ -1098,10 +1094,10 @@ class _$ValueDataImpl implements _ValueData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$ValueDataImpl && + other is _$_ValueData && (identical(other.seq, seq) || other.seq == seq) && const DeepCollectionEquality().equals(other.data, data) && (identical(other.writer, writer) || other.writer == writer)); @@ -1115,12 +1111,12 @@ class _$ValueDataImpl implements _ValueData { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$ValueDataImplCopyWith<_$ValueDataImpl> get copyWith => - __$$ValueDataImplCopyWithImpl<_$ValueDataImpl>(this, _$identity); + _$$_ValueDataCopyWith<_$_ValueData> get copyWith => + __$$_ValueDataCopyWithImpl<_$_ValueData>(this, _$identity); @override Map toJson() { - return _$$ValueDataImplToJson( + return _$$_ValueDataToJson( this, ); } @@ -1130,10 +1126,10 @@ abstract class _ValueData implements ValueData { const factory _ValueData( {required final int seq, @Uint8ListJsonConverter.jsIsArray() required final Uint8List data, - required final FixedEncodedString43 writer}) = _$ValueDataImpl; + required final FixedEncodedString43 writer}) = _$_ValueData; factory _ValueData.fromJson(Map json) = - _$ValueDataImpl.fromJson; + _$_ValueData.fromJson; @override int get seq; @@ -1144,7 +1140,7 @@ abstract class _ValueData implements ValueData { FixedEncodedString43 get writer; @override @JsonKey(ignore: true) - _$$ValueDataImplCopyWith<_$ValueDataImpl> get copyWith => + _$$_ValueDataCopyWith<_$_ValueData> get copyWith => throw _privateConstructorUsedError; } @@ -1218,11 +1214,11 @@ class _$SafetySpecCopyWithImpl<$Res, $Val extends SafetySpec> } /// @nodoc -abstract class _$$SafetySpecImplCopyWith<$Res> +abstract class _$$_SafetySpecCopyWith<$Res> implements $SafetySpecCopyWith<$Res> { - factory _$$SafetySpecImplCopyWith( - _$SafetySpecImpl value, $Res Function(_$SafetySpecImpl) then) = - __$$SafetySpecImplCopyWithImpl<$Res>; + factory _$$_SafetySpecCopyWith( + _$_SafetySpec value, $Res Function(_$_SafetySpec) then) = + __$$_SafetySpecCopyWithImpl<$Res>; @override @useResult $Res call( @@ -1233,11 +1229,11 @@ abstract class _$$SafetySpecImplCopyWith<$Res> } /// @nodoc -class __$$SafetySpecImplCopyWithImpl<$Res> - extends _$SafetySpecCopyWithImpl<$Res, _$SafetySpecImpl> - implements _$$SafetySpecImplCopyWith<$Res> { - __$$SafetySpecImplCopyWithImpl( - _$SafetySpecImpl _value, $Res Function(_$SafetySpecImpl) _then) +class __$$_SafetySpecCopyWithImpl<$Res> + extends _$SafetySpecCopyWithImpl<$Res, _$_SafetySpec> + implements _$$_SafetySpecCopyWith<$Res> { + __$$_SafetySpecCopyWithImpl( + _$_SafetySpec _value, $Res Function(_$_SafetySpec) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1248,7 +1244,7 @@ class __$$SafetySpecImplCopyWithImpl<$Res> Object? sequencing = null, Object? preferredRoute = freezed, }) { - return _then(_$SafetySpecImpl( + return _then(_$_SafetySpec( hopCount: null == hopCount ? _value.hopCount : hopCount // ignore: cast_nullable_to_non_nullable @@ -1271,15 +1267,15 @@ class __$$SafetySpecImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$SafetySpecImpl implements _SafetySpec { - const _$SafetySpecImpl( +class _$_SafetySpec implements _SafetySpec { + const _$_SafetySpec( {required this.hopCount, required this.stability, required this.sequencing, this.preferredRoute}); - factory _$SafetySpecImpl.fromJson(Map json) => - _$$SafetySpecImplFromJson(json); + factory _$_SafetySpec.fromJson(Map json) => + _$$_SafetySpecFromJson(json); @override final int hopCount; @@ -1296,10 +1292,10 @@ class _$SafetySpecImpl implements _SafetySpec { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$SafetySpecImpl && + other is _$_SafetySpec && (identical(other.hopCount, hopCount) || other.hopCount == hopCount) && (identical(other.stability, stability) || @@ -1318,12 +1314,12 @@ class _$SafetySpecImpl implements _SafetySpec { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$SafetySpecImplCopyWith<_$SafetySpecImpl> get copyWith => - __$$SafetySpecImplCopyWithImpl<_$SafetySpecImpl>(this, _$identity); + _$$_SafetySpecCopyWith<_$_SafetySpec> get copyWith => + __$$_SafetySpecCopyWithImpl<_$_SafetySpec>(this, _$identity); @override Map toJson() { - return _$$SafetySpecImplToJson( + return _$$_SafetySpecToJson( this, ); } @@ -1334,10 +1330,10 @@ abstract class _SafetySpec implements SafetySpec { {required final int hopCount, required final Stability stability, required final Sequencing sequencing, - final String? preferredRoute}) = _$SafetySpecImpl; + final String? preferredRoute}) = _$_SafetySpec; factory _SafetySpec.fromJson(Map json) = - _$SafetySpecImpl.fromJson; + _$_SafetySpec.fromJson; @override int get hopCount; @@ -1349,7 +1345,7 @@ abstract class _SafetySpec implements SafetySpec { String? get preferredRoute; @override @JsonKey(ignore: true) - _$$SafetySpecImplCopyWith<_$SafetySpecImpl> get copyWith => + _$$_SafetySpecCopyWith<_$_SafetySpec> get copyWith => throw _privateConstructorUsedError; } @@ -1407,22 +1403,21 @@ class _$RouteBlobCopyWithImpl<$Res, $Val extends RouteBlob> } /// @nodoc -abstract class _$$RouteBlobImplCopyWith<$Res> - implements $RouteBlobCopyWith<$Res> { - factory _$$RouteBlobImplCopyWith( - _$RouteBlobImpl value, $Res Function(_$RouteBlobImpl) then) = - __$$RouteBlobImplCopyWithImpl<$Res>; +abstract class _$$_RouteBlobCopyWith<$Res> implements $RouteBlobCopyWith<$Res> { + factory _$$_RouteBlobCopyWith( + _$_RouteBlob value, $Res Function(_$_RouteBlob) then) = + __$$_RouteBlobCopyWithImpl<$Res>; @override @useResult $Res call({String routeId, @Uint8ListJsonConverter() Uint8List blob}); } /// @nodoc -class __$$RouteBlobImplCopyWithImpl<$Res> - extends _$RouteBlobCopyWithImpl<$Res, _$RouteBlobImpl> - implements _$$RouteBlobImplCopyWith<$Res> { - __$$RouteBlobImplCopyWithImpl( - _$RouteBlobImpl _value, $Res Function(_$RouteBlobImpl) _then) +class __$$_RouteBlobCopyWithImpl<$Res> + extends _$RouteBlobCopyWithImpl<$Res, _$_RouteBlob> + implements _$$_RouteBlobCopyWith<$Res> { + __$$_RouteBlobCopyWithImpl( + _$_RouteBlob _value, $Res Function(_$_RouteBlob) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1431,7 +1426,7 @@ class __$$RouteBlobImplCopyWithImpl<$Res> Object? routeId = null, Object? blob = null, }) { - return _then(_$RouteBlobImpl( + return _then(_$_RouteBlob( routeId: null == routeId ? _value.routeId : routeId // ignore: cast_nullable_to_non_nullable @@ -1446,12 +1441,12 @@ class __$$RouteBlobImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$RouteBlobImpl implements _RouteBlob { - const _$RouteBlobImpl( +class _$_RouteBlob implements _RouteBlob { + const _$_RouteBlob( {required this.routeId, @Uint8ListJsonConverter() required this.blob}); - factory _$RouteBlobImpl.fromJson(Map json) => - _$$RouteBlobImplFromJson(json); + factory _$_RouteBlob.fromJson(Map json) => + _$$_RouteBlobFromJson(json); @override final String routeId; @@ -1465,10 +1460,10 @@ class _$RouteBlobImpl implements _RouteBlob { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RouteBlobImpl && + other is _$_RouteBlob && (identical(other.routeId, routeId) || other.routeId == routeId) && const DeepCollectionEquality().equals(other.blob, blob)); } @@ -1481,12 +1476,12 @@ class _$RouteBlobImpl implements _RouteBlob { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$RouteBlobImplCopyWith<_$RouteBlobImpl> get copyWith => - __$$RouteBlobImplCopyWithImpl<_$RouteBlobImpl>(this, _$identity); + _$$_RouteBlobCopyWith<_$_RouteBlob> get copyWith => + __$$_RouteBlobCopyWithImpl<_$_RouteBlob>(this, _$identity); @override Map toJson() { - return _$$RouteBlobImplToJson( + return _$$_RouteBlobToJson( this, ); } @@ -1494,12 +1489,11 @@ class _$RouteBlobImpl implements _RouteBlob { abstract class _RouteBlob implements RouteBlob { const factory _RouteBlob( - {required final String routeId, - @Uint8ListJsonConverter() required final Uint8List blob}) = - _$RouteBlobImpl; + {required final String routeId, + @Uint8ListJsonConverter() required final Uint8List blob}) = _$_RouteBlob; factory _RouteBlob.fromJson(Map json) = - _$RouteBlobImpl.fromJson; + _$_RouteBlob.fromJson; @override String get routeId; @@ -1508,6 +1502,6 @@ abstract class _RouteBlob implements RouteBlob { Uint8List get blob; @override @JsonKey(ignore: true) - _$$RouteBlobImplCopyWith<_$RouteBlobImpl> get copyWith => + _$$_RouteBlobCopyWith<_$_RouteBlob> get copyWith => throw _privateConstructorUsedError; } diff --git a/veilid-flutter/lib/routing_context.g.dart b/veilid-flutter/lib/routing_context.g.dart index 79ff0310..d76ff703 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 // ************************************************************************** -_$DHTSchemaDFLTImpl _$$DHTSchemaDFLTImplFromJson(Map json) => - _$DHTSchemaDFLTImpl( +_$DHTSchemaDFLT _$$DHTSchemaDFLTFromJson(Map json) => + _$DHTSchemaDFLT( oCnt: json['o_cnt'] as int, $type: json['kind'] as String?, ); -Map _$$DHTSchemaDFLTImplToJson(_$DHTSchemaDFLTImpl instance) => +Map _$$DHTSchemaDFLTToJson(_$DHTSchemaDFLT instance) => { 'o_cnt': instance.oCnt, 'kind': instance.$type, }; -_$DHTSchemaSMPLImpl _$$DHTSchemaSMPLImplFromJson(Map json) => - _$DHTSchemaSMPLImpl( +_$DHTSchemaSMPL _$$DHTSchemaSMPLFromJson(Map json) => + _$DHTSchemaSMPL( oCnt: json['o_cnt'] as int, members: (json['members'] as List) .map(DHTSchemaMember.fromJson) @@ -27,30 +27,28 @@ _$DHTSchemaSMPLImpl _$$DHTSchemaSMPLImplFromJson(Map json) => $type: json['kind'] as String?, ); -Map _$$DHTSchemaSMPLImplToJson(_$DHTSchemaSMPLImpl instance) => +Map _$$DHTSchemaSMPLToJson(_$DHTSchemaSMPL instance) => { 'o_cnt': instance.oCnt, 'members': instance.members.map((e) => e.toJson()).toList(), 'kind': instance.$type, }; -_$DHTSchemaMemberImpl _$$DHTSchemaMemberImplFromJson( - Map json) => - _$DHTSchemaMemberImpl( +_$_DHTSchemaMember _$$_DHTSchemaMemberFromJson(Map json) => + _$_DHTSchemaMember( mKey: FixedEncodedString43.fromJson(json['m_key']), mCnt: json['m_cnt'] as int, ); -Map _$$DHTSchemaMemberImplToJson( - _$DHTSchemaMemberImpl instance) => +Map _$$_DHTSchemaMemberToJson(_$_DHTSchemaMember instance) => { 'm_key': instance.mKey.toJson(), 'm_cnt': instance.mCnt, }; -_$DHTRecordDescriptorImpl _$$DHTRecordDescriptorImplFromJson( +_$_DHTRecordDescriptor _$$_DHTRecordDescriptorFromJson( Map json) => - _$DHTRecordDescriptorImpl( + _$_DHTRecordDescriptor( key: Typed.fromJson(json['key']), owner: FixedEncodedString43.fromJson(json['owner']), schema: DHTSchema.fromJson(json['schema']), @@ -59,8 +57,8 @@ _$DHTRecordDescriptorImpl _$$DHTRecordDescriptorImplFromJson( : FixedEncodedString43.fromJson(json['owner_secret']), ); -Map _$$DHTRecordDescriptorImplToJson( - _$DHTRecordDescriptorImpl instance) => +Map _$$_DHTRecordDescriptorToJson( + _$_DHTRecordDescriptor instance) => { 'key': instance.key.toJson(), 'owner': instance.owner.toJson(), @@ -68,43 +66,40 @@ Map _$$DHTRecordDescriptorImplToJson( 'owner_secret': instance.ownerSecret?.toJson(), }; -_$ValueSubkeyRangeImpl _$$ValueSubkeyRangeImplFromJson( - Map json) => - _$ValueSubkeyRangeImpl( +_$_ValueSubkeyRange _$$_ValueSubkeyRangeFromJson(Map json) => + _$_ValueSubkeyRange( low: json['low'] as int, high: json['high'] as int, ); -Map _$$ValueSubkeyRangeImplToJson( - _$ValueSubkeyRangeImpl instance) => +Map _$$_ValueSubkeyRangeToJson(_$_ValueSubkeyRange instance) => { 'low': instance.low, 'high': instance.high, }; -_$ValueDataImpl _$$ValueDataImplFromJson(Map json) => - _$ValueDataImpl( +_$_ValueData _$$_ValueDataFromJson(Map json) => _$_ValueData( seq: json['seq'] as int, data: const Uint8ListJsonConverter.jsIsArray().fromJson(json['data']), writer: FixedEncodedString43.fromJson(json['writer']), ); -Map _$$ValueDataImplToJson(_$ValueDataImpl instance) => +Map _$$_ValueDataToJson(_$_ValueData instance) => { 'seq': instance.seq, 'data': const Uint8ListJsonConverter.jsIsArray().toJson(instance.data), 'writer': instance.writer.toJson(), }; -_$SafetySpecImpl _$$SafetySpecImplFromJson(Map json) => - _$SafetySpecImpl( +_$_SafetySpec _$$_SafetySpecFromJson(Map json) => + _$_SafetySpec( hopCount: json['hop_count'] as int, stability: Stability.fromJson(json['stability']), sequencing: Sequencing.fromJson(json['sequencing']), preferredRoute: json['preferred_route'] as String?, ); -Map _$$SafetySpecImplToJson(_$SafetySpecImpl instance) => +Map _$$_SafetySpecToJson(_$_SafetySpec instance) => { 'hop_count': instance.hopCount, 'stability': instance.stability.toJson(), @@ -112,13 +107,12 @@ Map _$$SafetySpecImplToJson(_$SafetySpecImpl instance) => 'preferred_route': instance.preferredRoute, }; -_$RouteBlobImpl _$$RouteBlobImplFromJson(Map json) => - _$RouteBlobImpl( +_$_RouteBlob _$$_RouteBlobFromJson(Map json) => _$_RouteBlob( routeId: json['route_id'] as String, blob: const Uint8ListJsonConverter().fromJson(json['blob']), ); -Map _$$RouteBlobImplToJson(_$RouteBlobImpl instance) => +Map _$$_RouteBlobToJson(_$_RouteBlob instance) => { 'route_id': instance.routeId, 'blob': const Uint8ListJsonConverter().toJson(instance.blob), diff --git a/veilid-flutter/lib/veilid_config.freezed.dart b/veilid-flutter/lib/veilid_config.freezed.dart index 5c49006a..0f74d2d4 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 _$$VeilidFFIConfigLoggingTerminalImplCopyWith<$Res> +abstract class _$$_VeilidFFIConfigLoggingTerminalCopyWith<$Res> implements $VeilidFFIConfigLoggingTerminalCopyWith<$Res> { - factory _$$VeilidFFIConfigLoggingTerminalImplCopyWith( - _$VeilidFFIConfigLoggingTerminalImpl value, - $Res Function(_$VeilidFFIConfigLoggingTerminalImpl) then) = - __$$VeilidFFIConfigLoggingTerminalImplCopyWithImpl<$Res>; + factory _$$_VeilidFFIConfigLoggingTerminalCopyWith( + _$_VeilidFFIConfigLoggingTerminal value, + $Res Function(_$_VeilidFFIConfigLoggingTerminal) then) = + __$$_VeilidFFIConfigLoggingTerminalCopyWithImpl<$Res>; @override @useResult $Res call({bool enabled, VeilidConfigLogLevel level}); } /// @nodoc -class __$$VeilidFFIConfigLoggingTerminalImplCopyWithImpl<$Res> +class __$$_VeilidFFIConfigLoggingTerminalCopyWithImpl<$Res> extends _$VeilidFFIConfigLoggingTerminalCopyWithImpl<$Res, - _$VeilidFFIConfigLoggingTerminalImpl> - implements _$$VeilidFFIConfigLoggingTerminalImplCopyWith<$Res> { - __$$VeilidFFIConfigLoggingTerminalImplCopyWithImpl( - _$VeilidFFIConfigLoggingTerminalImpl _value, - $Res Function(_$VeilidFFIConfigLoggingTerminalImpl) _then) + _$_VeilidFFIConfigLoggingTerminal> + implements _$$_VeilidFFIConfigLoggingTerminalCopyWith<$Res> { + __$$_VeilidFFIConfigLoggingTerminalCopyWithImpl( + _$_VeilidFFIConfigLoggingTerminal _value, + $Res Function(_$_VeilidFFIConfigLoggingTerminal) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -99,7 +99,7 @@ class __$$VeilidFFIConfigLoggingTerminalImplCopyWithImpl<$Res> Object? enabled = null, Object? level = null, }) { - return _then(_$VeilidFFIConfigLoggingTerminalImpl( + return _then(_$_VeilidFFIConfigLoggingTerminal( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -114,15 +114,15 @@ class __$$VeilidFFIConfigLoggingTerminalImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidFFIConfigLoggingTerminalImpl +class _$_VeilidFFIConfigLoggingTerminal with DiagnosticableTreeMixin implements _VeilidFFIConfigLoggingTerminal { - const _$VeilidFFIConfigLoggingTerminalImpl( + const _$_VeilidFFIConfigLoggingTerminal( {required this.enabled, required this.level}); - factory _$VeilidFFIConfigLoggingTerminalImpl.fromJson( + factory _$_VeilidFFIConfigLoggingTerminal.fromJson( Map json) => - _$$VeilidFFIConfigLoggingTerminalImplFromJson(json); + _$$_VeilidFFIConfigLoggingTerminalFromJson(json); @override final bool enabled; @@ -144,10 +144,10 @@ class _$VeilidFFIConfigLoggingTerminalImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidFFIConfigLoggingTerminalImpl && + other is _$_VeilidFFIConfigLoggingTerminal && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.level, level) || other.level == level)); } @@ -159,14 +159,13 @@ class _$VeilidFFIConfigLoggingTerminalImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidFFIConfigLoggingTerminalImplCopyWith< - _$VeilidFFIConfigLoggingTerminalImpl> - get copyWith => __$$VeilidFFIConfigLoggingTerminalImplCopyWithImpl< - _$VeilidFFIConfigLoggingTerminalImpl>(this, _$identity); + _$$_VeilidFFIConfigLoggingTerminalCopyWith<_$_VeilidFFIConfigLoggingTerminal> + get copyWith => __$$_VeilidFFIConfigLoggingTerminalCopyWithImpl< + _$_VeilidFFIConfigLoggingTerminal>(this, _$identity); @override Map toJson() { - return _$$VeilidFFIConfigLoggingTerminalImplToJson( + return _$$_VeilidFFIConfigLoggingTerminalToJson( this, ); } @@ -177,10 +176,10 @@ abstract class _VeilidFFIConfigLoggingTerminal const factory _VeilidFFIConfigLoggingTerminal( {required final bool enabled, required final VeilidConfigLogLevel level}) = - _$VeilidFFIConfigLoggingTerminalImpl; + _$_VeilidFFIConfigLoggingTerminal; factory _VeilidFFIConfigLoggingTerminal.fromJson(Map json) = - _$VeilidFFIConfigLoggingTerminalImpl.fromJson; + _$_VeilidFFIConfigLoggingTerminal.fromJson; @override bool get enabled; @@ -188,8 +187,7 @@ abstract class _VeilidFFIConfigLoggingTerminal VeilidConfigLogLevel get level; @override @JsonKey(ignore: true) - _$$VeilidFFIConfigLoggingTerminalImplCopyWith< - _$VeilidFFIConfigLoggingTerminalImpl> + _$$_VeilidFFIConfigLoggingTerminalCopyWith<_$_VeilidFFIConfigLoggingTerminal> get copyWith => throw _privateConstructorUsedError; } @@ -266,12 +264,12 @@ class _$VeilidFFIConfigLoggingOtlpCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidFFIConfigLoggingOtlpImplCopyWith<$Res> +abstract class _$$_VeilidFFIConfigLoggingOtlpCopyWith<$Res> implements $VeilidFFIConfigLoggingOtlpCopyWith<$Res> { - factory _$$VeilidFFIConfigLoggingOtlpImplCopyWith( - _$VeilidFFIConfigLoggingOtlpImpl value, - $Res Function(_$VeilidFFIConfigLoggingOtlpImpl) then) = - __$$VeilidFFIConfigLoggingOtlpImplCopyWithImpl<$Res>; + factory _$$_VeilidFFIConfigLoggingOtlpCopyWith( + _$_VeilidFFIConfigLoggingOtlp value, + $Res Function(_$_VeilidFFIConfigLoggingOtlp) then) = + __$$_VeilidFFIConfigLoggingOtlpCopyWithImpl<$Res>; @override @useResult $Res call( @@ -282,13 +280,13 @@ abstract class _$$VeilidFFIConfigLoggingOtlpImplCopyWith<$Res> } /// @nodoc -class __$$VeilidFFIConfigLoggingOtlpImplCopyWithImpl<$Res> +class __$$_VeilidFFIConfigLoggingOtlpCopyWithImpl<$Res> extends _$VeilidFFIConfigLoggingOtlpCopyWithImpl<$Res, - _$VeilidFFIConfigLoggingOtlpImpl> - implements _$$VeilidFFIConfigLoggingOtlpImplCopyWith<$Res> { - __$$VeilidFFIConfigLoggingOtlpImplCopyWithImpl( - _$VeilidFFIConfigLoggingOtlpImpl _value, - $Res Function(_$VeilidFFIConfigLoggingOtlpImpl) _then) + _$_VeilidFFIConfigLoggingOtlp> + implements _$$_VeilidFFIConfigLoggingOtlpCopyWith<$Res> { + __$$_VeilidFFIConfigLoggingOtlpCopyWithImpl( + _$_VeilidFFIConfigLoggingOtlp _value, + $Res Function(_$_VeilidFFIConfigLoggingOtlp) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -299,7 +297,7 @@ class __$$VeilidFFIConfigLoggingOtlpImplCopyWithImpl<$Res> Object? grpcEndpoint = null, Object? serviceName = null, }) { - return _then(_$VeilidFFIConfigLoggingOtlpImpl( + return _then(_$_VeilidFFIConfigLoggingOtlp( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -322,18 +320,17 @@ class __$$VeilidFFIConfigLoggingOtlpImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidFFIConfigLoggingOtlpImpl +class _$_VeilidFFIConfigLoggingOtlp with DiagnosticableTreeMixin implements _VeilidFFIConfigLoggingOtlp { - const _$VeilidFFIConfigLoggingOtlpImpl( + const _$_VeilidFFIConfigLoggingOtlp( {required this.enabled, required this.level, required this.grpcEndpoint, required this.serviceName}); - factory _$VeilidFFIConfigLoggingOtlpImpl.fromJson( - Map json) => - _$$VeilidFFIConfigLoggingOtlpImplFromJson(json); + factory _$_VeilidFFIConfigLoggingOtlp.fromJson(Map json) => + _$$_VeilidFFIConfigLoggingOtlpFromJson(json); @override final bool enabled; @@ -361,10 +358,10 @@ class _$VeilidFFIConfigLoggingOtlpImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidFFIConfigLoggingOtlpImpl && + other is _$_VeilidFFIConfigLoggingOtlp && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.level, level) || other.level == level) && (identical(other.grpcEndpoint, grpcEndpoint) || @@ -381,13 +378,13 @@ class _$VeilidFFIConfigLoggingOtlpImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidFFIConfigLoggingOtlpImplCopyWith<_$VeilidFFIConfigLoggingOtlpImpl> - get copyWith => __$$VeilidFFIConfigLoggingOtlpImplCopyWithImpl< - _$VeilidFFIConfigLoggingOtlpImpl>(this, _$identity); + _$$_VeilidFFIConfigLoggingOtlpCopyWith<_$_VeilidFFIConfigLoggingOtlp> + get copyWith => __$$_VeilidFFIConfigLoggingOtlpCopyWithImpl< + _$_VeilidFFIConfigLoggingOtlp>(this, _$identity); @override Map toJson() { - return _$$VeilidFFIConfigLoggingOtlpImplToJson( + return _$$_VeilidFFIConfigLoggingOtlpToJson( this, ); } @@ -399,10 +396,10 @@ abstract class _VeilidFFIConfigLoggingOtlp {required final bool enabled, required final VeilidConfigLogLevel level, required final String grpcEndpoint, - required final String serviceName}) = _$VeilidFFIConfigLoggingOtlpImpl; + required final String serviceName}) = _$_VeilidFFIConfigLoggingOtlp; factory _VeilidFFIConfigLoggingOtlp.fromJson(Map json) = - _$VeilidFFIConfigLoggingOtlpImpl.fromJson; + _$_VeilidFFIConfigLoggingOtlp.fromJson; @override bool get enabled; @@ -414,7 +411,7 @@ abstract class _VeilidFFIConfigLoggingOtlp String get serviceName; @override @JsonKey(ignore: true) - _$$VeilidFFIConfigLoggingOtlpImplCopyWith<_$VeilidFFIConfigLoggingOtlpImpl> + _$$_VeilidFFIConfigLoggingOtlpCopyWith<_$_VeilidFFIConfigLoggingOtlp> get copyWith => throw _privateConstructorUsedError; } @@ -474,25 +471,25 @@ class _$VeilidFFIConfigLoggingApiCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidFFIConfigLoggingApiImplCopyWith<$Res> +abstract class _$$_VeilidFFIConfigLoggingApiCopyWith<$Res> implements $VeilidFFIConfigLoggingApiCopyWith<$Res> { - factory _$$VeilidFFIConfigLoggingApiImplCopyWith( - _$VeilidFFIConfigLoggingApiImpl value, - $Res Function(_$VeilidFFIConfigLoggingApiImpl) then) = - __$$VeilidFFIConfigLoggingApiImplCopyWithImpl<$Res>; + factory _$$_VeilidFFIConfigLoggingApiCopyWith( + _$_VeilidFFIConfigLoggingApi value, + $Res Function(_$_VeilidFFIConfigLoggingApi) then) = + __$$_VeilidFFIConfigLoggingApiCopyWithImpl<$Res>; @override @useResult $Res call({bool enabled, VeilidConfigLogLevel level}); } /// @nodoc -class __$$VeilidFFIConfigLoggingApiImplCopyWithImpl<$Res> +class __$$_VeilidFFIConfigLoggingApiCopyWithImpl<$Res> extends _$VeilidFFIConfigLoggingApiCopyWithImpl<$Res, - _$VeilidFFIConfigLoggingApiImpl> - implements _$$VeilidFFIConfigLoggingApiImplCopyWith<$Res> { - __$$VeilidFFIConfigLoggingApiImplCopyWithImpl( - _$VeilidFFIConfigLoggingApiImpl _value, - $Res Function(_$VeilidFFIConfigLoggingApiImpl) _then) + _$_VeilidFFIConfigLoggingApi> + implements _$$_VeilidFFIConfigLoggingApiCopyWith<$Res> { + __$$_VeilidFFIConfigLoggingApiCopyWithImpl( + _$_VeilidFFIConfigLoggingApi _value, + $Res Function(_$_VeilidFFIConfigLoggingApi) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -501,7 +498,7 @@ class __$$VeilidFFIConfigLoggingApiImplCopyWithImpl<$Res> Object? enabled = null, Object? level = null, }) { - return _then(_$VeilidFFIConfigLoggingApiImpl( + return _then(_$_VeilidFFIConfigLoggingApi( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -516,14 +513,14 @@ class __$$VeilidFFIConfigLoggingApiImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidFFIConfigLoggingApiImpl +class _$_VeilidFFIConfigLoggingApi with DiagnosticableTreeMixin implements _VeilidFFIConfigLoggingApi { - const _$VeilidFFIConfigLoggingApiImpl( + const _$_VeilidFFIConfigLoggingApi( {required this.enabled, required this.level}); - factory _$VeilidFFIConfigLoggingApiImpl.fromJson(Map json) => - _$$VeilidFFIConfigLoggingApiImplFromJson(json); + factory _$_VeilidFFIConfigLoggingApi.fromJson(Map json) => + _$$_VeilidFFIConfigLoggingApiFromJson(json); @override final bool enabled; @@ -545,10 +542,10 @@ class _$VeilidFFIConfigLoggingApiImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidFFIConfigLoggingApiImpl && + other is _$_VeilidFFIConfigLoggingApi && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.level, level) || other.level == level)); } @@ -560,13 +557,13 @@ class _$VeilidFFIConfigLoggingApiImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidFFIConfigLoggingApiImplCopyWith<_$VeilidFFIConfigLoggingApiImpl> - get copyWith => __$$VeilidFFIConfigLoggingApiImplCopyWithImpl< - _$VeilidFFIConfigLoggingApiImpl>(this, _$identity); + _$$_VeilidFFIConfigLoggingApiCopyWith<_$_VeilidFFIConfigLoggingApi> + get copyWith => __$$_VeilidFFIConfigLoggingApiCopyWithImpl< + _$_VeilidFFIConfigLoggingApi>(this, _$identity); @override Map toJson() { - return _$$VeilidFFIConfigLoggingApiImplToJson( + return _$$_VeilidFFIConfigLoggingApiToJson( this, ); } @@ -576,10 +573,10 @@ abstract class _VeilidFFIConfigLoggingApi implements VeilidFFIConfigLoggingApi { const factory _VeilidFFIConfigLoggingApi( {required final bool enabled, required final VeilidConfigLogLevel level}) = - _$VeilidFFIConfigLoggingApiImpl; + _$_VeilidFFIConfigLoggingApi; factory _VeilidFFIConfigLoggingApi.fromJson(Map json) = - _$VeilidFFIConfigLoggingApiImpl.fromJson; + _$_VeilidFFIConfigLoggingApi.fromJson; @override bool get enabled; @@ -587,7 +584,7 @@ abstract class _VeilidFFIConfigLoggingApi implements VeilidFFIConfigLoggingApi { VeilidConfigLogLevel get level; @override @JsonKey(ignore: true) - _$$VeilidFFIConfigLoggingApiImplCopyWith<_$VeilidFFIConfigLoggingApiImpl> + _$$_VeilidFFIConfigLoggingApiCopyWith<_$_VeilidFFIConfigLoggingApi> get copyWith => throw _privateConstructorUsedError; } @@ -686,12 +683,11 @@ class _$VeilidFFIConfigLoggingCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidFFIConfigLoggingImplCopyWith<$Res> +abstract class _$$_VeilidFFIConfigLoggingCopyWith<$Res> implements $VeilidFFIConfigLoggingCopyWith<$Res> { - factory _$$VeilidFFIConfigLoggingImplCopyWith( - _$VeilidFFIConfigLoggingImpl value, - $Res Function(_$VeilidFFIConfigLoggingImpl) then) = - __$$VeilidFFIConfigLoggingImplCopyWithImpl<$Res>; + factory _$$_VeilidFFIConfigLoggingCopyWith(_$_VeilidFFIConfigLogging value, + $Res Function(_$_VeilidFFIConfigLogging) then) = + __$$_VeilidFFIConfigLoggingCopyWithImpl<$Res>; @override @useResult $Res call( @@ -708,13 +704,12 @@ abstract class _$$VeilidFFIConfigLoggingImplCopyWith<$Res> } /// @nodoc -class __$$VeilidFFIConfigLoggingImplCopyWithImpl<$Res> +class __$$_VeilidFFIConfigLoggingCopyWithImpl<$Res> extends _$VeilidFFIConfigLoggingCopyWithImpl<$Res, - _$VeilidFFIConfigLoggingImpl> - implements _$$VeilidFFIConfigLoggingImplCopyWith<$Res> { - __$$VeilidFFIConfigLoggingImplCopyWithImpl( - _$VeilidFFIConfigLoggingImpl _value, - $Res Function(_$VeilidFFIConfigLoggingImpl) _then) + _$_VeilidFFIConfigLogging> + implements _$$_VeilidFFIConfigLoggingCopyWith<$Res> { + __$$_VeilidFFIConfigLoggingCopyWithImpl(_$_VeilidFFIConfigLogging _value, + $Res Function(_$_VeilidFFIConfigLogging) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -724,7 +719,7 @@ class __$$VeilidFFIConfigLoggingImplCopyWithImpl<$Res> Object? otlp = null, Object? api = null, }) { - return _then(_$VeilidFFIConfigLoggingImpl( + return _then(_$_VeilidFFIConfigLogging( terminal: null == terminal ? _value.terminal : terminal // ignore: cast_nullable_to_non_nullable @@ -743,14 +738,14 @@ class __$$VeilidFFIConfigLoggingImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidFFIConfigLoggingImpl +class _$_VeilidFFIConfigLogging with DiagnosticableTreeMixin implements _VeilidFFIConfigLogging { - const _$VeilidFFIConfigLoggingImpl( + const _$_VeilidFFIConfigLogging( {required this.terminal, required this.otlp, required this.api}); - factory _$VeilidFFIConfigLoggingImpl.fromJson(Map json) => - _$$VeilidFFIConfigLoggingImplFromJson(json); + factory _$_VeilidFFIConfigLogging.fromJson(Map json) => + _$$_VeilidFFIConfigLoggingFromJson(json); @override final VeilidFFIConfigLoggingTerminal terminal; @@ -775,10 +770,10 @@ class _$VeilidFFIConfigLoggingImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidFFIConfigLoggingImpl && + other is _$_VeilidFFIConfigLogging && (identical(other.terminal, terminal) || other.terminal == terminal) && (identical(other.otlp, otlp) || other.otlp == otlp) && @@ -792,13 +787,13 @@ class _$VeilidFFIConfigLoggingImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidFFIConfigLoggingImplCopyWith<_$VeilidFFIConfigLoggingImpl> - get copyWith => __$$VeilidFFIConfigLoggingImplCopyWithImpl< - _$VeilidFFIConfigLoggingImpl>(this, _$identity); + _$$_VeilidFFIConfigLoggingCopyWith<_$_VeilidFFIConfigLogging> get copyWith => + __$$_VeilidFFIConfigLoggingCopyWithImpl<_$_VeilidFFIConfigLogging>( + this, _$identity); @override Map toJson() { - return _$$VeilidFFIConfigLoggingImplToJson( + return _$$_VeilidFFIConfigLoggingToJson( this, ); } @@ -809,10 +804,10 @@ abstract class _VeilidFFIConfigLogging implements VeilidFFIConfigLogging { {required final VeilidFFIConfigLoggingTerminal terminal, required final VeilidFFIConfigLoggingOtlp otlp, required final VeilidFFIConfigLoggingApi api}) = - _$VeilidFFIConfigLoggingImpl; + _$_VeilidFFIConfigLogging; factory _VeilidFFIConfigLogging.fromJson(Map json) = - _$VeilidFFIConfigLoggingImpl.fromJson; + _$_VeilidFFIConfigLogging.fromJson; @override VeilidFFIConfigLoggingTerminal get terminal; @@ -822,8 +817,8 @@ abstract class _VeilidFFIConfigLogging implements VeilidFFIConfigLogging { VeilidFFIConfigLoggingApi get api; @override @JsonKey(ignore: true) - _$$VeilidFFIConfigLoggingImplCopyWith<_$VeilidFFIConfigLoggingImpl> - get copyWith => throw _privateConstructorUsedError; + _$$_VeilidFFIConfigLoggingCopyWith<_$_VeilidFFIConfigLogging> get copyWith => + throw _privateConstructorUsedError; } VeilidFFIConfig _$VeilidFFIConfigFromJson(Map json) { @@ -884,11 +879,11 @@ class _$VeilidFFIConfigCopyWithImpl<$Res, $Val extends VeilidFFIConfig> } /// @nodoc -abstract class _$$VeilidFFIConfigImplCopyWith<$Res> +abstract class _$$_VeilidFFIConfigCopyWith<$Res> implements $VeilidFFIConfigCopyWith<$Res> { - factory _$$VeilidFFIConfigImplCopyWith(_$VeilidFFIConfigImpl value, - $Res Function(_$VeilidFFIConfigImpl) then) = - __$$VeilidFFIConfigImplCopyWithImpl<$Res>; + factory _$$_VeilidFFIConfigCopyWith( + _$_VeilidFFIConfig value, $Res Function(_$_VeilidFFIConfig) then) = + __$$_VeilidFFIConfigCopyWithImpl<$Res>; @override @useResult $Res call({VeilidFFIConfigLogging logging}); @@ -898,11 +893,11 @@ abstract class _$$VeilidFFIConfigImplCopyWith<$Res> } /// @nodoc -class __$$VeilidFFIConfigImplCopyWithImpl<$Res> - extends _$VeilidFFIConfigCopyWithImpl<$Res, _$VeilidFFIConfigImpl> - implements _$$VeilidFFIConfigImplCopyWith<$Res> { - __$$VeilidFFIConfigImplCopyWithImpl( - _$VeilidFFIConfigImpl _value, $Res Function(_$VeilidFFIConfigImpl) _then) +class __$$_VeilidFFIConfigCopyWithImpl<$Res> + extends _$VeilidFFIConfigCopyWithImpl<$Res, _$_VeilidFFIConfig> + implements _$$_VeilidFFIConfigCopyWith<$Res> { + __$$_VeilidFFIConfigCopyWithImpl( + _$_VeilidFFIConfig _value, $Res Function(_$_VeilidFFIConfig) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -910,7 +905,7 @@ class __$$VeilidFFIConfigImplCopyWithImpl<$Res> $Res call({ Object? logging = null, }) { - return _then(_$VeilidFFIConfigImpl( + return _then(_$_VeilidFFIConfig( logging: null == logging ? _value.logging : logging // ignore: cast_nullable_to_non_nullable @@ -921,13 +916,13 @@ class __$$VeilidFFIConfigImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidFFIConfigImpl +class _$_VeilidFFIConfig with DiagnosticableTreeMixin implements _VeilidFFIConfig { - const _$VeilidFFIConfigImpl({required this.logging}); + const _$_VeilidFFIConfig({required this.logging}); - factory _$VeilidFFIConfigImpl.fromJson(Map json) => - _$$VeilidFFIConfigImplFromJson(json); + factory _$_VeilidFFIConfig.fromJson(Map json) => + _$$_VeilidFFIConfigFromJson(json); @override final VeilidFFIConfigLogging logging; @@ -946,10 +941,10 @@ class _$VeilidFFIConfigImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidFFIConfigImpl && + other is _$_VeilidFFIConfig && (identical(other.logging, logging) || other.logging == logging)); } @@ -960,13 +955,12 @@ class _$VeilidFFIConfigImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidFFIConfigImplCopyWith<_$VeilidFFIConfigImpl> get copyWith => - __$$VeilidFFIConfigImplCopyWithImpl<_$VeilidFFIConfigImpl>( - this, _$identity); + _$$_VeilidFFIConfigCopyWith<_$_VeilidFFIConfig> get copyWith => + __$$_VeilidFFIConfigCopyWithImpl<_$_VeilidFFIConfig>(this, _$identity); @override Map toJson() { - return _$$VeilidFFIConfigImplToJson( + return _$$_VeilidFFIConfigToJson( this, ); } @@ -974,16 +968,16 @@ class _$VeilidFFIConfigImpl abstract class _VeilidFFIConfig implements VeilidFFIConfig { const factory _VeilidFFIConfig( - {required final VeilidFFIConfigLogging logging}) = _$VeilidFFIConfigImpl; + {required final VeilidFFIConfigLogging logging}) = _$_VeilidFFIConfig; factory _VeilidFFIConfig.fromJson(Map json) = - _$VeilidFFIConfigImpl.fromJson; + _$_VeilidFFIConfig.fromJson; @override VeilidFFIConfigLogging get logging; @override @JsonKey(ignore: true) - _$$VeilidFFIConfigImplCopyWith<_$VeilidFFIConfigImpl> get copyWith => + _$$_VeilidFFIConfigCopyWith<_$_VeilidFFIConfig> get copyWith => throw _privateConstructorUsedError; } @@ -1062,12 +1056,12 @@ class _$VeilidWASMConfigLoggingPerformanceCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidWASMConfigLoggingPerformanceImplCopyWith<$Res> +abstract class _$$_VeilidWASMConfigLoggingPerformanceCopyWith<$Res> implements $VeilidWASMConfigLoggingPerformanceCopyWith<$Res> { - factory _$$VeilidWASMConfigLoggingPerformanceImplCopyWith( - _$VeilidWASMConfigLoggingPerformanceImpl value, - $Res Function(_$VeilidWASMConfigLoggingPerformanceImpl) then) = - __$$VeilidWASMConfigLoggingPerformanceImplCopyWithImpl<$Res>; + factory _$$_VeilidWASMConfigLoggingPerformanceCopyWith( + _$_VeilidWASMConfigLoggingPerformance value, + $Res Function(_$_VeilidWASMConfigLoggingPerformance) then) = + __$$_VeilidWASMConfigLoggingPerformanceCopyWithImpl<$Res>; @override @useResult $Res call( @@ -1078,13 +1072,13 @@ abstract class _$$VeilidWASMConfigLoggingPerformanceImplCopyWith<$Res> } /// @nodoc -class __$$VeilidWASMConfigLoggingPerformanceImplCopyWithImpl<$Res> +class __$$_VeilidWASMConfigLoggingPerformanceCopyWithImpl<$Res> extends _$VeilidWASMConfigLoggingPerformanceCopyWithImpl<$Res, - _$VeilidWASMConfigLoggingPerformanceImpl> - implements _$$VeilidWASMConfigLoggingPerformanceImplCopyWith<$Res> { - __$$VeilidWASMConfigLoggingPerformanceImplCopyWithImpl( - _$VeilidWASMConfigLoggingPerformanceImpl _value, - $Res Function(_$VeilidWASMConfigLoggingPerformanceImpl) _then) + _$_VeilidWASMConfigLoggingPerformance> + implements _$$_VeilidWASMConfigLoggingPerformanceCopyWith<$Res> { + __$$_VeilidWASMConfigLoggingPerformanceCopyWithImpl( + _$_VeilidWASMConfigLoggingPerformance _value, + $Res Function(_$_VeilidWASMConfigLoggingPerformance) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1095,7 +1089,7 @@ class __$$VeilidWASMConfigLoggingPerformanceImplCopyWithImpl<$Res> Object? logsInTimings = null, Object? logsInConsole = null, }) { - return _then(_$VeilidWASMConfigLoggingPerformanceImpl( + return _then(_$_VeilidWASMConfigLoggingPerformance( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -1118,18 +1112,18 @@ class __$$VeilidWASMConfigLoggingPerformanceImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidWASMConfigLoggingPerformanceImpl +class _$_VeilidWASMConfigLoggingPerformance with DiagnosticableTreeMixin implements _VeilidWASMConfigLoggingPerformance { - const _$VeilidWASMConfigLoggingPerformanceImpl( + const _$_VeilidWASMConfigLoggingPerformance( {required this.enabled, required this.level, required this.logsInTimings, required this.logsInConsole}); - factory _$VeilidWASMConfigLoggingPerformanceImpl.fromJson( + factory _$_VeilidWASMConfigLoggingPerformance.fromJson( Map json) => - _$$VeilidWASMConfigLoggingPerformanceImplFromJson(json); + _$$_VeilidWASMConfigLoggingPerformanceFromJson(json); @override final bool enabled; @@ -1157,10 +1151,10 @@ class _$VeilidWASMConfigLoggingPerformanceImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidWASMConfigLoggingPerformanceImpl && + other is _$_VeilidWASMConfigLoggingPerformance && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.level, level) || other.level == level) && (identical(other.logsInTimings, logsInTimings) || @@ -1177,14 +1171,14 @@ class _$VeilidWASMConfigLoggingPerformanceImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidWASMConfigLoggingPerformanceImplCopyWith< - _$VeilidWASMConfigLoggingPerformanceImpl> - get copyWith => __$$VeilidWASMConfigLoggingPerformanceImplCopyWithImpl< - _$VeilidWASMConfigLoggingPerformanceImpl>(this, _$identity); + _$$_VeilidWASMConfigLoggingPerformanceCopyWith< + _$_VeilidWASMConfigLoggingPerformance> + get copyWith => __$$_VeilidWASMConfigLoggingPerformanceCopyWithImpl< + _$_VeilidWASMConfigLoggingPerformance>(this, _$identity); @override Map toJson() { - return _$$VeilidWASMConfigLoggingPerformanceImplToJson( + return _$$_VeilidWASMConfigLoggingPerformanceToJson( this, ); } @@ -1197,11 +1191,11 @@ abstract class _VeilidWASMConfigLoggingPerformance required final VeilidConfigLogLevel level, required final bool logsInTimings, required final bool logsInConsole}) = - _$VeilidWASMConfigLoggingPerformanceImpl; + _$_VeilidWASMConfigLoggingPerformance; factory _VeilidWASMConfigLoggingPerformance.fromJson( Map json) = - _$VeilidWASMConfigLoggingPerformanceImpl.fromJson; + _$_VeilidWASMConfigLoggingPerformance.fromJson; @override bool get enabled; @@ -1213,8 +1207,8 @@ abstract class _VeilidWASMConfigLoggingPerformance bool get logsInConsole; @override @JsonKey(ignore: true) - _$$VeilidWASMConfigLoggingPerformanceImplCopyWith< - _$VeilidWASMConfigLoggingPerformanceImpl> + _$$_VeilidWASMConfigLoggingPerformanceCopyWith< + _$_VeilidWASMConfigLoggingPerformance> get copyWith => throw _privateConstructorUsedError; } @@ -1275,25 +1269,25 @@ class _$VeilidWASMConfigLoggingApiCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidWASMConfigLoggingApiImplCopyWith<$Res> +abstract class _$$_VeilidWASMConfigLoggingApiCopyWith<$Res> implements $VeilidWASMConfigLoggingApiCopyWith<$Res> { - factory _$$VeilidWASMConfigLoggingApiImplCopyWith( - _$VeilidWASMConfigLoggingApiImpl value, - $Res Function(_$VeilidWASMConfigLoggingApiImpl) then) = - __$$VeilidWASMConfigLoggingApiImplCopyWithImpl<$Res>; + factory _$$_VeilidWASMConfigLoggingApiCopyWith( + _$_VeilidWASMConfigLoggingApi value, + $Res Function(_$_VeilidWASMConfigLoggingApi) then) = + __$$_VeilidWASMConfigLoggingApiCopyWithImpl<$Res>; @override @useResult $Res call({bool enabled, VeilidConfigLogLevel level}); } /// @nodoc -class __$$VeilidWASMConfigLoggingApiImplCopyWithImpl<$Res> +class __$$_VeilidWASMConfigLoggingApiCopyWithImpl<$Res> extends _$VeilidWASMConfigLoggingApiCopyWithImpl<$Res, - _$VeilidWASMConfigLoggingApiImpl> - implements _$$VeilidWASMConfigLoggingApiImplCopyWith<$Res> { - __$$VeilidWASMConfigLoggingApiImplCopyWithImpl( - _$VeilidWASMConfigLoggingApiImpl _value, - $Res Function(_$VeilidWASMConfigLoggingApiImpl) _then) + _$_VeilidWASMConfigLoggingApi> + implements _$$_VeilidWASMConfigLoggingApiCopyWith<$Res> { + __$$_VeilidWASMConfigLoggingApiCopyWithImpl( + _$_VeilidWASMConfigLoggingApi _value, + $Res Function(_$_VeilidWASMConfigLoggingApi) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1302,7 +1296,7 @@ class __$$VeilidWASMConfigLoggingApiImplCopyWithImpl<$Res> Object? enabled = null, Object? level = null, }) { - return _then(_$VeilidWASMConfigLoggingApiImpl( + return _then(_$_VeilidWASMConfigLoggingApi( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -1317,15 +1311,14 @@ class __$$VeilidWASMConfigLoggingApiImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidWASMConfigLoggingApiImpl +class _$_VeilidWASMConfigLoggingApi with DiagnosticableTreeMixin implements _VeilidWASMConfigLoggingApi { - const _$VeilidWASMConfigLoggingApiImpl( + const _$_VeilidWASMConfigLoggingApi( {required this.enabled, required this.level}); - factory _$VeilidWASMConfigLoggingApiImpl.fromJson( - Map json) => - _$$VeilidWASMConfigLoggingApiImplFromJson(json); + factory _$_VeilidWASMConfigLoggingApi.fromJson(Map json) => + _$$_VeilidWASMConfigLoggingApiFromJson(json); @override final bool enabled; @@ -1347,10 +1340,10 @@ class _$VeilidWASMConfigLoggingApiImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidWASMConfigLoggingApiImpl && + other is _$_VeilidWASMConfigLoggingApi && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.level, level) || other.level == level)); } @@ -1362,13 +1355,13 @@ class _$VeilidWASMConfigLoggingApiImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidWASMConfigLoggingApiImplCopyWith<_$VeilidWASMConfigLoggingApiImpl> - get copyWith => __$$VeilidWASMConfigLoggingApiImplCopyWithImpl< - _$VeilidWASMConfigLoggingApiImpl>(this, _$identity); + _$$_VeilidWASMConfigLoggingApiCopyWith<_$_VeilidWASMConfigLoggingApi> + get copyWith => __$$_VeilidWASMConfigLoggingApiCopyWithImpl< + _$_VeilidWASMConfigLoggingApi>(this, _$identity); @override Map toJson() { - return _$$VeilidWASMConfigLoggingApiImplToJson( + return _$$_VeilidWASMConfigLoggingApiToJson( this, ); } @@ -1379,10 +1372,10 @@ abstract class _VeilidWASMConfigLoggingApi const factory _VeilidWASMConfigLoggingApi( {required final bool enabled, required final VeilidConfigLogLevel level}) = - _$VeilidWASMConfigLoggingApiImpl; + _$_VeilidWASMConfigLoggingApi; factory _VeilidWASMConfigLoggingApi.fromJson(Map json) = - _$VeilidWASMConfigLoggingApiImpl.fromJson; + _$_VeilidWASMConfigLoggingApi.fromJson; @override bool get enabled; @@ -1390,7 +1383,7 @@ abstract class _VeilidWASMConfigLoggingApi VeilidConfigLogLevel get level; @override @JsonKey(ignore: true) - _$$VeilidWASMConfigLoggingApiImplCopyWith<_$VeilidWASMConfigLoggingApiImpl> + _$$_VeilidWASMConfigLoggingApiCopyWith<_$_VeilidWASMConfigLoggingApi> get copyWith => throw _privateConstructorUsedError; } @@ -1473,12 +1466,11 @@ class _$VeilidWASMConfigLoggingCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidWASMConfigLoggingImplCopyWith<$Res> +abstract class _$$_VeilidWASMConfigLoggingCopyWith<$Res> implements $VeilidWASMConfigLoggingCopyWith<$Res> { - factory _$$VeilidWASMConfigLoggingImplCopyWith( - _$VeilidWASMConfigLoggingImpl value, - $Res Function(_$VeilidWASMConfigLoggingImpl) then) = - __$$VeilidWASMConfigLoggingImplCopyWithImpl<$Res>; + factory _$$_VeilidWASMConfigLoggingCopyWith(_$_VeilidWASMConfigLogging value, + $Res Function(_$_VeilidWASMConfigLogging) then) = + __$$_VeilidWASMConfigLoggingCopyWithImpl<$Res>; @override @useResult $Res call( @@ -1492,13 +1484,12 @@ abstract class _$$VeilidWASMConfigLoggingImplCopyWith<$Res> } /// @nodoc -class __$$VeilidWASMConfigLoggingImplCopyWithImpl<$Res> +class __$$_VeilidWASMConfigLoggingCopyWithImpl<$Res> extends _$VeilidWASMConfigLoggingCopyWithImpl<$Res, - _$VeilidWASMConfigLoggingImpl> - implements _$$VeilidWASMConfigLoggingImplCopyWith<$Res> { - __$$VeilidWASMConfigLoggingImplCopyWithImpl( - _$VeilidWASMConfigLoggingImpl _value, - $Res Function(_$VeilidWASMConfigLoggingImpl) _then) + _$_VeilidWASMConfigLogging> + implements _$$_VeilidWASMConfigLoggingCopyWith<$Res> { + __$$_VeilidWASMConfigLoggingCopyWithImpl(_$_VeilidWASMConfigLogging _value, + $Res Function(_$_VeilidWASMConfigLogging) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1507,7 +1498,7 @@ class __$$VeilidWASMConfigLoggingImplCopyWithImpl<$Res> Object? performance = null, Object? api = null, }) { - return _then(_$VeilidWASMConfigLoggingImpl( + return _then(_$_VeilidWASMConfigLogging( performance: null == performance ? _value.performance : performance // ignore: cast_nullable_to_non_nullable @@ -1522,14 +1513,14 @@ class __$$VeilidWASMConfigLoggingImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidWASMConfigLoggingImpl +class _$_VeilidWASMConfigLogging with DiagnosticableTreeMixin implements _VeilidWASMConfigLogging { - const _$VeilidWASMConfigLoggingImpl( + const _$_VeilidWASMConfigLogging( {required this.performance, required this.api}); - factory _$VeilidWASMConfigLoggingImpl.fromJson(Map json) => - _$$VeilidWASMConfigLoggingImplFromJson(json); + factory _$_VeilidWASMConfigLogging.fromJson(Map json) => + _$$_VeilidWASMConfigLoggingFromJson(json); @override final VeilidWASMConfigLoggingPerformance performance; @@ -1551,10 +1542,10 @@ class _$VeilidWASMConfigLoggingImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidWASMConfigLoggingImpl && + other is _$_VeilidWASMConfigLogging && (identical(other.performance, performance) || other.performance == performance) && (identical(other.api, api) || other.api == api)); @@ -1567,13 +1558,14 @@ class _$VeilidWASMConfigLoggingImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidWASMConfigLoggingImplCopyWith<_$VeilidWASMConfigLoggingImpl> - get copyWith => __$$VeilidWASMConfigLoggingImplCopyWithImpl< - _$VeilidWASMConfigLoggingImpl>(this, _$identity); + _$$_VeilidWASMConfigLoggingCopyWith<_$_VeilidWASMConfigLogging> + get copyWith => + __$$_VeilidWASMConfigLoggingCopyWithImpl<_$_VeilidWASMConfigLogging>( + this, _$identity); @override Map toJson() { - return _$$VeilidWASMConfigLoggingImplToJson( + return _$$_VeilidWASMConfigLoggingToJson( this, ); } @@ -1583,10 +1575,10 @@ abstract class _VeilidWASMConfigLogging implements VeilidWASMConfigLogging { const factory _VeilidWASMConfigLogging( {required final VeilidWASMConfigLoggingPerformance performance, required final VeilidWASMConfigLoggingApi api}) = - _$VeilidWASMConfigLoggingImpl; + _$_VeilidWASMConfigLogging; factory _VeilidWASMConfigLogging.fromJson(Map json) = - _$VeilidWASMConfigLoggingImpl.fromJson; + _$_VeilidWASMConfigLogging.fromJson; @override VeilidWASMConfigLoggingPerformance get performance; @@ -1594,7 +1586,7 @@ abstract class _VeilidWASMConfigLogging implements VeilidWASMConfigLogging { VeilidWASMConfigLoggingApi get api; @override @JsonKey(ignore: true) - _$$VeilidWASMConfigLoggingImplCopyWith<_$VeilidWASMConfigLoggingImpl> + _$$_VeilidWASMConfigLoggingCopyWith<_$_VeilidWASMConfigLogging> get copyWith => throw _privateConstructorUsedError; } @@ -1656,11 +1648,11 @@ class _$VeilidWASMConfigCopyWithImpl<$Res, $Val extends VeilidWASMConfig> } /// @nodoc -abstract class _$$VeilidWASMConfigImplCopyWith<$Res> +abstract class _$$_VeilidWASMConfigCopyWith<$Res> implements $VeilidWASMConfigCopyWith<$Res> { - factory _$$VeilidWASMConfigImplCopyWith(_$VeilidWASMConfigImpl value, - $Res Function(_$VeilidWASMConfigImpl) then) = - __$$VeilidWASMConfigImplCopyWithImpl<$Res>; + factory _$$_VeilidWASMConfigCopyWith( + _$_VeilidWASMConfig value, $Res Function(_$_VeilidWASMConfig) then) = + __$$_VeilidWASMConfigCopyWithImpl<$Res>; @override @useResult $Res call({VeilidWASMConfigLogging logging}); @@ -1670,11 +1662,11 @@ abstract class _$$VeilidWASMConfigImplCopyWith<$Res> } /// @nodoc -class __$$VeilidWASMConfigImplCopyWithImpl<$Res> - extends _$VeilidWASMConfigCopyWithImpl<$Res, _$VeilidWASMConfigImpl> - implements _$$VeilidWASMConfigImplCopyWith<$Res> { - __$$VeilidWASMConfigImplCopyWithImpl(_$VeilidWASMConfigImpl _value, - $Res Function(_$VeilidWASMConfigImpl) _then) +class __$$_VeilidWASMConfigCopyWithImpl<$Res> + extends _$VeilidWASMConfigCopyWithImpl<$Res, _$_VeilidWASMConfig> + implements _$$_VeilidWASMConfigCopyWith<$Res> { + __$$_VeilidWASMConfigCopyWithImpl( + _$_VeilidWASMConfig _value, $Res Function(_$_VeilidWASMConfig) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1682,7 +1674,7 @@ class __$$VeilidWASMConfigImplCopyWithImpl<$Res> $Res call({ Object? logging = null, }) { - return _then(_$VeilidWASMConfigImpl( + return _then(_$_VeilidWASMConfig( logging: null == logging ? _value.logging : logging // ignore: cast_nullable_to_non_nullable @@ -1693,13 +1685,13 @@ class __$$VeilidWASMConfigImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidWASMConfigImpl +class _$_VeilidWASMConfig with DiagnosticableTreeMixin implements _VeilidWASMConfig { - const _$VeilidWASMConfigImpl({required this.logging}); + const _$_VeilidWASMConfig({required this.logging}); - factory _$VeilidWASMConfigImpl.fromJson(Map json) => - _$$VeilidWASMConfigImplFromJson(json); + factory _$_VeilidWASMConfig.fromJson(Map json) => + _$$_VeilidWASMConfigFromJson(json); @override final VeilidWASMConfigLogging logging; @@ -1718,10 +1710,10 @@ class _$VeilidWASMConfigImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidWASMConfigImpl && + other is _$_VeilidWASMConfig && (identical(other.logging, logging) || other.logging == logging)); } @@ -1732,13 +1724,12 @@ class _$VeilidWASMConfigImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidWASMConfigImplCopyWith<_$VeilidWASMConfigImpl> get copyWith => - __$$VeilidWASMConfigImplCopyWithImpl<_$VeilidWASMConfigImpl>( - this, _$identity); + _$$_VeilidWASMConfigCopyWith<_$_VeilidWASMConfig> get copyWith => + __$$_VeilidWASMConfigCopyWithImpl<_$_VeilidWASMConfig>(this, _$identity); @override Map toJson() { - return _$$VeilidWASMConfigImplToJson( + return _$$_VeilidWASMConfigToJson( this, ); } @@ -1746,17 +1737,16 @@ class _$VeilidWASMConfigImpl abstract class _VeilidWASMConfig implements VeilidWASMConfig { const factory _VeilidWASMConfig( - {required final VeilidWASMConfigLogging logging}) = - _$VeilidWASMConfigImpl; + {required final VeilidWASMConfigLogging logging}) = _$_VeilidWASMConfig; factory _VeilidWASMConfig.fromJson(Map json) = - _$VeilidWASMConfigImpl.fromJson; + _$_VeilidWASMConfig.fromJson; @override VeilidWASMConfigLogging get logging; @override @JsonKey(ignore: true) - _$$VeilidWASMConfigImplCopyWith<_$VeilidWASMConfigImpl> get copyWith => + _$$_VeilidWASMConfigCopyWith<_$_VeilidWASMConfig> get copyWith => throw _privateConstructorUsedError; } @@ -1826,22 +1816,22 @@ class _$VeilidConfigHTTPSCopyWithImpl<$Res, $Val extends VeilidConfigHTTPS> } /// @nodoc -abstract class _$$VeilidConfigHTTPSImplCopyWith<$Res> +abstract class _$$_VeilidConfigHTTPSCopyWith<$Res> implements $VeilidConfigHTTPSCopyWith<$Res> { - factory _$$VeilidConfigHTTPSImplCopyWith(_$VeilidConfigHTTPSImpl value, - $Res Function(_$VeilidConfigHTTPSImpl) then) = - __$$VeilidConfigHTTPSImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigHTTPSCopyWith(_$_VeilidConfigHTTPS value, + $Res Function(_$_VeilidConfigHTTPS) then) = + __$$_VeilidConfigHTTPSCopyWithImpl<$Res>; @override @useResult $Res call({bool enabled, String listenAddress, String path, String? url}); } /// @nodoc -class __$$VeilidConfigHTTPSImplCopyWithImpl<$Res> - extends _$VeilidConfigHTTPSCopyWithImpl<$Res, _$VeilidConfigHTTPSImpl> - implements _$$VeilidConfigHTTPSImplCopyWith<$Res> { - __$$VeilidConfigHTTPSImplCopyWithImpl(_$VeilidConfigHTTPSImpl _value, - $Res Function(_$VeilidConfigHTTPSImpl) _then) +class __$$_VeilidConfigHTTPSCopyWithImpl<$Res> + extends _$VeilidConfigHTTPSCopyWithImpl<$Res, _$_VeilidConfigHTTPS> + implements _$$_VeilidConfigHTTPSCopyWith<$Res> { + __$$_VeilidConfigHTTPSCopyWithImpl( + _$_VeilidConfigHTTPS _value, $Res Function(_$_VeilidConfigHTTPS) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1852,7 +1842,7 @@ class __$$VeilidConfigHTTPSImplCopyWithImpl<$Res> Object? path = null, Object? url = freezed, }) { - return _then(_$VeilidConfigHTTPSImpl( + return _then(_$_VeilidConfigHTTPS( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -1875,17 +1865,17 @@ class __$$VeilidConfigHTTPSImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigHTTPSImpl +class _$_VeilidConfigHTTPS with DiagnosticableTreeMixin implements _VeilidConfigHTTPS { - const _$VeilidConfigHTTPSImpl( + const _$_VeilidConfigHTTPS( {required this.enabled, required this.listenAddress, required this.path, this.url}); - factory _$VeilidConfigHTTPSImpl.fromJson(Map json) => - _$$VeilidConfigHTTPSImplFromJson(json); + factory _$_VeilidConfigHTTPS.fromJson(Map json) => + _$$_VeilidConfigHTTPSFromJson(json); @override final bool enabled; @@ -1913,10 +1903,10 @@ class _$VeilidConfigHTTPSImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigHTTPSImpl && + other is _$_VeilidConfigHTTPS && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.listenAddress, listenAddress) || other.listenAddress == listenAddress) && @@ -1932,13 +1922,13 @@ class _$VeilidConfigHTTPSImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigHTTPSImplCopyWith<_$VeilidConfigHTTPSImpl> get copyWith => - __$$VeilidConfigHTTPSImplCopyWithImpl<_$VeilidConfigHTTPSImpl>( + _$$_VeilidConfigHTTPSCopyWith<_$_VeilidConfigHTTPS> get copyWith => + __$$_VeilidConfigHTTPSCopyWithImpl<_$_VeilidConfigHTTPS>( this, _$identity); @override Map toJson() { - return _$$VeilidConfigHTTPSImplToJson( + return _$$_VeilidConfigHTTPSToJson( this, ); } @@ -1949,10 +1939,10 @@ abstract class _VeilidConfigHTTPS implements VeilidConfigHTTPS { {required final bool enabled, required final String listenAddress, required final String path, - final String? url}) = _$VeilidConfigHTTPSImpl; + final String? url}) = _$_VeilidConfigHTTPS; factory _VeilidConfigHTTPS.fromJson(Map json) = - _$VeilidConfigHTTPSImpl.fromJson; + _$_VeilidConfigHTTPS.fromJson; @override bool get enabled; @@ -1964,7 +1954,7 @@ abstract class _VeilidConfigHTTPS implements VeilidConfigHTTPS { String? get url; @override @JsonKey(ignore: true) - _$$VeilidConfigHTTPSImplCopyWith<_$VeilidConfigHTTPSImpl> get copyWith => + _$$_VeilidConfigHTTPSCopyWith<_$_VeilidConfigHTTPS> get copyWith => throw _privateConstructorUsedError; } @@ -2034,22 +2024,22 @@ class _$VeilidConfigHTTPCopyWithImpl<$Res, $Val extends VeilidConfigHTTP> } /// @nodoc -abstract class _$$VeilidConfigHTTPImplCopyWith<$Res> +abstract class _$$_VeilidConfigHTTPCopyWith<$Res> implements $VeilidConfigHTTPCopyWith<$Res> { - factory _$$VeilidConfigHTTPImplCopyWith(_$VeilidConfigHTTPImpl value, - $Res Function(_$VeilidConfigHTTPImpl) then) = - __$$VeilidConfigHTTPImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigHTTPCopyWith( + _$_VeilidConfigHTTP value, $Res Function(_$_VeilidConfigHTTP) then) = + __$$_VeilidConfigHTTPCopyWithImpl<$Res>; @override @useResult $Res call({bool enabled, String listenAddress, String path, String? url}); } /// @nodoc -class __$$VeilidConfigHTTPImplCopyWithImpl<$Res> - extends _$VeilidConfigHTTPCopyWithImpl<$Res, _$VeilidConfigHTTPImpl> - implements _$$VeilidConfigHTTPImplCopyWith<$Res> { - __$$VeilidConfigHTTPImplCopyWithImpl(_$VeilidConfigHTTPImpl _value, - $Res Function(_$VeilidConfigHTTPImpl) _then) +class __$$_VeilidConfigHTTPCopyWithImpl<$Res> + extends _$VeilidConfigHTTPCopyWithImpl<$Res, _$_VeilidConfigHTTP> + implements _$$_VeilidConfigHTTPCopyWith<$Res> { + __$$_VeilidConfigHTTPCopyWithImpl( + _$_VeilidConfigHTTP _value, $Res Function(_$_VeilidConfigHTTP) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2060,7 +2050,7 @@ class __$$VeilidConfigHTTPImplCopyWithImpl<$Res> Object? path = null, Object? url = freezed, }) { - return _then(_$VeilidConfigHTTPImpl( + return _then(_$_VeilidConfigHTTP( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -2083,17 +2073,17 @@ class __$$VeilidConfigHTTPImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigHTTPImpl +class _$_VeilidConfigHTTP with DiagnosticableTreeMixin implements _VeilidConfigHTTP { - const _$VeilidConfigHTTPImpl( + const _$_VeilidConfigHTTP( {required this.enabled, required this.listenAddress, required this.path, this.url}); - factory _$VeilidConfigHTTPImpl.fromJson(Map json) => - _$$VeilidConfigHTTPImplFromJson(json); + factory _$_VeilidConfigHTTP.fromJson(Map json) => + _$$_VeilidConfigHTTPFromJson(json); @override final bool enabled; @@ -2121,10 +2111,10 @@ class _$VeilidConfigHTTPImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigHTTPImpl && + other is _$_VeilidConfigHTTP && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.listenAddress, listenAddress) || other.listenAddress == listenAddress) && @@ -2140,13 +2130,12 @@ class _$VeilidConfigHTTPImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigHTTPImplCopyWith<_$VeilidConfigHTTPImpl> get copyWith => - __$$VeilidConfigHTTPImplCopyWithImpl<_$VeilidConfigHTTPImpl>( - this, _$identity); + _$$_VeilidConfigHTTPCopyWith<_$_VeilidConfigHTTP> get copyWith => + __$$_VeilidConfigHTTPCopyWithImpl<_$_VeilidConfigHTTP>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigHTTPImplToJson( + return _$$_VeilidConfigHTTPToJson( this, ); } @@ -2157,10 +2146,10 @@ abstract class _VeilidConfigHTTP implements VeilidConfigHTTP { {required final bool enabled, required final String listenAddress, required final String path, - final String? url}) = _$VeilidConfigHTTPImpl; + final String? url}) = _$_VeilidConfigHTTP; factory _VeilidConfigHTTP.fromJson(Map json) = - _$VeilidConfigHTTPImpl.fromJson; + _$_VeilidConfigHTTP.fromJson; @override bool get enabled; @@ -2172,7 +2161,7 @@ abstract class _VeilidConfigHTTP implements VeilidConfigHTTP { String? get url; @override @JsonKey(ignore: true) - _$$VeilidConfigHTTPImplCopyWith<_$VeilidConfigHTTPImpl> get copyWith => + _$$_VeilidConfigHTTPCopyWith<_$_VeilidConfigHTTP> get copyWith => throw _privateConstructorUsedError; } @@ -2251,12 +2240,11 @@ class _$VeilidConfigApplicationCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidConfigApplicationImplCopyWith<$Res> +abstract class _$$_VeilidConfigApplicationCopyWith<$Res> implements $VeilidConfigApplicationCopyWith<$Res> { - factory _$$VeilidConfigApplicationImplCopyWith( - _$VeilidConfigApplicationImpl value, - $Res Function(_$VeilidConfigApplicationImpl) then) = - __$$VeilidConfigApplicationImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigApplicationCopyWith(_$_VeilidConfigApplication value, + $Res Function(_$_VeilidConfigApplication) then) = + __$$_VeilidConfigApplicationCopyWithImpl<$Res>; @override @useResult $Res call({VeilidConfigHTTPS https, VeilidConfigHTTP http}); @@ -2268,13 +2256,12 @@ abstract class _$$VeilidConfigApplicationImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigApplicationImplCopyWithImpl<$Res> +class __$$_VeilidConfigApplicationCopyWithImpl<$Res> extends _$VeilidConfigApplicationCopyWithImpl<$Res, - _$VeilidConfigApplicationImpl> - implements _$$VeilidConfigApplicationImplCopyWith<$Res> { - __$$VeilidConfigApplicationImplCopyWithImpl( - _$VeilidConfigApplicationImpl _value, - $Res Function(_$VeilidConfigApplicationImpl) _then) + _$_VeilidConfigApplication> + implements _$$_VeilidConfigApplicationCopyWith<$Res> { + __$$_VeilidConfigApplicationCopyWithImpl(_$_VeilidConfigApplication _value, + $Res Function(_$_VeilidConfigApplication) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2283,7 +2270,7 @@ class __$$VeilidConfigApplicationImplCopyWithImpl<$Res> Object? https = null, Object? http = null, }) { - return _then(_$VeilidConfigApplicationImpl( + return _then(_$_VeilidConfigApplication( https: null == https ? _value.https : https // ignore: cast_nullable_to_non_nullable @@ -2298,14 +2285,13 @@ class __$$VeilidConfigApplicationImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigApplicationImpl +class _$_VeilidConfigApplication with DiagnosticableTreeMixin implements _VeilidConfigApplication { - const _$VeilidConfigApplicationImpl( - {required this.https, required this.http}); + const _$_VeilidConfigApplication({required this.https, required this.http}); - factory _$VeilidConfigApplicationImpl.fromJson(Map json) => - _$$VeilidConfigApplicationImplFromJson(json); + factory _$_VeilidConfigApplication.fromJson(Map json) => + _$$_VeilidConfigApplicationFromJson(json); @override final VeilidConfigHTTPS https; @@ -2327,10 +2313,10 @@ class _$VeilidConfigApplicationImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigApplicationImpl && + other is _$_VeilidConfigApplication && (identical(other.https, https) || other.https == https) && (identical(other.http, http) || other.http == http)); } @@ -2342,13 +2328,14 @@ class _$VeilidConfigApplicationImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigApplicationImplCopyWith<_$VeilidConfigApplicationImpl> - get copyWith => __$$VeilidConfigApplicationImplCopyWithImpl< - _$VeilidConfigApplicationImpl>(this, _$identity); + _$$_VeilidConfigApplicationCopyWith<_$_VeilidConfigApplication> + get copyWith => + __$$_VeilidConfigApplicationCopyWithImpl<_$_VeilidConfigApplication>( + this, _$identity); @override Map toJson() { - return _$$VeilidConfigApplicationImplToJson( + return _$$_VeilidConfigApplicationToJson( this, ); } @@ -2357,10 +2344,10 @@ class _$VeilidConfigApplicationImpl abstract class _VeilidConfigApplication implements VeilidConfigApplication { const factory _VeilidConfigApplication( {required final VeilidConfigHTTPS https, - required final VeilidConfigHTTP http}) = _$VeilidConfigApplicationImpl; + required final VeilidConfigHTTP http}) = _$_VeilidConfigApplication; factory _VeilidConfigApplication.fromJson(Map json) = - _$VeilidConfigApplicationImpl.fromJson; + _$_VeilidConfigApplication.fromJson; @override VeilidConfigHTTPS get https; @@ -2368,7 +2355,7 @@ abstract class _VeilidConfigApplication implements VeilidConfigApplication { VeilidConfigHTTP get http; @override @JsonKey(ignore: true) - _$$VeilidConfigApplicationImplCopyWith<_$VeilidConfigApplicationImpl> + _$$_VeilidConfigApplicationCopyWith<_$_VeilidConfigApplication> get copyWith => throw _privateConstructorUsedError; } @@ -2442,11 +2429,11 @@ class _$VeilidConfigUDPCopyWithImpl<$Res, $Val extends VeilidConfigUDP> } /// @nodoc -abstract class _$$VeilidConfigUDPImplCopyWith<$Res> +abstract class _$$_VeilidConfigUDPCopyWith<$Res> implements $VeilidConfigUDPCopyWith<$Res> { - factory _$$VeilidConfigUDPImplCopyWith(_$VeilidConfigUDPImpl value, - $Res Function(_$VeilidConfigUDPImpl) then) = - __$$VeilidConfigUDPImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigUDPCopyWith( + _$_VeilidConfigUDP value, $Res Function(_$_VeilidConfigUDP) then) = + __$$_VeilidConfigUDPCopyWithImpl<$Res>; @override @useResult $Res call( @@ -2457,11 +2444,11 @@ abstract class _$$VeilidConfigUDPImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigUDPImplCopyWithImpl<$Res> - extends _$VeilidConfigUDPCopyWithImpl<$Res, _$VeilidConfigUDPImpl> - implements _$$VeilidConfigUDPImplCopyWith<$Res> { - __$$VeilidConfigUDPImplCopyWithImpl( - _$VeilidConfigUDPImpl _value, $Res Function(_$VeilidConfigUDPImpl) _then) +class __$$_VeilidConfigUDPCopyWithImpl<$Res> + extends _$VeilidConfigUDPCopyWithImpl<$Res, _$_VeilidConfigUDP> + implements _$$_VeilidConfigUDPCopyWith<$Res> { + __$$_VeilidConfigUDPCopyWithImpl( + _$_VeilidConfigUDP _value, $Res Function(_$_VeilidConfigUDP) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2472,7 +2459,7 @@ class __$$VeilidConfigUDPImplCopyWithImpl<$Res> Object? listenAddress = null, Object? publicAddress = freezed, }) { - return _then(_$VeilidConfigUDPImpl( + return _then(_$_VeilidConfigUDP( enabled: null == enabled ? _value.enabled : enabled // ignore: cast_nullable_to_non_nullable @@ -2495,17 +2482,17 @@ class __$$VeilidConfigUDPImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigUDPImpl +class _$_VeilidConfigUDP with DiagnosticableTreeMixin implements _VeilidConfigUDP { - const _$VeilidConfigUDPImpl( + const _$_VeilidConfigUDP( {required this.enabled, required this.socketPoolSize, required this.listenAddress, this.publicAddress}); - factory _$VeilidConfigUDPImpl.fromJson(Map json) => - _$$VeilidConfigUDPImplFromJson(json); + factory _$_VeilidConfigUDP.fromJson(Map json) => + _$$_VeilidConfigUDPFromJson(json); @override final bool enabled; @@ -2533,10 +2520,10 @@ class _$VeilidConfigUDPImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigUDPImpl && + other is _$_VeilidConfigUDP && (identical(other.enabled, enabled) || other.enabled == enabled) && (identical(other.socketPoolSize, socketPoolSize) || other.socketPoolSize == socketPoolSize) && @@ -2554,13 +2541,12 @@ class _$VeilidConfigUDPImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigUDPImplCopyWith<_$VeilidConfigUDPImpl> get copyWith => - __$$VeilidConfigUDPImplCopyWithImpl<_$VeilidConfigUDPImpl>( - this, _$identity); + _$$_VeilidConfigUDPCopyWith<_$_VeilidConfigUDP> get copyWith => + __$$_VeilidConfigUDPCopyWithImpl<_$_VeilidConfigUDP>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigUDPImplToJson( + return _$$_VeilidConfigUDPToJson( this, ); } @@ -2571,10 +2557,10 @@ abstract class _VeilidConfigUDP implements VeilidConfigUDP { {required final bool enabled, required final int socketPoolSize, required final String listenAddress, - final String? publicAddress}) = _$VeilidConfigUDPImpl; + final String? publicAddress}) = _$_VeilidConfigUDP; factory _VeilidConfigUDP.fromJson(Map json) = - _$VeilidConfigUDPImpl.fromJson; + _$_VeilidConfigUDP.fromJson; @override bool get enabled; @@ -2586,7 +2572,7 @@ abstract class _VeilidConfigUDP implements VeilidConfigUDP { String? get publicAddress; @override @JsonKey(ignore: true) - _$$VeilidConfigUDPImplCopyWith<_$VeilidConfigUDPImpl> get copyWith => + _$$_VeilidConfigUDPCopyWith<_$_VeilidConfigUDP> get copyWith => throw _privateConstructorUsedError; } @@ -2667,11 +2653,11 @@ class _$VeilidConfigTCPCopyWithImpl<$Res, $Val extends VeilidConfigTCP> } /// @nodoc -abstract class _$$VeilidConfigTCPImplCopyWith<$Res> +abstract class _$$_VeilidConfigTCPCopyWith<$Res> implements $VeilidConfigTCPCopyWith<$Res> { - factory _$$VeilidConfigTCPImplCopyWith(_$VeilidConfigTCPImpl value, - $Res Function(_$VeilidConfigTCPImpl) then) = - __$$VeilidConfigTCPImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigTCPCopyWith( + _$_VeilidConfigTCP value, $Res Function(_$_VeilidConfigTCP) then) = + __$$_VeilidConfigTCPCopyWithImpl<$Res>; @override @useResult $Res call( @@ -2683,11 +2669,11 @@ abstract class _$$VeilidConfigTCPImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigTCPImplCopyWithImpl<$Res> - extends _$VeilidConfigTCPCopyWithImpl<$Res, _$VeilidConfigTCPImpl> - implements _$$VeilidConfigTCPImplCopyWith<$Res> { - __$$VeilidConfigTCPImplCopyWithImpl( - _$VeilidConfigTCPImpl _value, $Res Function(_$VeilidConfigTCPImpl) _then) +class __$$_VeilidConfigTCPCopyWithImpl<$Res> + extends _$VeilidConfigTCPCopyWithImpl<$Res, _$_VeilidConfigTCP> + implements _$$_VeilidConfigTCPCopyWith<$Res> { + __$$_VeilidConfigTCPCopyWithImpl( + _$_VeilidConfigTCP _value, $Res Function(_$_VeilidConfigTCP) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2699,7 +2685,7 @@ class __$$VeilidConfigTCPImplCopyWithImpl<$Res> Object? listenAddress = null, Object? publicAddress = freezed, }) { - return _then(_$VeilidConfigTCPImpl( + return _then(_$_VeilidConfigTCP( connect: null == connect ? _value.connect : connect // ignore: cast_nullable_to_non_nullable @@ -2726,18 +2712,18 @@ class __$$VeilidConfigTCPImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigTCPImpl +class _$_VeilidConfigTCP with DiagnosticableTreeMixin implements _VeilidConfigTCP { - const _$VeilidConfigTCPImpl( + const _$_VeilidConfigTCP( {required this.connect, required this.listen, required this.maxConnections, required this.listenAddress, this.publicAddress}); - factory _$VeilidConfigTCPImpl.fromJson(Map json) => - _$$VeilidConfigTCPImplFromJson(json); + factory _$_VeilidConfigTCP.fromJson(Map json) => + _$$_VeilidConfigTCPFromJson(json); @override final bool connect; @@ -2768,10 +2754,10 @@ class _$VeilidConfigTCPImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigTCPImpl && + other is _$_VeilidConfigTCP && (identical(other.connect, connect) || other.connect == connect) && (identical(other.listen, listen) || other.listen == listen) && (identical(other.maxConnections, maxConnections) || @@ -2790,13 +2776,12 @@ class _$VeilidConfigTCPImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigTCPImplCopyWith<_$VeilidConfigTCPImpl> get copyWith => - __$$VeilidConfigTCPImplCopyWithImpl<_$VeilidConfigTCPImpl>( - this, _$identity); + _$$_VeilidConfigTCPCopyWith<_$_VeilidConfigTCP> get copyWith => + __$$_VeilidConfigTCPCopyWithImpl<_$_VeilidConfigTCP>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigTCPImplToJson( + return _$$_VeilidConfigTCPToJson( this, ); } @@ -2808,10 +2793,10 @@ abstract class _VeilidConfigTCP implements VeilidConfigTCP { required final bool listen, required final int maxConnections, required final String listenAddress, - final String? publicAddress}) = _$VeilidConfigTCPImpl; + final String? publicAddress}) = _$_VeilidConfigTCP; factory _VeilidConfigTCP.fromJson(Map json) = - _$VeilidConfigTCPImpl.fromJson; + _$_VeilidConfigTCP.fromJson; @override bool get connect; @@ -2825,7 +2810,7 @@ abstract class _VeilidConfigTCP implements VeilidConfigTCP { String? get publicAddress; @override @JsonKey(ignore: true) - _$$VeilidConfigTCPImplCopyWith<_$VeilidConfigTCPImpl> get copyWith => + _$$_VeilidConfigTCPCopyWith<_$_VeilidConfigTCP> get copyWith => throw _privateConstructorUsedError; } @@ -2913,11 +2898,11 @@ class _$VeilidConfigWSCopyWithImpl<$Res, $Val extends VeilidConfigWS> } /// @nodoc -abstract class _$$VeilidConfigWSImplCopyWith<$Res> +abstract class _$$_VeilidConfigWSCopyWith<$Res> implements $VeilidConfigWSCopyWith<$Res> { - factory _$$VeilidConfigWSImplCopyWith(_$VeilidConfigWSImpl value, - $Res Function(_$VeilidConfigWSImpl) then) = - __$$VeilidConfigWSImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigWSCopyWith( + _$_VeilidConfigWS value, $Res Function(_$_VeilidConfigWS) then) = + __$$_VeilidConfigWSCopyWithImpl<$Res>; @override @useResult $Res call( @@ -2930,11 +2915,11 @@ abstract class _$$VeilidConfigWSImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigWSImplCopyWithImpl<$Res> - extends _$VeilidConfigWSCopyWithImpl<$Res, _$VeilidConfigWSImpl> - implements _$$VeilidConfigWSImplCopyWith<$Res> { - __$$VeilidConfigWSImplCopyWithImpl( - _$VeilidConfigWSImpl _value, $Res Function(_$VeilidConfigWSImpl) _then) +class __$$_VeilidConfigWSCopyWithImpl<$Res> + extends _$VeilidConfigWSCopyWithImpl<$Res, _$_VeilidConfigWS> + implements _$$_VeilidConfigWSCopyWith<$Res> { + __$$_VeilidConfigWSCopyWithImpl( + _$_VeilidConfigWS _value, $Res Function(_$_VeilidConfigWS) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2947,7 +2932,7 @@ class __$$VeilidConfigWSImplCopyWithImpl<$Res> Object? path = null, Object? url = freezed, }) { - return _then(_$VeilidConfigWSImpl( + return _then(_$_VeilidConfigWS( connect: null == connect ? _value.connect : connect // ignore: cast_nullable_to_non_nullable @@ -2978,10 +2963,10 @@ class __$$VeilidConfigWSImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigWSImpl +class _$_VeilidConfigWS with DiagnosticableTreeMixin implements _VeilidConfigWS { - const _$VeilidConfigWSImpl( + const _$_VeilidConfigWS( {required this.connect, required this.listen, required this.maxConnections, @@ -2989,8 +2974,8 @@ class _$VeilidConfigWSImpl required this.path, this.url}); - factory _$VeilidConfigWSImpl.fromJson(Map json) => - _$$VeilidConfigWSImplFromJson(json); + factory _$_VeilidConfigWS.fromJson(Map json) => + _$$_VeilidConfigWSFromJson(json); @override final bool connect; @@ -3024,10 +3009,10 @@ class _$VeilidConfigWSImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigWSImpl && + other is _$_VeilidConfigWS && (identical(other.connect, connect) || other.connect == connect) && (identical(other.listen, listen) || other.listen == listen) && (identical(other.maxConnections, maxConnections) || @@ -3046,13 +3031,12 @@ class _$VeilidConfigWSImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigWSImplCopyWith<_$VeilidConfigWSImpl> get copyWith => - __$$VeilidConfigWSImplCopyWithImpl<_$VeilidConfigWSImpl>( - this, _$identity); + _$$_VeilidConfigWSCopyWith<_$_VeilidConfigWS> get copyWith => + __$$_VeilidConfigWSCopyWithImpl<_$_VeilidConfigWS>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigWSImplToJson( + return _$$_VeilidConfigWSToJson( this, ); } @@ -3065,10 +3049,10 @@ abstract class _VeilidConfigWS implements VeilidConfigWS { required final int maxConnections, required final String listenAddress, required final String path, - final String? url}) = _$VeilidConfigWSImpl; + final String? url}) = _$_VeilidConfigWS; factory _VeilidConfigWS.fromJson(Map json) = - _$VeilidConfigWSImpl.fromJson; + _$_VeilidConfigWS.fromJson; @override bool get connect; @@ -3084,7 +3068,7 @@ abstract class _VeilidConfigWS implements VeilidConfigWS { String? get url; @override @JsonKey(ignore: true) - _$$VeilidConfigWSImplCopyWith<_$VeilidConfigWSImpl> get copyWith => + _$$_VeilidConfigWSCopyWith<_$_VeilidConfigWS> get copyWith => throw _privateConstructorUsedError; } @@ -3172,11 +3156,11 @@ class _$VeilidConfigWSSCopyWithImpl<$Res, $Val extends VeilidConfigWSS> } /// @nodoc -abstract class _$$VeilidConfigWSSImplCopyWith<$Res> +abstract class _$$_VeilidConfigWSSCopyWith<$Res> implements $VeilidConfigWSSCopyWith<$Res> { - factory _$$VeilidConfigWSSImplCopyWith(_$VeilidConfigWSSImpl value, - $Res Function(_$VeilidConfigWSSImpl) then) = - __$$VeilidConfigWSSImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigWSSCopyWith( + _$_VeilidConfigWSS value, $Res Function(_$_VeilidConfigWSS) then) = + __$$_VeilidConfigWSSCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3189,11 +3173,11 @@ abstract class _$$VeilidConfigWSSImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigWSSImplCopyWithImpl<$Res> - extends _$VeilidConfigWSSCopyWithImpl<$Res, _$VeilidConfigWSSImpl> - implements _$$VeilidConfigWSSImplCopyWith<$Res> { - __$$VeilidConfigWSSImplCopyWithImpl( - _$VeilidConfigWSSImpl _value, $Res Function(_$VeilidConfigWSSImpl) _then) +class __$$_VeilidConfigWSSCopyWithImpl<$Res> + extends _$VeilidConfigWSSCopyWithImpl<$Res, _$_VeilidConfigWSS> + implements _$$_VeilidConfigWSSCopyWith<$Res> { + __$$_VeilidConfigWSSCopyWithImpl( + _$_VeilidConfigWSS _value, $Res Function(_$_VeilidConfigWSS) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3206,7 +3190,7 @@ class __$$VeilidConfigWSSImplCopyWithImpl<$Res> Object? path = null, Object? url = freezed, }) { - return _then(_$VeilidConfigWSSImpl( + return _then(_$_VeilidConfigWSS( connect: null == connect ? _value.connect : connect // ignore: cast_nullable_to_non_nullable @@ -3237,10 +3221,10 @@ class __$$VeilidConfigWSSImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigWSSImpl +class _$_VeilidConfigWSS with DiagnosticableTreeMixin implements _VeilidConfigWSS { - const _$VeilidConfigWSSImpl( + const _$_VeilidConfigWSS( {required this.connect, required this.listen, required this.maxConnections, @@ -3248,8 +3232,8 @@ class _$VeilidConfigWSSImpl required this.path, this.url}); - factory _$VeilidConfigWSSImpl.fromJson(Map json) => - _$$VeilidConfigWSSImplFromJson(json); + factory _$_VeilidConfigWSS.fromJson(Map json) => + _$$_VeilidConfigWSSFromJson(json); @override final bool connect; @@ -3283,10 +3267,10 @@ class _$VeilidConfigWSSImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigWSSImpl && + other is _$_VeilidConfigWSS && (identical(other.connect, connect) || other.connect == connect) && (identical(other.listen, listen) || other.listen == listen) && (identical(other.maxConnections, maxConnections) || @@ -3305,13 +3289,12 @@ class _$VeilidConfigWSSImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigWSSImplCopyWith<_$VeilidConfigWSSImpl> get copyWith => - __$$VeilidConfigWSSImplCopyWithImpl<_$VeilidConfigWSSImpl>( - this, _$identity); + _$$_VeilidConfigWSSCopyWith<_$_VeilidConfigWSS> get copyWith => + __$$_VeilidConfigWSSCopyWithImpl<_$_VeilidConfigWSS>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigWSSImplToJson( + return _$$_VeilidConfigWSSToJson( this, ); } @@ -3324,10 +3307,10 @@ abstract class _VeilidConfigWSS implements VeilidConfigWSS { required final int maxConnections, required final String listenAddress, required final String path, - final String? url}) = _$VeilidConfigWSSImpl; + final String? url}) = _$_VeilidConfigWSS; factory _VeilidConfigWSS.fromJson(Map json) = - _$VeilidConfigWSSImpl.fromJson; + _$_VeilidConfigWSS.fromJson; @override bool get connect; @@ -3343,7 +3326,7 @@ abstract class _VeilidConfigWSS implements VeilidConfigWSS { String? get url; @override @JsonKey(ignore: true) - _$$VeilidConfigWSSImplCopyWith<_$VeilidConfigWSSImpl> get copyWith => + _$$_VeilidConfigWSSCopyWith<_$_VeilidConfigWSS> get copyWith => throw _privateConstructorUsedError; } @@ -3455,11 +3438,11 @@ class _$VeilidConfigProtocolCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidConfigProtocolImplCopyWith<$Res> +abstract class _$$_VeilidConfigProtocolCopyWith<$Res> implements $VeilidConfigProtocolCopyWith<$Res> { - factory _$$VeilidConfigProtocolImplCopyWith(_$VeilidConfigProtocolImpl value, - $Res Function(_$VeilidConfigProtocolImpl) then) = - __$$VeilidConfigProtocolImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigProtocolCopyWith(_$_VeilidConfigProtocol value, + $Res Function(_$_VeilidConfigProtocol) then) = + __$$_VeilidConfigProtocolCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3479,11 +3462,11 @@ abstract class _$$VeilidConfigProtocolImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigProtocolImplCopyWithImpl<$Res> - extends _$VeilidConfigProtocolCopyWithImpl<$Res, _$VeilidConfigProtocolImpl> - implements _$$VeilidConfigProtocolImplCopyWith<$Res> { - __$$VeilidConfigProtocolImplCopyWithImpl(_$VeilidConfigProtocolImpl _value, - $Res Function(_$VeilidConfigProtocolImpl) _then) +class __$$_VeilidConfigProtocolCopyWithImpl<$Res> + extends _$VeilidConfigProtocolCopyWithImpl<$Res, _$_VeilidConfigProtocol> + implements _$$_VeilidConfigProtocolCopyWith<$Res> { + __$$_VeilidConfigProtocolCopyWithImpl(_$_VeilidConfigProtocol _value, + $Res Function(_$_VeilidConfigProtocol) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3494,7 +3477,7 @@ class __$$VeilidConfigProtocolImplCopyWithImpl<$Res> Object? ws = null, Object? wss = null, }) { - return _then(_$VeilidConfigProtocolImpl( + return _then(_$_VeilidConfigProtocol( udp: null == udp ? _value.udp : udp // ignore: cast_nullable_to_non_nullable @@ -3517,17 +3500,17 @@ class __$$VeilidConfigProtocolImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigProtocolImpl +class _$_VeilidConfigProtocol with DiagnosticableTreeMixin implements _VeilidConfigProtocol { - const _$VeilidConfigProtocolImpl( + const _$_VeilidConfigProtocol( {required this.udp, required this.tcp, required this.ws, required this.wss}); - factory _$VeilidConfigProtocolImpl.fromJson(Map json) => - _$$VeilidConfigProtocolImplFromJson(json); + factory _$_VeilidConfigProtocol.fromJson(Map json) => + _$$_VeilidConfigProtocolFromJson(json); @override final VeilidConfigUDP udp; @@ -3555,10 +3538,10 @@ class _$VeilidConfigProtocolImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigProtocolImpl && + other is _$_VeilidConfigProtocol && (identical(other.udp, udp) || other.udp == udp) && (identical(other.tcp, tcp) || other.tcp == tcp) && (identical(other.ws, ws) || other.ws == ws) && @@ -3572,14 +3555,13 @@ class _$VeilidConfigProtocolImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigProtocolImplCopyWith<_$VeilidConfigProtocolImpl> - get copyWith => - __$$VeilidConfigProtocolImplCopyWithImpl<_$VeilidConfigProtocolImpl>( - this, _$identity); + _$$_VeilidConfigProtocolCopyWith<_$_VeilidConfigProtocol> get copyWith => + __$$_VeilidConfigProtocolCopyWithImpl<_$_VeilidConfigProtocol>( + this, _$identity); @override Map toJson() { - return _$$VeilidConfigProtocolImplToJson( + return _$$_VeilidConfigProtocolToJson( this, ); } @@ -3590,10 +3572,10 @@ abstract class _VeilidConfigProtocol implements VeilidConfigProtocol { {required final VeilidConfigUDP udp, required final VeilidConfigTCP tcp, required final VeilidConfigWS ws, - required final VeilidConfigWSS wss}) = _$VeilidConfigProtocolImpl; + required final VeilidConfigWSS wss}) = _$_VeilidConfigProtocol; factory _VeilidConfigProtocol.fromJson(Map json) = - _$VeilidConfigProtocolImpl.fromJson; + _$_VeilidConfigProtocol.fromJson; @override VeilidConfigUDP get udp; @@ -3605,8 +3587,8 @@ abstract class _VeilidConfigProtocol implements VeilidConfigProtocol { VeilidConfigWSS get wss; @override @JsonKey(ignore: true) - _$$VeilidConfigProtocolImplCopyWith<_$VeilidConfigProtocolImpl> - get copyWith => throw _privateConstructorUsedError; + _$$_VeilidConfigProtocolCopyWith<_$_VeilidConfigProtocol> get copyWith => + throw _privateConstructorUsedError; } VeilidConfigTLS _$VeilidConfigTLSFromJson(Map json) { @@ -3672,11 +3654,11 @@ class _$VeilidConfigTLSCopyWithImpl<$Res, $Val extends VeilidConfigTLS> } /// @nodoc -abstract class _$$VeilidConfigTLSImplCopyWith<$Res> +abstract class _$$_VeilidConfigTLSCopyWith<$Res> implements $VeilidConfigTLSCopyWith<$Res> { - factory _$$VeilidConfigTLSImplCopyWith(_$VeilidConfigTLSImpl value, - $Res Function(_$VeilidConfigTLSImpl) then) = - __$$VeilidConfigTLSImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigTLSCopyWith( + _$_VeilidConfigTLS value, $Res Function(_$_VeilidConfigTLS) then) = + __$$_VeilidConfigTLSCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3686,11 +3668,11 @@ abstract class _$$VeilidConfigTLSImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigTLSImplCopyWithImpl<$Res> - extends _$VeilidConfigTLSCopyWithImpl<$Res, _$VeilidConfigTLSImpl> - implements _$$VeilidConfigTLSImplCopyWith<$Res> { - __$$VeilidConfigTLSImplCopyWithImpl( - _$VeilidConfigTLSImpl _value, $Res Function(_$VeilidConfigTLSImpl) _then) +class __$$_VeilidConfigTLSCopyWithImpl<$Res> + extends _$VeilidConfigTLSCopyWithImpl<$Res, _$_VeilidConfigTLS> + implements _$$_VeilidConfigTLSCopyWith<$Res> { + __$$_VeilidConfigTLSCopyWithImpl( + _$_VeilidConfigTLS _value, $Res Function(_$_VeilidConfigTLS) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3700,7 +3682,7 @@ class __$$VeilidConfigTLSImplCopyWithImpl<$Res> Object? privateKeyPath = null, Object? connectionInitialTimeoutMs = null, }) { - return _then(_$VeilidConfigTLSImpl( + return _then(_$_VeilidConfigTLS( certificatePath: null == certificatePath ? _value.certificatePath : certificatePath // ignore: cast_nullable_to_non_nullable @@ -3719,16 +3701,16 @@ class __$$VeilidConfigTLSImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigTLSImpl +class _$_VeilidConfigTLS with DiagnosticableTreeMixin implements _VeilidConfigTLS { - const _$VeilidConfigTLSImpl( + const _$_VeilidConfigTLS( {required this.certificatePath, required this.privateKeyPath, required this.connectionInitialTimeoutMs}); - factory _$VeilidConfigTLSImpl.fromJson(Map json) => - _$$VeilidConfigTLSImplFromJson(json); + factory _$_VeilidConfigTLS.fromJson(Map json) => + _$$_VeilidConfigTLSFromJson(json); @override final String certificatePath; @@ -3754,10 +3736,10 @@ class _$VeilidConfigTLSImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigTLSImpl && + other is _$_VeilidConfigTLS && (identical(other.certificatePath, certificatePath) || other.certificatePath == certificatePath) && (identical(other.privateKeyPath, privateKeyPath) || @@ -3776,13 +3758,12 @@ class _$VeilidConfigTLSImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigTLSImplCopyWith<_$VeilidConfigTLSImpl> get copyWith => - __$$VeilidConfigTLSImplCopyWithImpl<_$VeilidConfigTLSImpl>( - this, _$identity); + _$$_VeilidConfigTLSCopyWith<_$_VeilidConfigTLS> get copyWith => + __$$_VeilidConfigTLSCopyWithImpl<_$_VeilidConfigTLS>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigTLSImplToJson( + return _$$_VeilidConfigTLSToJson( this, ); } @@ -3792,10 +3773,10 @@ abstract class _VeilidConfigTLS implements VeilidConfigTLS { const factory _VeilidConfigTLS( {required final String certificatePath, required final String privateKeyPath, - required final int connectionInitialTimeoutMs}) = _$VeilidConfigTLSImpl; + required final int connectionInitialTimeoutMs}) = _$_VeilidConfigTLS; factory _VeilidConfigTLS.fromJson(Map json) = - _$VeilidConfigTLSImpl.fromJson; + _$_VeilidConfigTLS.fromJson; @override String get certificatePath; @@ -3805,7 +3786,7 @@ abstract class _VeilidConfigTLS implements VeilidConfigTLS { int get connectionInitialTimeoutMs; @override @JsonKey(ignore: true) - _$$VeilidConfigTLSImplCopyWith<_$VeilidConfigTLSImpl> get copyWith => + _$$_VeilidConfigTLSCopyWith<_$_VeilidConfigTLS> get copyWith => throw _privateConstructorUsedError; } @@ -4005,11 +3986,11 @@ class _$VeilidConfigDHTCopyWithImpl<$Res, $Val extends VeilidConfigDHT> } /// @nodoc -abstract class _$$VeilidConfigDHTImplCopyWith<$Res> +abstract class _$$_VeilidConfigDHTCopyWith<$Res> implements $VeilidConfigDHTCopyWith<$Res> { - factory _$$VeilidConfigDHTImplCopyWith(_$VeilidConfigDHTImpl value, - $Res Function(_$VeilidConfigDHTImpl) then) = - __$$VeilidConfigDHTImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigDHTCopyWith( + _$_VeilidConfigDHT value, $Res Function(_$_VeilidConfigDHT) then) = + __$$_VeilidConfigDHTCopyWithImpl<$Res>; @override @useResult $Res call( @@ -4038,11 +4019,11 @@ abstract class _$$VeilidConfigDHTImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigDHTImplCopyWithImpl<$Res> - extends _$VeilidConfigDHTCopyWithImpl<$Res, _$VeilidConfigDHTImpl> - implements _$$VeilidConfigDHTImplCopyWith<$Res> { - __$$VeilidConfigDHTImplCopyWithImpl( - _$VeilidConfigDHTImpl _value, $Res Function(_$VeilidConfigDHTImpl) _then) +class __$$_VeilidConfigDHTCopyWithImpl<$Res> + extends _$VeilidConfigDHTCopyWithImpl<$Res, _$_VeilidConfigDHT> + implements _$$_VeilidConfigDHTCopyWith<$Res> { + __$$_VeilidConfigDHTCopyWithImpl( + _$_VeilidConfigDHT _value, $Res Function(_$_VeilidConfigDHT) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -4071,7 +4052,7 @@ class __$$VeilidConfigDHTImplCopyWithImpl<$Res> Object? memberWatchLimit = null, Object? maxWatchExpirationMs = null, }) { - return _then(_$VeilidConfigDHTImpl( + return _then(_$_VeilidConfigDHT( resolveNodeTimeoutMs: null == resolveNodeTimeoutMs ? _value.resolveNodeTimeoutMs : resolveNodeTimeoutMs // ignore: cast_nullable_to_non_nullable @@ -4166,10 +4147,10 @@ class __$$VeilidConfigDHTImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigDHTImpl +class _$_VeilidConfigDHT with DiagnosticableTreeMixin implements _VeilidConfigDHT { - const _$VeilidConfigDHTImpl( + const _$_VeilidConfigDHT( {required this.resolveNodeTimeoutMs, required this.resolveNodeCount, required this.resolveNodeFanout, @@ -4193,8 +4174,8 @@ class _$VeilidConfigDHTImpl required this.memberWatchLimit, required this.maxWatchExpirationMs}); - factory _$VeilidConfigDHTImpl.fromJson(Map json) => - _$$VeilidConfigDHTImplFromJson(json); + factory _$_VeilidConfigDHT.fromJson(Map json) => + _$$_VeilidConfigDHTFromJson(json); @override final int resolveNodeTimeoutMs; @@ -4280,10 +4261,10 @@ class _$VeilidConfigDHTImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigDHTImpl && + other is _$_VeilidConfigDHT && (identical(other.resolveNodeTimeoutMs, resolveNodeTimeoutMs) || other.resolveNodeTimeoutMs == resolveNodeTimeoutMs) && (identical(other.resolveNodeCount, resolveNodeCount) || @@ -4367,13 +4348,12 @@ class _$VeilidConfigDHTImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigDHTImplCopyWith<_$VeilidConfigDHTImpl> get copyWith => - __$$VeilidConfigDHTImplCopyWithImpl<_$VeilidConfigDHTImpl>( - this, _$identity); + _$$_VeilidConfigDHTCopyWith<_$_VeilidConfigDHT> get copyWith => + __$$_VeilidConfigDHTCopyWithImpl<_$_VeilidConfigDHT>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigDHTImplToJson( + return _$$_VeilidConfigDHTToJson( this, ); } @@ -4402,10 +4382,10 @@ abstract class _VeilidConfigDHT implements VeilidConfigDHT { required final int remoteMaxStorageSpaceMb, required final int publicWatchLimit, required final int memberWatchLimit, - required final int maxWatchExpirationMs}) = _$VeilidConfigDHTImpl; + required final int maxWatchExpirationMs}) = _$_VeilidConfigDHT; factory _VeilidConfigDHT.fromJson(Map json) = - _$VeilidConfigDHTImpl.fromJson; + _$_VeilidConfigDHT.fromJson; @override int get resolveNodeTimeoutMs; @@ -4453,7 +4433,7 @@ abstract class _VeilidConfigDHT implements VeilidConfigDHT { int get maxWatchExpirationMs; @override @JsonKey(ignore: true) - _$$VeilidConfigDHTImplCopyWith<_$VeilidConfigDHTImpl> get copyWith => + _$$_VeilidConfigDHTCopyWith<_$_VeilidConfigDHT> get copyWith => throw _privateConstructorUsedError; } @@ -4548,11 +4528,11 @@ class _$VeilidConfigRPCCopyWithImpl<$Res, $Val extends VeilidConfigRPC> } /// @nodoc -abstract class _$$VeilidConfigRPCImplCopyWith<$Res> +abstract class _$$_VeilidConfigRPCCopyWith<$Res> implements $VeilidConfigRPCCopyWith<$Res> { - factory _$$VeilidConfigRPCImplCopyWith(_$VeilidConfigRPCImpl value, - $Res Function(_$VeilidConfigRPCImpl) then) = - __$$VeilidConfigRPCImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigRPCCopyWith( + _$_VeilidConfigRPC value, $Res Function(_$_VeilidConfigRPC) then) = + __$$_VeilidConfigRPCCopyWithImpl<$Res>; @override @useResult $Res call( @@ -4566,11 +4546,11 @@ abstract class _$$VeilidConfigRPCImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigRPCImplCopyWithImpl<$Res> - extends _$VeilidConfigRPCCopyWithImpl<$Res, _$VeilidConfigRPCImpl> - implements _$$VeilidConfigRPCImplCopyWith<$Res> { - __$$VeilidConfigRPCImplCopyWithImpl( - _$VeilidConfigRPCImpl _value, $Res Function(_$VeilidConfigRPCImpl) _then) +class __$$_VeilidConfigRPCCopyWithImpl<$Res> + extends _$VeilidConfigRPCCopyWithImpl<$Res, _$_VeilidConfigRPC> + implements _$$_VeilidConfigRPCCopyWith<$Res> { + __$$_VeilidConfigRPCCopyWithImpl( + _$_VeilidConfigRPC _value, $Res Function(_$_VeilidConfigRPC) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -4584,7 +4564,7 @@ class __$$VeilidConfigRPCImplCopyWithImpl<$Res> Object? maxTimestampBehindMs = freezed, Object? maxTimestampAheadMs = freezed, }) { - return _then(_$VeilidConfigRPCImpl( + return _then(_$_VeilidConfigRPC( concurrency: null == concurrency ? _value.concurrency : concurrency // ignore: cast_nullable_to_non_nullable @@ -4619,10 +4599,10 @@ class __$$VeilidConfigRPCImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigRPCImpl +class _$_VeilidConfigRPC with DiagnosticableTreeMixin implements _VeilidConfigRPC { - const _$VeilidConfigRPCImpl( + const _$_VeilidConfigRPC( {required this.concurrency, required this.queueSize, required this.timeoutMs, @@ -4631,8 +4611,8 @@ class _$VeilidConfigRPCImpl this.maxTimestampBehindMs, this.maxTimestampAheadMs}); - factory _$VeilidConfigRPCImpl.fromJson(Map json) => - _$$VeilidConfigRPCImplFromJson(json); + factory _$_VeilidConfigRPC.fromJson(Map json) => + _$$_VeilidConfigRPCFromJson(json); @override final int concurrency; @@ -4669,10 +4649,10 @@ class _$VeilidConfigRPCImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigRPCImpl && + other is _$_VeilidConfigRPC && (identical(other.concurrency, concurrency) || other.concurrency == concurrency) && (identical(other.queueSize, queueSize) || @@ -4704,13 +4684,12 @@ class _$VeilidConfigRPCImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigRPCImplCopyWith<_$VeilidConfigRPCImpl> get copyWith => - __$$VeilidConfigRPCImplCopyWithImpl<_$VeilidConfigRPCImpl>( - this, _$identity); + _$$_VeilidConfigRPCCopyWith<_$_VeilidConfigRPC> get copyWith => + __$$_VeilidConfigRPCCopyWithImpl<_$_VeilidConfigRPC>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigRPCImplToJson( + return _$$_VeilidConfigRPCToJson( this, ); } @@ -4724,10 +4703,10 @@ abstract class _VeilidConfigRPC implements VeilidConfigRPC { required final int maxRouteHopCount, required final int defaultRouteHopCount, final int? maxTimestampBehindMs, - final int? maxTimestampAheadMs}) = _$VeilidConfigRPCImpl; + final int? maxTimestampAheadMs}) = _$_VeilidConfigRPC; factory _VeilidConfigRPC.fromJson(Map json) = - _$VeilidConfigRPCImpl.fromJson; + _$_VeilidConfigRPC.fromJson; @override int get concurrency; @@ -4745,7 +4724,7 @@ abstract class _VeilidConfigRPC implements VeilidConfigRPC { int? get maxTimestampAheadMs; @override @JsonKey(ignore: true) - _$$VeilidConfigRPCImplCopyWith<_$VeilidConfigRPCImpl> get copyWith => + _$$_VeilidConfigRPCCopyWith<_$_VeilidConfigRPC> get copyWith => throw _privateConstructorUsedError; } @@ -4851,12 +4830,12 @@ class _$VeilidConfigRoutingTableCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidConfigRoutingTableImplCopyWith<$Res> +abstract class _$$_VeilidConfigRoutingTableCopyWith<$Res> implements $VeilidConfigRoutingTableCopyWith<$Res> { - factory _$$VeilidConfigRoutingTableImplCopyWith( - _$VeilidConfigRoutingTableImpl value, - $Res Function(_$VeilidConfigRoutingTableImpl) then) = - __$$VeilidConfigRoutingTableImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigRoutingTableCopyWith( + _$_VeilidConfigRoutingTable value, + $Res Function(_$_VeilidConfigRoutingTable) then) = + __$$_VeilidConfigRoutingTableCopyWithImpl<$Res>; @override @useResult $Res call( @@ -4871,13 +4850,12 @@ abstract class _$$VeilidConfigRoutingTableImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigRoutingTableImplCopyWithImpl<$Res> +class __$$_VeilidConfigRoutingTableCopyWithImpl<$Res> extends _$VeilidConfigRoutingTableCopyWithImpl<$Res, - _$VeilidConfigRoutingTableImpl> - implements _$$VeilidConfigRoutingTableImplCopyWith<$Res> { - __$$VeilidConfigRoutingTableImplCopyWithImpl( - _$VeilidConfigRoutingTableImpl _value, - $Res Function(_$VeilidConfigRoutingTableImpl) _then) + _$_VeilidConfigRoutingTable> + implements _$$_VeilidConfigRoutingTableCopyWith<$Res> { + __$$_VeilidConfigRoutingTableCopyWithImpl(_$_VeilidConfigRoutingTable _value, + $Res Function(_$_VeilidConfigRoutingTable) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -4892,7 +4870,7 @@ class __$$VeilidConfigRoutingTableImplCopyWithImpl<$Res> Object? limitAttachedGood = null, Object? limitAttachedWeak = null, }) { - return _then(_$VeilidConfigRoutingTableImpl( + return _then(_$_VeilidConfigRoutingTable( nodeId: null == nodeId ? _value._nodeId : nodeId // ignore: cast_nullable_to_non_nullable @@ -4931,10 +4909,10 @@ class __$$VeilidConfigRoutingTableImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigRoutingTableImpl +class _$_VeilidConfigRoutingTable with DiagnosticableTreeMixin implements _VeilidConfigRoutingTable { - const _$VeilidConfigRoutingTableImpl( + const _$_VeilidConfigRoutingTable( {required final List> nodeId, required final List> nodeIdSecret, required final List bootstrap, @@ -4947,8 +4925,8 @@ class _$VeilidConfigRoutingTableImpl _nodeIdSecret = nodeIdSecret, _bootstrap = bootstrap; - factory _$VeilidConfigRoutingTableImpl.fromJson(Map json) => - _$$VeilidConfigRoutingTableImplFromJson(json); + factory _$_VeilidConfigRoutingTable.fromJson(Map json) => + _$$_VeilidConfigRoutingTableFromJson(json); final List> _nodeId; @override @@ -5006,10 +4984,10 @@ class _$VeilidConfigRoutingTableImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigRoutingTableImpl && + other is _$_VeilidConfigRoutingTable && const DeepCollectionEquality().equals(other._nodeId, _nodeId) && const DeepCollectionEquality() .equals(other._nodeIdSecret, _nodeIdSecret) && @@ -5043,13 +5021,13 @@ class _$VeilidConfigRoutingTableImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigRoutingTableImplCopyWith<_$VeilidConfigRoutingTableImpl> - get copyWith => __$$VeilidConfigRoutingTableImplCopyWithImpl< - _$VeilidConfigRoutingTableImpl>(this, _$identity); + _$$_VeilidConfigRoutingTableCopyWith<_$_VeilidConfigRoutingTable> + get copyWith => __$$_VeilidConfigRoutingTableCopyWithImpl< + _$_VeilidConfigRoutingTable>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigRoutingTableImplToJson( + return _$$_VeilidConfigRoutingTableToJson( this, ); } @@ -5064,10 +5042,10 @@ abstract class _VeilidConfigRoutingTable implements VeilidConfigRoutingTable { required final int limitFullyAttached, required final int limitAttachedStrong, required final int limitAttachedGood, - required final int limitAttachedWeak}) = _$VeilidConfigRoutingTableImpl; + required final int limitAttachedWeak}) = _$_VeilidConfigRoutingTable; factory _VeilidConfigRoutingTable.fromJson(Map json) = - _$VeilidConfigRoutingTableImpl.fromJson; + _$_VeilidConfigRoutingTable.fromJson; @override List> get nodeId; @@ -5087,7 +5065,7 @@ abstract class _VeilidConfigRoutingTable implements VeilidConfigRoutingTable { int get limitAttachedWeak; @override @JsonKey(ignore: true) - _$$VeilidConfigRoutingTableImplCopyWith<_$VeilidConfigRoutingTableImpl> + _$$_VeilidConfigRoutingTableCopyWith<_$_VeilidConfigRoutingTable> get copyWith => throw _privateConstructorUsedError; } @@ -5323,11 +5301,11 @@ class _$VeilidConfigNetworkCopyWithImpl<$Res, $Val extends VeilidConfigNetwork> } /// @nodoc -abstract class _$$VeilidConfigNetworkImplCopyWith<$Res> +abstract class _$$_VeilidConfigNetworkCopyWith<$Res> implements $VeilidConfigNetworkCopyWith<$Res> { - factory _$$VeilidConfigNetworkImplCopyWith(_$VeilidConfigNetworkImpl value, - $Res Function(_$VeilidConfigNetworkImpl) then) = - __$$VeilidConfigNetworkImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigNetworkCopyWith(_$_VeilidConfigNetwork value, + $Res Function(_$_VeilidConfigNetwork) then) = + __$$_VeilidConfigNetworkCopyWithImpl<$Res>; @override @useResult $Res call( @@ -5366,11 +5344,11 @@ abstract class _$$VeilidConfigNetworkImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigNetworkImplCopyWithImpl<$Res> - extends _$VeilidConfigNetworkCopyWithImpl<$Res, _$VeilidConfigNetworkImpl> - implements _$$VeilidConfigNetworkImplCopyWith<$Res> { - __$$VeilidConfigNetworkImplCopyWithImpl(_$VeilidConfigNetworkImpl _value, - $Res Function(_$VeilidConfigNetworkImpl) _then) +class __$$_VeilidConfigNetworkCopyWithImpl<$Res> + extends _$VeilidConfigNetworkCopyWithImpl<$Res, _$_VeilidConfigNetwork> + implements _$$_VeilidConfigNetworkCopyWith<$Res> { + __$$_VeilidConfigNetworkCopyWithImpl(_$_VeilidConfigNetwork _value, + $Res Function(_$_VeilidConfigNetwork) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -5396,7 +5374,7 @@ class __$$VeilidConfigNetworkImplCopyWithImpl<$Res> Object? protocol = null, Object? networkKeyPassword = freezed, }) { - return _then(_$VeilidConfigNetworkImpl( + return _then(_$_VeilidConfigNetwork( connectionInitialTimeoutMs: null == connectionInitialTimeoutMs ? _value.connectionInitialTimeoutMs : connectionInitialTimeoutMs // ignore: cast_nullable_to_non_nullable @@ -5479,10 +5457,10 @@ class __$$VeilidConfigNetworkImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigNetworkImpl +class _$_VeilidConfigNetwork with DiagnosticableTreeMixin implements _VeilidConfigNetwork { - const _$VeilidConfigNetworkImpl( + const _$_VeilidConfigNetwork( {required this.connectionInitialTimeoutMs, required this.connectionInactivityTimeoutMs, required this.maxConnectionsPerIp4, @@ -5503,8 +5481,8 @@ class _$VeilidConfigNetworkImpl required this.protocol, this.networkKeyPassword}); - factory _$VeilidConfigNetworkImpl.fromJson(Map json) => - _$$VeilidConfigNetworkImplFromJson(json); + factory _$_VeilidConfigNetwork.fromJson(Map json) => + _$$_VeilidConfigNetworkFromJson(json); @override final int connectionInitialTimeoutMs; @@ -5585,10 +5563,10 @@ class _$VeilidConfigNetworkImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigNetworkImpl && + other is _$_VeilidConfigNetwork && (identical(other.connectionInitialTimeoutMs, connectionInitialTimeoutMs) || other.connectionInitialTimeoutMs == connectionInitialTimeoutMs) && @@ -5660,13 +5638,13 @@ class _$VeilidConfigNetworkImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigNetworkImplCopyWith<_$VeilidConfigNetworkImpl> get copyWith => - __$$VeilidConfigNetworkImplCopyWithImpl<_$VeilidConfigNetworkImpl>( + _$$_VeilidConfigNetworkCopyWith<_$_VeilidConfigNetwork> get copyWith => + __$$_VeilidConfigNetworkCopyWithImpl<_$_VeilidConfigNetwork>( this, _$identity); @override Map toJson() { - return _$$VeilidConfigNetworkImplToJson( + return _$$_VeilidConfigNetworkToJson( this, ); } @@ -5692,10 +5670,10 @@ abstract class _VeilidConfigNetwork implements VeilidConfigNetwork { required final VeilidConfigTLS tls, required final VeilidConfigApplication application, required final VeilidConfigProtocol protocol, - final String? networkKeyPassword}) = _$VeilidConfigNetworkImpl; + final String? networkKeyPassword}) = _$_VeilidConfigNetwork; factory _VeilidConfigNetwork.fromJson(Map json) = - _$VeilidConfigNetworkImpl.fromJson; + _$_VeilidConfigNetwork.fromJson; @override int get connectionInitialTimeoutMs; @@ -5737,7 +5715,7 @@ abstract class _VeilidConfigNetwork implements VeilidConfigNetwork { String? get networkKeyPassword; @override @JsonKey(ignore: true) - _$$VeilidConfigNetworkImplCopyWith<_$VeilidConfigNetworkImpl> get copyWith => + _$$_VeilidConfigNetworkCopyWith<_$_VeilidConfigNetwork> get copyWith => throw _privateConstructorUsedError; } @@ -5797,25 +5775,23 @@ class _$VeilidConfigTableStoreCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidConfigTableStoreImplCopyWith<$Res> +abstract class _$$_VeilidConfigTableStoreCopyWith<$Res> implements $VeilidConfigTableStoreCopyWith<$Res> { - factory _$$VeilidConfigTableStoreImplCopyWith( - _$VeilidConfigTableStoreImpl value, - $Res Function(_$VeilidConfigTableStoreImpl) then) = - __$$VeilidConfigTableStoreImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigTableStoreCopyWith(_$_VeilidConfigTableStore value, + $Res Function(_$_VeilidConfigTableStore) then) = + __$$_VeilidConfigTableStoreCopyWithImpl<$Res>; @override @useResult $Res call({String directory, bool delete}); } /// @nodoc -class __$$VeilidConfigTableStoreImplCopyWithImpl<$Res> +class __$$_VeilidConfigTableStoreCopyWithImpl<$Res> extends _$VeilidConfigTableStoreCopyWithImpl<$Res, - _$VeilidConfigTableStoreImpl> - implements _$$VeilidConfigTableStoreImplCopyWith<$Res> { - __$$VeilidConfigTableStoreImplCopyWithImpl( - _$VeilidConfigTableStoreImpl _value, - $Res Function(_$VeilidConfigTableStoreImpl) _then) + _$_VeilidConfigTableStore> + implements _$$_VeilidConfigTableStoreCopyWith<$Res> { + __$$_VeilidConfigTableStoreCopyWithImpl(_$_VeilidConfigTableStore _value, + $Res Function(_$_VeilidConfigTableStore) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -5824,7 +5800,7 @@ class __$$VeilidConfigTableStoreImplCopyWithImpl<$Res> Object? directory = null, Object? delete = null, }) { - return _then(_$VeilidConfigTableStoreImpl( + return _then(_$_VeilidConfigTableStore( directory: null == directory ? _value.directory : directory // ignore: cast_nullable_to_non_nullable @@ -5839,14 +5815,14 @@ class __$$VeilidConfigTableStoreImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigTableStoreImpl +class _$_VeilidConfigTableStore with DiagnosticableTreeMixin implements _VeilidConfigTableStore { - const _$VeilidConfigTableStoreImpl( + const _$_VeilidConfigTableStore( {required this.directory, required this.delete}); - factory _$VeilidConfigTableStoreImpl.fromJson(Map json) => - _$$VeilidConfigTableStoreImplFromJson(json); + factory _$_VeilidConfigTableStore.fromJson(Map json) => + _$$_VeilidConfigTableStoreFromJson(json); @override final String directory; @@ -5868,10 +5844,10 @@ class _$VeilidConfigTableStoreImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigTableStoreImpl && + other is _$_VeilidConfigTableStore && (identical(other.directory, directory) || other.directory == directory) && (identical(other.delete, delete) || other.delete == delete)); @@ -5884,13 +5860,13 @@ class _$VeilidConfigTableStoreImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigTableStoreImplCopyWith<_$VeilidConfigTableStoreImpl> - get copyWith => __$$VeilidConfigTableStoreImplCopyWithImpl< - _$VeilidConfigTableStoreImpl>(this, _$identity); + _$$_VeilidConfigTableStoreCopyWith<_$_VeilidConfigTableStore> get copyWith => + __$$_VeilidConfigTableStoreCopyWithImpl<_$_VeilidConfigTableStore>( + this, _$identity); @override Map toJson() { - return _$$VeilidConfigTableStoreImplToJson( + return _$$_VeilidConfigTableStoreToJson( this, ); } @@ -5899,10 +5875,10 @@ class _$VeilidConfigTableStoreImpl abstract class _VeilidConfigTableStore implements VeilidConfigTableStore { const factory _VeilidConfigTableStore( {required final String directory, - required final bool delete}) = _$VeilidConfigTableStoreImpl; + required final bool delete}) = _$_VeilidConfigTableStore; factory _VeilidConfigTableStore.fromJson(Map json) = - _$VeilidConfigTableStoreImpl.fromJson; + _$_VeilidConfigTableStore.fromJson; @override String get directory; @@ -5910,8 +5886,8 @@ abstract class _VeilidConfigTableStore implements VeilidConfigTableStore { bool get delete; @override @JsonKey(ignore: true) - _$$VeilidConfigTableStoreImplCopyWith<_$VeilidConfigTableStoreImpl> - get copyWith => throw _privateConstructorUsedError; + _$$_VeilidConfigTableStoreCopyWith<_$_VeilidConfigTableStore> get copyWith => + throw _privateConstructorUsedError; } VeilidConfigBlockStore _$VeilidConfigBlockStoreFromJson( @@ -5970,25 +5946,23 @@ class _$VeilidConfigBlockStoreCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidConfigBlockStoreImplCopyWith<$Res> +abstract class _$$_VeilidConfigBlockStoreCopyWith<$Res> implements $VeilidConfigBlockStoreCopyWith<$Res> { - factory _$$VeilidConfigBlockStoreImplCopyWith( - _$VeilidConfigBlockStoreImpl value, - $Res Function(_$VeilidConfigBlockStoreImpl) then) = - __$$VeilidConfigBlockStoreImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigBlockStoreCopyWith(_$_VeilidConfigBlockStore value, + $Res Function(_$_VeilidConfigBlockStore) then) = + __$$_VeilidConfigBlockStoreCopyWithImpl<$Res>; @override @useResult $Res call({String directory, bool delete}); } /// @nodoc -class __$$VeilidConfigBlockStoreImplCopyWithImpl<$Res> +class __$$_VeilidConfigBlockStoreCopyWithImpl<$Res> extends _$VeilidConfigBlockStoreCopyWithImpl<$Res, - _$VeilidConfigBlockStoreImpl> - implements _$$VeilidConfigBlockStoreImplCopyWith<$Res> { - __$$VeilidConfigBlockStoreImplCopyWithImpl( - _$VeilidConfigBlockStoreImpl _value, - $Res Function(_$VeilidConfigBlockStoreImpl) _then) + _$_VeilidConfigBlockStore> + implements _$$_VeilidConfigBlockStoreCopyWith<$Res> { + __$$_VeilidConfigBlockStoreCopyWithImpl(_$_VeilidConfigBlockStore _value, + $Res Function(_$_VeilidConfigBlockStore) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -5997,7 +5971,7 @@ class __$$VeilidConfigBlockStoreImplCopyWithImpl<$Res> Object? directory = null, Object? delete = null, }) { - return _then(_$VeilidConfigBlockStoreImpl( + return _then(_$_VeilidConfigBlockStore( directory: null == directory ? _value.directory : directory // ignore: cast_nullable_to_non_nullable @@ -6012,14 +5986,14 @@ class __$$VeilidConfigBlockStoreImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigBlockStoreImpl +class _$_VeilidConfigBlockStore with DiagnosticableTreeMixin implements _VeilidConfigBlockStore { - const _$VeilidConfigBlockStoreImpl( + const _$_VeilidConfigBlockStore( {required this.directory, required this.delete}); - factory _$VeilidConfigBlockStoreImpl.fromJson(Map json) => - _$$VeilidConfigBlockStoreImplFromJson(json); + factory _$_VeilidConfigBlockStore.fromJson(Map json) => + _$$_VeilidConfigBlockStoreFromJson(json); @override final String directory; @@ -6041,10 +6015,10 @@ class _$VeilidConfigBlockStoreImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigBlockStoreImpl && + other is _$_VeilidConfigBlockStore && (identical(other.directory, directory) || other.directory == directory) && (identical(other.delete, delete) || other.delete == delete)); @@ -6057,13 +6031,13 @@ class _$VeilidConfigBlockStoreImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigBlockStoreImplCopyWith<_$VeilidConfigBlockStoreImpl> - get copyWith => __$$VeilidConfigBlockStoreImplCopyWithImpl< - _$VeilidConfigBlockStoreImpl>(this, _$identity); + _$$_VeilidConfigBlockStoreCopyWith<_$_VeilidConfigBlockStore> get copyWith => + __$$_VeilidConfigBlockStoreCopyWithImpl<_$_VeilidConfigBlockStore>( + this, _$identity); @override Map toJson() { - return _$$VeilidConfigBlockStoreImplToJson( + return _$$_VeilidConfigBlockStoreToJson( this, ); } @@ -6072,10 +6046,10 @@ class _$VeilidConfigBlockStoreImpl abstract class _VeilidConfigBlockStore implements VeilidConfigBlockStore { const factory _VeilidConfigBlockStore( {required final String directory, - required final bool delete}) = _$VeilidConfigBlockStoreImpl; + required final bool delete}) = _$_VeilidConfigBlockStore; factory _VeilidConfigBlockStore.fromJson(Map json) = - _$VeilidConfigBlockStoreImpl.fromJson; + _$_VeilidConfigBlockStore.fromJson; @override String get directory; @@ -6083,8 +6057,8 @@ abstract class _VeilidConfigBlockStore implements VeilidConfigBlockStore { bool get delete; @override @JsonKey(ignore: true) - _$$VeilidConfigBlockStoreImplCopyWith<_$VeilidConfigBlockStoreImpl> - get copyWith => throw _privateConstructorUsedError; + _$$_VeilidConfigBlockStoreCopyWith<_$_VeilidConfigBlockStore> get copyWith => + throw _privateConstructorUsedError; } VeilidConfigProtectedStore _$VeilidConfigProtectedStoreFromJson( @@ -6175,12 +6149,12 @@ class _$VeilidConfigProtectedStoreCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidConfigProtectedStoreImplCopyWith<$Res> +abstract class _$$_VeilidConfigProtectedStoreCopyWith<$Res> implements $VeilidConfigProtectedStoreCopyWith<$Res> { - factory _$$VeilidConfigProtectedStoreImplCopyWith( - _$VeilidConfigProtectedStoreImpl value, - $Res Function(_$VeilidConfigProtectedStoreImpl) then) = - __$$VeilidConfigProtectedStoreImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigProtectedStoreCopyWith( + _$_VeilidConfigProtectedStore value, + $Res Function(_$_VeilidConfigProtectedStore) then) = + __$$_VeilidConfigProtectedStoreCopyWithImpl<$Res>; @override @useResult $Res call( @@ -6193,13 +6167,13 @@ abstract class _$$VeilidConfigProtectedStoreImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigProtectedStoreImplCopyWithImpl<$Res> +class __$$_VeilidConfigProtectedStoreCopyWithImpl<$Res> extends _$VeilidConfigProtectedStoreCopyWithImpl<$Res, - _$VeilidConfigProtectedStoreImpl> - implements _$$VeilidConfigProtectedStoreImplCopyWith<$Res> { - __$$VeilidConfigProtectedStoreImplCopyWithImpl( - _$VeilidConfigProtectedStoreImpl _value, - $Res Function(_$VeilidConfigProtectedStoreImpl) _then) + _$_VeilidConfigProtectedStore> + implements _$$_VeilidConfigProtectedStoreCopyWith<$Res> { + __$$_VeilidConfigProtectedStoreCopyWithImpl( + _$_VeilidConfigProtectedStore _value, + $Res Function(_$_VeilidConfigProtectedStore) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -6212,7 +6186,7 @@ class __$$VeilidConfigProtectedStoreImplCopyWithImpl<$Res> Object? deviceEncryptionKeyPassword = null, Object? newDeviceEncryptionKeyPassword = freezed, }) { - return _then(_$VeilidConfigProtectedStoreImpl( + return _then(_$_VeilidConfigProtectedStore( allowInsecureFallback: null == allowInsecureFallback ? _value.allowInsecureFallback : allowInsecureFallback // ignore: cast_nullable_to_non_nullable @@ -6243,10 +6217,10 @@ class __$$VeilidConfigProtectedStoreImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigProtectedStoreImpl +class _$_VeilidConfigProtectedStore with DiagnosticableTreeMixin implements _VeilidConfigProtectedStore { - const _$VeilidConfigProtectedStoreImpl( + const _$_VeilidConfigProtectedStore( {required this.allowInsecureFallback, required this.alwaysUseInsecureStorage, required this.directory, @@ -6254,9 +6228,8 @@ class _$VeilidConfigProtectedStoreImpl required this.deviceEncryptionKeyPassword, this.newDeviceEncryptionKeyPassword}); - factory _$VeilidConfigProtectedStoreImpl.fromJson( - Map json) => - _$$VeilidConfigProtectedStoreImplFromJson(json); + factory _$_VeilidConfigProtectedStore.fromJson(Map json) => + _$$_VeilidConfigProtectedStoreFromJson(json); @override final bool allowInsecureFallback; @@ -6293,10 +6266,10 @@ class _$VeilidConfigProtectedStoreImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigProtectedStoreImpl && + other is _$_VeilidConfigProtectedStore && (identical(other.allowInsecureFallback, allowInsecureFallback) || other.allowInsecureFallback == allowInsecureFallback) && (identical( @@ -6329,13 +6302,13 @@ class _$VeilidConfigProtectedStoreImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigProtectedStoreImplCopyWith<_$VeilidConfigProtectedStoreImpl> - get copyWith => __$$VeilidConfigProtectedStoreImplCopyWithImpl< - _$VeilidConfigProtectedStoreImpl>(this, _$identity); + _$$_VeilidConfigProtectedStoreCopyWith<_$_VeilidConfigProtectedStore> + get copyWith => __$$_VeilidConfigProtectedStoreCopyWithImpl< + _$_VeilidConfigProtectedStore>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigProtectedStoreImplToJson( + return _$$_VeilidConfigProtectedStoreToJson( this, ); } @@ -6350,10 +6323,10 @@ abstract class _VeilidConfigProtectedStore required final bool delete, required final String deviceEncryptionKeyPassword, final String? newDeviceEncryptionKeyPassword}) = - _$VeilidConfigProtectedStoreImpl; + _$_VeilidConfigProtectedStore; factory _VeilidConfigProtectedStore.fromJson(Map json) = - _$VeilidConfigProtectedStoreImpl.fromJson; + _$_VeilidConfigProtectedStore.fromJson; @override bool get allowInsecureFallback; @@ -6369,7 +6342,7 @@ abstract class _VeilidConfigProtectedStore String? get newDeviceEncryptionKeyPassword; @override @JsonKey(ignore: true) - _$$VeilidConfigProtectedStoreImplCopyWith<_$VeilidConfigProtectedStoreImpl> + _$$_VeilidConfigProtectedStoreCopyWith<_$_VeilidConfigProtectedStore> get copyWith => throw _privateConstructorUsedError; } @@ -6423,25 +6396,24 @@ class _$VeilidConfigCapabilitiesCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidConfigCapabilitiesImplCopyWith<$Res> +abstract class _$$_VeilidConfigCapabilitiesCopyWith<$Res> implements $VeilidConfigCapabilitiesCopyWith<$Res> { - factory _$$VeilidConfigCapabilitiesImplCopyWith( - _$VeilidConfigCapabilitiesImpl value, - $Res Function(_$VeilidConfigCapabilitiesImpl) then) = - __$$VeilidConfigCapabilitiesImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigCapabilitiesCopyWith( + _$_VeilidConfigCapabilities value, + $Res Function(_$_VeilidConfigCapabilities) then) = + __$$_VeilidConfigCapabilitiesCopyWithImpl<$Res>; @override @useResult $Res call({List disable}); } /// @nodoc -class __$$VeilidConfigCapabilitiesImplCopyWithImpl<$Res> +class __$$_VeilidConfigCapabilitiesCopyWithImpl<$Res> extends _$VeilidConfigCapabilitiesCopyWithImpl<$Res, - _$VeilidConfigCapabilitiesImpl> - implements _$$VeilidConfigCapabilitiesImplCopyWith<$Res> { - __$$VeilidConfigCapabilitiesImplCopyWithImpl( - _$VeilidConfigCapabilitiesImpl _value, - $Res Function(_$VeilidConfigCapabilitiesImpl) _then) + _$_VeilidConfigCapabilities> + implements _$$_VeilidConfigCapabilitiesCopyWith<$Res> { + __$$_VeilidConfigCapabilitiesCopyWithImpl(_$_VeilidConfigCapabilities _value, + $Res Function(_$_VeilidConfigCapabilities) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -6449,7 +6421,7 @@ class __$$VeilidConfigCapabilitiesImplCopyWithImpl<$Res> $Res call({ Object? disable = null, }) { - return _then(_$VeilidConfigCapabilitiesImpl( + return _then(_$_VeilidConfigCapabilities( disable: null == disable ? _value._disable : disable // ignore: cast_nullable_to_non_nullable @@ -6460,14 +6432,14 @@ class __$$VeilidConfigCapabilitiesImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigCapabilitiesImpl +class _$_VeilidConfigCapabilities with DiagnosticableTreeMixin implements _VeilidConfigCapabilities { - const _$VeilidConfigCapabilitiesImpl({required final List disable}) + const _$_VeilidConfigCapabilities({required final List disable}) : _disable = disable; - factory _$VeilidConfigCapabilitiesImpl.fromJson(Map json) => - _$$VeilidConfigCapabilitiesImplFromJson(json); + factory _$_VeilidConfigCapabilities.fromJson(Map json) => + _$$_VeilidConfigCapabilitiesFromJson(json); final List _disable; @override @@ -6491,10 +6463,10 @@ class _$VeilidConfigCapabilitiesImpl } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigCapabilitiesImpl && + other is _$_VeilidConfigCapabilities && const DeepCollectionEquality().equals(other._disable, _disable)); } @@ -6506,13 +6478,13 @@ class _$VeilidConfigCapabilitiesImpl @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigCapabilitiesImplCopyWith<_$VeilidConfigCapabilitiesImpl> - get copyWith => __$$VeilidConfigCapabilitiesImplCopyWithImpl< - _$VeilidConfigCapabilitiesImpl>(this, _$identity); + _$$_VeilidConfigCapabilitiesCopyWith<_$_VeilidConfigCapabilities> + get copyWith => __$$_VeilidConfigCapabilitiesCopyWithImpl< + _$_VeilidConfigCapabilities>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigCapabilitiesImplToJson( + return _$$_VeilidConfigCapabilitiesToJson( this, ); } @@ -6520,16 +6492,16 @@ class _$VeilidConfigCapabilitiesImpl abstract class _VeilidConfigCapabilities implements VeilidConfigCapabilities { const factory _VeilidConfigCapabilities( - {required final List disable}) = _$VeilidConfigCapabilitiesImpl; + {required final List disable}) = _$_VeilidConfigCapabilities; factory _VeilidConfigCapabilities.fromJson(Map json) = - _$VeilidConfigCapabilitiesImpl.fromJson; + _$_VeilidConfigCapabilities.fromJson; @override List get disable; @override @JsonKey(ignore: true) - _$$VeilidConfigCapabilitiesImplCopyWith<_$VeilidConfigCapabilitiesImpl> + _$$_VeilidConfigCapabilitiesCopyWith<_$_VeilidConfigCapabilities> get copyWith => throw _privateConstructorUsedError; } @@ -6674,11 +6646,11 @@ class _$VeilidConfigCopyWithImpl<$Res, $Val extends VeilidConfig> } /// @nodoc -abstract class _$$VeilidConfigImplCopyWith<$Res> +abstract class _$$_VeilidConfigCopyWith<$Res> implements $VeilidConfigCopyWith<$Res> { - factory _$$VeilidConfigImplCopyWith( - _$VeilidConfigImpl value, $Res Function(_$VeilidConfigImpl) then) = - __$$VeilidConfigImplCopyWithImpl<$Res>; + factory _$$_VeilidConfigCopyWith( + _$_VeilidConfig value, $Res Function(_$_VeilidConfig) then) = + __$$_VeilidConfigCopyWithImpl<$Res>; @override @useResult $Res call( @@ -6703,11 +6675,11 @@ abstract class _$$VeilidConfigImplCopyWith<$Res> } /// @nodoc -class __$$VeilidConfigImplCopyWithImpl<$Res> - extends _$VeilidConfigCopyWithImpl<$Res, _$VeilidConfigImpl> - implements _$$VeilidConfigImplCopyWith<$Res> { - __$$VeilidConfigImplCopyWithImpl( - _$VeilidConfigImpl _value, $Res Function(_$VeilidConfigImpl) _then) +class __$$_VeilidConfigCopyWithImpl<$Res> + extends _$VeilidConfigCopyWithImpl<$Res, _$_VeilidConfig> + implements _$$_VeilidConfigCopyWith<$Res> { + __$$_VeilidConfigCopyWithImpl( + _$_VeilidConfig _value, $Res Function(_$_VeilidConfig) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -6721,7 +6693,7 @@ class __$$VeilidConfigImplCopyWithImpl<$Res> Object? blockStore = null, Object? network = null, }) { - return _then(_$VeilidConfigImpl( + return _then(_$_VeilidConfig( programName: null == programName ? _value.programName : programName // ignore: cast_nullable_to_non_nullable @@ -6756,8 +6728,8 @@ class __$$VeilidConfigImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidConfigImpl with DiagnosticableTreeMixin implements _VeilidConfig { - const _$VeilidConfigImpl( +class _$_VeilidConfig with DiagnosticableTreeMixin implements _VeilidConfig { + const _$_VeilidConfig( {required this.programName, required this.namespace, required this.capabilities, @@ -6766,8 +6738,8 @@ class _$VeilidConfigImpl with DiagnosticableTreeMixin implements _VeilidConfig { required this.blockStore, required this.network}); - factory _$VeilidConfigImpl.fromJson(Map json) => - _$$VeilidConfigImplFromJson(json); + factory _$_VeilidConfig.fromJson(Map json) => + _$$_VeilidConfigFromJson(json); @override final String programName; @@ -6804,10 +6776,10 @@ class _$VeilidConfigImpl with DiagnosticableTreeMixin implements _VeilidConfig { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidConfigImpl && + other is _$_VeilidConfig && (identical(other.programName, programName) || other.programName == programName) && (identical(other.namespace, namespace) || @@ -6831,12 +6803,12 @@ class _$VeilidConfigImpl with DiagnosticableTreeMixin implements _VeilidConfig { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidConfigImplCopyWith<_$VeilidConfigImpl> get copyWith => - __$$VeilidConfigImplCopyWithImpl<_$VeilidConfigImpl>(this, _$identity); + _$$_VeilidConfigCopyWith<_$_VeilidConfig> get copyWith => + __$$_VeilidConfigCopyWithImpl<_$_VeilidConfig>(this, _$identity); @override Map toJson() { - return _$$VeilidConfigImplToJson( + return _$$_VeilidConfigToJson( this, ); } @@ -6850,10 +6822,10 @@ abstract class _VeilidConfig implements VeilidConfig { required final VeilidConfigProtectedStore protectedStore, required final VeilidConfigTableStore tableStore, required final VeilidConfigBlockStore blockStore, - required final VeilidConfigNetwork network}) = _$VeilidConfigImpl; + required final VeilidConfigNetwork network}) = _$_VeilidConfig; factory _VeilidConfig.fromJson(Map json) = - _$VeilidConfigImpl.fromJson; + _$_VeilidConfig.fromJson; @override String get programName; @@ -6871,6 +6843,6 @@ abstract class _VeilidConfig implements VeilidConfig { VeilidConfigNetwork get network; @override @JsonKey(ignore: true) - _$$VeilidConfigImplCopyWith<_$VeilidConfigImpl> get copyWith => + _$$_VeilidConfigCopyWith<_$_VeilidConfig> get copyWith => throw _privateConstructorUsedError; } diff --git a/veilid-flutter/lib/veilid_config.g.dart b/veilid-flutter/lib/veilid_config.g.dart index 8819118f..08170e0a 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 // ************************************************************************** -_$VeilidFFIConfigLoggingTerminalImpl - _$$VeilidFFIConfigLoggingTerminalImplFromJson(Map json) => - _$VeilidFFIConfigLoggingTerminalImpl( - enabled: json['enabled'] as bool, - level: VeilidConfigLogLevel.fromJson(json['level']), - ); +_$_VeilidFFIConfigLoggingTerminal _$$_VeilidFFIConfigLoggingTerminalFromJson( + Map json) => + _$_VeilidFFIConfigLoggingTerminal( + enabled: json['enabled'] as bool, + level: VeilidConfigLogLevel.fromJson(json['level']), + ); -Map _$$VeilidFFIConfigLoggingTerminalImplToJson( - _$VeilidFFIConfigLoggingTerminalImpl instance) => +Map _$$_VeilidFFIConfigLoggingTerminalToJson( + _$_VeilidFFIConfigLoggingTerminal instance) => { 'enabled': instance.enabled, 'level': instance.level.toJson(), }; -_$VeilidFFIConfigLoggingOtlpImpl _$$VeilidFFIConfigLoggingOtlpImplFromJson( +_$_VeilidFFIConfigLoggingOtlp _$$_VeilidFFIConfigLoggingOtlpFromJson( Map json) => - _$VeilidFFIConfigLoggingOtlpImpl( + _$_VeilidFFIConfigLoggingOtlp( enabled: json['enabled'] as bool, level: VeilidConfigLogLevel.fromJson(json['level']), grpcEndpoint: json['grpc_endpoint'] as String, serviceName: json['service_name'] as String, ); -Map _$$VeilidFFIConfigLoggingOtlpImplToJson( - _$VeilidFFIConfigLoggingOtlpImpl instance) => +Map _$$_VeilidFFIConfigLoggingOtlpToJson( + _$_VeilidFFIConfigLoggingOtlp instance) => { 'enabled': instance.enabled, 'level': instance.level.toJson(), @@ -38,60 +38,57 @@ Map _$$VeilidFFIConfigLoggingOtlpImplToJson( 'service_name': instance.serviceName, }; -_$VeilidFFIConfigLoggingApiImpl _$$VeilidFFIConfigLoggingApiImplFromJson( +_$_VeilidFFIConfigLoggingApi _$$_VeilidFFIConfigLoggingApiFromJson( Map json) => - _$VeilidFFIConfigLoggingApiImpl( + _$_VeilidFFIConfigLoggingApi( enabled: json['enabled'] as bool, level: VeilidConfigLogLevel.fromJson(json['level']), ); -Map _$$VeilidFFIConfigLoggingApiImplToJson( - _$VeilidFFIConfigLoggingApiImpl instance) => +Map _$$_VeilidFFIConfigLoggingApiToJson( + _$_VeilidFFIConfigLoggingApi instance) => { 'enabled': instance.enabled, 'level': instance.level.toJson(), }; -_$VeilidFFIConfigLoggingImpl _$$VeilidFFIConfigLoggingImplFromJson( +_$_VeilidFFIConfigLogging _$$_VeilidFFIConfigLoggingFromJson( Map json) => - _$VeilidFFIConfigLoggingImpl( + _$_VeilidFFIConfigLogging( terminal: VeilidFFIConfigLoggingTerminal.fromJson(json['terminal']), otlp: VeilidFFIConfigLoggingOtlp.fromJson(json['otlp']), api: VeilidFFIConfigLoggingApi.fromJson(json['api']), ); -Map _$$VeilidFFIConfigLoggingImplToJson( - _$VeilidFFIConfigLoggingImpl instance) => +Map _$$_VeilidFFIConfigLoggingToJson( + _$_VeilidFFIConfigLogging instance) => { 'terminal': instance.terminal.toJson(), 'otlp': instance.otlp.toJson(), 'api': instance.api.toJson(), }; -_$VeilidFFIConfigImpl _$$VeilidFFIConfigImplFromJson( - Map json) => - _$VeilidFFIConfigImpl( +_$_VeilidFFIConfig _$$_VeilidFFIConfigFromJson(Map json) => + _$_VeilidFFIConfig( logging: VeilidFFIConfigLogging.fromJson(json['logging']), ); -Map _$$VeilidFFIConfigImplToJson( - _$VeilidFFIConfigImpl instance) => +Map _$$_VeilidFFIConfigToJson(_$_VeilidFFIConfig instance) => { 'logging': instance.logging.toJson(), }; -_$VeilidWASMConfigLoggingPerformanceImpl - _$$VeilidWASMConfigLoggingPerformanceImplFromJson( - Map json) => - _$VeilidWASMConfigLoggingPerformanceImpl( +_$_VeilidWASMConfigLoggingPerformance + _$$_VeilidWASMConfigLoggingPerformanceFromJson(Map json) => + _$_VeilidWASMConfigLoggingPerformance( 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 _$$VeilidWASMConfigLoggingPerformanceImplToJson( - _$VeilidWASMConfigLoggingPerformanceImpl instance) => +Map _$$_VeilidWASMConfigLoggingPerformanceToJson( + _$_VeilidWASMConfigLoggingPerformance instance) => { 'enabled': instance.enabled, 'level': instance.level.toJson(), @@ -99,58 +96,55 @@ Map _$$VeilidWASMConfigLoggingPerformanceImplToJson( 'logs_in_console': instance.logsInConsole, }; -_$VeilidWASMConfigLoggingApiImpl _$$VeilidWASMConfigLoggingApiImplFromJson( +_$_VeilidWASMConfigLoggingApi _$$_VeilidWASMConfigLoggingApiFromJson( Map json) => - _$VeilidWASMConfigLoggingApiImpl( + _$_VeilidWASMConfigLoggingApi( enabled: json['enabled'] as bool, level: VeilidConfigLogLevel.fromJson(json['level']), ); -Map _$$VeilidWASMConfigLoggingApiImplToJson( - _$VeilidWASMConfigLoggingApiImpl instance) => +Map _$$_VeilidWASMConfigLoggingApiToJson( + _$_VeilidWASMConfigLoggingApi instance) => { 'enabled': instance.enabled, 'level': instance.level.toJson(), }; -_$VeilidWASMConfigLoggingImpl _$$VeilidWASMConfigLoggingImplFromJson( +_$_VeilidWASMConfigLogging _$$_VeilidWASMConfigLoggingFromJson( Map json) => - _$VeilidWASMConfigLoggingImpl( + _$_VeilidWASMConfigLogging( performance: VeilidWASMConfigLoggingPerformance.fromJson(json['performance']), api: VeilidWASMConfigLoggingApi.fromJson(json['api']), ); -Map _$$VeilidWASMConfigLoggingImplToJson( - _$VeilidWASMConfigLoggingImpl instance) => +Map _$$_VeilidWASMConfigLoggingToJson( + _$_VeilidWASMConfigLogging instance) => { 'performance': instance.performance.toJson(), 'api': instance.api.toJson(), }; -_$VeilidWASMConfigImpl _$$VeilidWASMConfigImplFromJson( - Map json) => - _$VeilidWASMConfigImpl( +_$_VeilidWASMConfig _$$_VeilidWASMConfigFromJson(Map json) => + _$_VeilidWASMConfig( logging: VeilidWASMConfigLogging.fromJson(json['logging']), ); -Map _$$VeilidWASMConfigImplToJson( - _$VeilidWASMConfigImpl instance) => +Map _$$_VeilidWASMConfigToJson(_$_VeilidWASMConfig instance) => { 'logging': instance.logging.toJson(), }; -_$VeilidConfigHTTPSImpl _$$VeilidConfigHTTPSImplFromJson( - Map json) => - _$VeilidConfigHTTPSImpl( +_$_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 _$$VeilidConfigHTTPSImplToJson( - _$VeilidConfigHTTPSImpl instance) => +Map _$$_VeilidConfigHTTPSToJson( + _$_VeilidConfigHTTPS instance) => { 'enabled': instance.enabled, 'listen_address': instance.listenAddress, @@ -158,17 +152,15 @@ Map _$$VeilidConfigHTTPSImplToJson( 'url': instance.url, }; -_$VeilidConfigHTTPImpl _$$VeilidConfigHTTPImplFromJson( - Map json) => - _$VeilidConfigHTTPImpl( +_$_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 _$$VeilidConfigHTTPImplToJson( - _$VeilidConfigHTTPImpl instance) => +Map _$$_VeilidConfigHTTPToJson(_$_VeilidConfigHTTP instance) => { 'enabled': instance.enabled, 'listen_address': instance.listenAddress, @@ -176,31 +168,29 @@ Map _$$VeilidConfigHTTPImplToJson( 'url': instance.url, }; -_$VeilidConfigApplicationImpl _$$VeilidConfigApplicationImplFromJson( +_$_VeilidConfigApplication _$$_VeilidConfigApplicationFromJson( Map json) => - _$VeilidConfigApplicationImpl( + _$_VeilidConfigApplication( https: VeilidConfigHTTPS.fromJson(json['https']), http: VeilidConfigHTTP.fromJson(json['http']), ); -Map _$$VeilidConfigApplicationImplToJson( - _$VeilidConfigApplicationImpl instance) => +Map _$$_VeilidConfigApplicationToJson( + _$_VeilidConfigApplication instance) => { 'https': instance.https.toJson(), 'http': instance.http.toJson(), }; -_$VeilidConfigUDPImpl _$$VeilidConfigUDPImplFromJson( - Map json) => - _$VeilidConfigUDPImpl( +_$_VeilidConfigUDP _$$_VeilidConfigUDPFromJson(Map json) => + _$_VeilidConfigUDP( 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 _$$VeilidConfigUDPImplToJson( - _$VeilidConfigUDPImpl instance) => +Map _$$_VeilidConfigUDPToJson(_$_VeilidConfigUDP instance) => { 'enabled': instance.enabled, 'socket_pool_size': instance.socketPoolSize, @@ -208,9 +198,8 @@ Map _$$VeilidConfigUDPImplToJson( 'public_address': instance.publicAddress, }; -_$VeilidConfigTCPImpl _$$VeilidConfigTCPImplFromJson( - Map json) => - _$VeilidConfigTCPImpl( +_$_VeilidConfigTCP _$$_VeilidConfigTCPFromJson(Map json) => + _$_VeilidConfigTCP( connect: json['connect'] as bool, listen: json['listen'] as bool, maxConnections: json['max_connections'] as int, @@ -218,8 +207,7 @@ _$VeilidConfigTCPImpl _$$VeilidConfigTCPImplFromJson( publicAddress: json['public_address'] as String?, ); -Map _$$VeilidConfigTCPImplToJson( - _$VeilidConfigTCPImpl instance) => +Map _$$_VeilidConfigTCPToJson(_$_VeilidConfigTCP instance) => { 'connect': instance.connect, 'listen': instance.listen, @@ -228,8 +216,8 @@ Map _$$VeilidConfigTCPImplToJson( 'public_address': instance.publicAddress, }; -_$VeilidConfigWSImpl _$$VeilidConfigWSImplFromJson(Map json) => - _$VeilidConfigWSImpl( +_$_VeilidConfigWS _$$_VeilidConfigWSFromJson(Map json) => + _$_VeilidConfigWS( connect: json['connect'] as bool, listen: json['listen'] as bool, maxConnections: json['max_connections'] as int, @@ -238,8 +226,7 @@ _$VeilidConfigWSImpl _$$VeilidConfigWSImplFromJson(Map json) => url: json['url'] as String?, ); -Map _$$VeilidConfigWSImplToJson( - _$VeilidConfigWSImpl instance) => +Map _$$_VeilidConfigWSToJson(_$_VeilidConfigWS instance) => { 'connect': instance.connect, 'listen': instance.listen, @@ -249,9 +236,8 @@ Map _$$VeilidConfigWSImplToJson( 'url': instance.url, }; -_$VeilidConfigWSSImpl _$$VeilidConfigWSSImplFromJson( - Map json) => - _$VeilidConfigWSSImpl( +_$_VeilidConfigWSS _$$_VeilidConfigWSSFromJson(Map json) => + _$_VeilidConfigWSS( connect: json['connect'] as bool, listen: json['listen'] as bool, maxConnections: json['max_connections'] as int, @@ -260,8 +246,7 @@ _$VeilidConfigWSSImpl _$$VeilidConfigWSSImplFromJson( url: json['url'] as String?, ); -Map _$$VeilidConfigWSSImplToJson( - _$VeilidConfigWSSImpl instance) => +Map _$$_VeilidConfigWSSToJson(_$_VeilidConfigWSS instance) => { 'connect': instance.connect, 'listen': instance.listen, @@ -271,17 +256,17 @@ Map _$$VeilidConfigWSSImplToJson( 'url': instance.url, }; -_$VeilidConfigProtocolImpl _$$VeilidConfigProtocolImplFromJson( +_$_VeilidConfigProtocol _$$_VeilidConfigProtocolFromJson( Map json) => - _$VeilidConfigProtocolImpl( + _$_VeilidConfigProtocol( udp: VeilidConfigUDP.fromJson(json['udp']), tcp: VeilidConfigTCP.fromJson(json['tcp']), ws: VeilidConfigWS.fromJson(json['ws']), wss: VeilidConfigWSS.fromJson(json['wss']), ); -Map _$$VeilidConfigProtocolImplToJson( - _$VeilidConfigProtocolImpl instance) => +Map _$$_VeilidConfigProtocolToJson( + _$_VeilidConfigProtocol instance) => { 'udp': instance.udp.toJson(), 'tcp': instance.tcp.toJson(), @@ -289,25 +274,22 @@ Map _$$VeilidConfigProtocolImplToJson( 'wss': instance.wss.toJson(), }; -_$VeilidConfigTLSImpl _$$VeilidConfigTLSImplFromJson( - Map json) => - _$VeilidConfigTLSImpl( +_$_VeilidConfigTLS _$$_VeilidConfigTLSFromJson(Map json) => + _$_VeilidConfigTLS( certificatePath: json['certificate_path'] as String, privateKeyPath: json['private_key_path'] as String, connectionInitialTimeoutMs: json['connection_initial_timeout_ms'] as int, ); -Map _$$VeilidConfigTLSImplToJson( - _$VeilidConfigTLSImpl instance) => +Map _$$_VeilidConfigTLSToJson(_$_VeilidConfigTLS instance) => { 'certificate_path': instance.certificatePath, 'private_key_path': instance.privateKeyPath, 'connection_initial_timeout_ms': instance.connectionInitialTimeoutMs, }; -_$VeilidConfigDHTImpl _$$VeilidConfigDHTImplFromJson( - Map json) => - _$VeilidConfigDHTImpl( +_$_VeilidConfigDHT _$$_VeilidConfigDHTFromJson(Map json) => + _$_VeilidConfigDHT( resolveNodeTimeoutMs: json['resolve_node_timeout_ms'] as int, resolveNodeCount: json['resolve_node_count'] as int, resolveNodeFanout: json['resolve_node_fanout'] as int, @@ -335,8 +317,7 @@ _$VeilidConfigDHTImpl _$$VeilidConfigDHTImplFromJson( maxWatchExpirationMs: json['max_watch_expiration_ms'] as int, ); -Map _$$VeilidConfigDHTImplToJson( - _$VeilidConfigDHTImpl instance) => +Map _$$_VeilidConfigDHTToJson(_$_VeilidConfigDHT instance) => { 'resolve_node_timeout_ms': instance.resolveNodeTimeoutMs, 'resolve_node_count': instance.resolveNodeCount, @@ -364,9 +345,8 @@ Map _$$VeilidConfigDHTImplToJson( 'max_watch_expiration_ms': instance.maxWatchExpirationMs, }; -_$VeilidConfigRPCImpl _$$VeilidConfigRPCImplFromJson( - Map json) => - _$VeilidConfigRPCImpl( +_$_VeilidConfigRPC _$$_VeilidConfigRPCFromJson(Map json) => + _$_VeilidConfigRPC( concurrency: json['concurrency'] as int, queueSize: json['queue_size'] as int, timeoutMs: json['timeout_ms'] as int, @@ -376,8 +356,7 @@ _$VeilidConfigRPCImpl _$$VeilidConfigRPCImplFromJson( maxTimestampAheadMs: json['max_timestamp_ahead_ms'] as int?, ); -Map _$$VeilidConfigRPCImplToJson( - _$VeilidConfigRPCImpl instance) => +Map _$$_VeilidConfigRPCToJson(_$_VeilidConfigRPC instance) => { 'concurrency': instance.concurrency, 'queue_size': instance.queueSize, @@ -388,9 +367,9 @@ Map _$$VeilidConfigRPCImplToJson( 'max_timestamp_ahead_ms': instance.maxTimestampAheadMs, }; -_$VeilidConfigRoutingTableImpl _$$VeilidConfigRoutingTableImplFromJson( +_$_VeilidConfigRoutingTable _$$_VeilidConfigRoutingTableFromJson( Map json) => - _$VeilidConfigRoutingTableImpl( + _$_VeilidConfigRoutingTable( nodeId: (json['node_id'] as List) .map(Typed.fromJson) .toList(), @@ -406,8 +385,8 @@ _$VeilidConfigRoutingTableImpl _$$VeilidConfigRoutingTableImplFromJson( limitAttachedWeak: json['limit_attached_weak'] as int, ); -Map _$$VeilidConfigRoutingTableImplToJson( - _$VeilidConfigRoutingTableImpl instance) => +Map _$$_VeilidConfigRoutingTableToJson( + _$_VeilidConfigRoutingTable instance) => { 'node_id': instance.nodeId.map((e) => e.toJson()).toList(), 'node_id_secret': instance.nodeIdSecret.map((e) => e.toJson()).toList(), @@ -419,9 +398,9 @@ Map _$$VeilidConfigRoutingTableImplToJson( 'limit_attached_weak': instance.limitAttachedWeak, }; -_$VeilidConfigNetworkImpl _$$VeilidConfigNetworkImplFromJson( +_$_VeilidConfigNetwork _$$_VeilidConfigNetworkFromJson( Map json) => - _$VeilidConfigNetworkImpl( + _$_VeilidConfigNetwork( connectionInitialTimeoutMs: json['connection_initial_timeout_ms'] as int, connectionInactivityTimeoutMs: json['connection_inactivity_timeout_ms'] as int, @@ -447,8 +426,8 @@ _$VeilidConfigNetworkImpl _$$VeilidConfigNetworkImplFromJson( networkKeyPassword: json['network_key_password'] as String?, ); -Map _$$VeilidConfigNetworkImplToJson( - _$VeilidConfigNetworkImpl instance) => +Map _$$_VeilidConfigNetworkToJson( + _$_VeilidConfigNetwork instance) => { 'connection_initial_timeout_ms': instance.connectionInitialTimeoutMs, 'connection_inactivity_timeout_ms': @@ -474,37 +453,37 @@ Map _$$VeilidConfigNetworkImplToJson( 'network_key_password': instance.networkKeyPassword, }; -_$VeilidConfigTableStoreImpl _$$VeilidConfigTableStoreImplFromJson( +_$_VeilidConfigTableStore _$$_VeilidConfigTableStoreFromJson( Map json) => - _$VeilidConfigTableStoreImpl( + _$_VeilidConfigTableStore( directory: json['directory'] as String, delete: json['delete'] as bool, ); -Map _$$VeilidConfigTableStoreImplToJson( - _$VeilidConfigTableStoreImpl instance) => +Map _$$_VeilidConfigTableStoreToJson( + _$_VeilidConfigTableStore instance) => { 'directory': instance.directory, 'delete': instance.delete, }; -_$VeilidConfigBlockStoreImpl _$$VeilidConfigBlockStoreImplFromJson( +_$_VeilidConfigBlockStore _$$_VeilidConfigBlockStoreFromJson( Map json) => - _$VeilidConfigBlockStoreImpl( + _$_VeilidConfigBlockStore( directory: json['directory'] as String, delete: json['delete'] as bool, ); -Map _$$VeilidConfigBlockStoreImplToJson( - _$VeilidConfigBlockStoreImpl instance) => +Map _$$_VeilidConfigBlockStoreToJson( + _$_VeilidConfigBlockStore instance) => { 'directory': instance.directory, 'delete': instance.delete, }; -_$VeilidConfigProtectedStoreImpl _$$VeilidConfigProtectedStoreImplFromJson( +_$_VeilidConfigProtectedStore _$$_VeilidConfigProtectedStoreFromJson( Map json) => - _$VeilidConfigProtectedStoreImpl( + _$_VeilidConfigProtectedStore( allowInsecureFallback: json['allow_insecure_fallback'] as bool, alwaysUseInsecureStorage: json['always_use_insecure_storage'] as bool, directory: json['directory'] as String, @@ -515,8 +494,8 @@ _$VeilidConfigProtectedStoreImpl _$$VeilidConfigProtectedStoreImplFromJson( json['new_device_encryption_key_password'] as String?, ); -Map _$$VeilidConfigProtectedStoreImplToJson( - _$VeilidConfigProtectedStoreImpl instance) => +Map _$$_VeilidConfigProtectedStoreToJson( + _$_VeilidConfigProtectedStore instance) => { 'allow_insecure_fallback': instance.allowInsecureFallback, 'always_use_insecure_storage': instance.alwaysUseInsecureStorage, @@ -527,21 +506,21 @@ Map _$$VeilidConfigProtectedStoreImplToJson( instance.newDeviceEncryptionKeyPassword, }; -_$VeilidConfigCapabilitiesImpl _$$VeilidConfigCapabilitiesImplFromJson( +_$_VeilidConfigCapabilities _$$_VeilidConfigCapabilitiesFromJson( Map json) => - _$VeilidConfigCapabilitiesImpl( + _$_VeilidConfigCapabilities( disable: (json['disable'] as List).map((e) => e as String).toList(), ); -Map _$$VeilidConfigCapabilitiesImplToJson( - _$VeilidConfigCapabilitiesImpl instance) => +Map _$$_VeilidConfigCapabilitiesToJson( + _$_VeilidConfigCapabilities instance) => { 'disable': instance.disable, }; -_$VeilidConfigImpl _$$VeilidConfigImplFromJson(Map json) => - _$VeilidConfigImpl( +_$_VeilidConfig _$$_VeilidConfigFromJson(Map json) => + _$_VeilidConfig( programName: json['program_name'] as String, namespace: json['namespace'] as String, capabilities: VeilidConfigCapabilities.fromJson(json['capabilities']), @@ -552,7 +531,7 @@ _$VeilidConfigImpl _$$VeilidConfigImplFromJson(Map json) => network: VeilidConfigNetwork.fromJson(json['network']), ); -Map _$$VeilidConfigImplToJson(_$VeilidConfigImpl instance) => +Map _$$_VeilidConfigToJson(_$_VeilidConfig 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 4e6e76e3..ca6d13af 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 _$$LatencyStatsImplCopyWith<$Res> +abstract class _$$_LatencyStatsCopyWith<$Res> implements $LatencyStatsCopyWith<$Res> { - factory _$$LatencyStatsImplCopyWith( - _$LatencyStatsImpl value, $Res Function(_$LatencyStatsImpl) then) = - __$$LatencyStatsImplCopyWithImpl<$Res>; + factory _$$_LatencyStatsCopyWith( + _$_LatencyStats value, $Res Function(_$_LatencyStats) then) = + __$$_LatencyStatsCopyWithImpl<$Res>; @override @useResult $Res call( @@ -91,11 +91,11 @@ abstract class _$$LatencyStatsImplCopyWith<$Res> } /// @nodoc -class __$$LatencyStatsImplCopyWithImpl<$Res> - extends _$LatencyStatsCopyWithImpl<$Res, _$LatencyStatsImpl> - implements _$$LatencyStatsImplCopyWith<$Res> { - __$$LatencyStatsImplCopyWithImpl( - _$LatencyStatsImpl _value, $Res Function(_$LatencyStatsImpl) _then) +class __$$_LatencyStatsCopyWithImpl<$Res> + extends _$LatencyStatsCopyWithImpl<$Res, _$_LatencyStats> + implements _$$_LatencyStatsCopyWith<$Res> { + __$$_LatencyStatsCopyWithImpl( + _$_LatencyStats _value, $Res Function(_$_LatencyStats) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -105,7 +105,7 @@ class __$$LatencyStatsImplCopyWithImpl<$Res> Object? average = null, Object? slowest = null, }) { - return _then(_$LatencyStatsImpl( + return _then(_$_LatencyStats( fastest: null == fastest ? _value.fastest : fastest // ignore: cast_nullable_to_non_nullable @@ -124,12 +124,12 @@ class __$$LatencyStatsImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$LatencyStatsImpl implements _LatencyStats { - const _$LatencyStatsImpl( +class _$_LatencyStats implements _LatencyStats { + const _$_LatencyStats( {required this.fastest, required this.average, required this.slowest}); - factory _$LatencyStatsImpl.fromJson(Map json) => - _$$LatencyStatsImplFromJson(json); + factory _$_LatencyStats.fromJson(Map json) => + _$$_LatencyStatsFromJson(json); @override final TimestampDuration fastest; @@ -144,10 +144,10 @@ class _$LatencyStatsImpl implements _LatencyStats { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$LatencyStatsImpl && + other is _$_LatencyStats && (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 _$LatencyStatsImpl implements _LatencyStats { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$LatencyStatsImplCopyWith<_$LatencyStatsImpl> get copyWith => - __$$LatencyStatsImplCopyWithImpl<_$LatencyStatsImpl>(this, _$identity); + _$$_LatencyStatsCopyWith<_$_LatencyStats> get copyWith => + __$$_LatencyStatsCopyWithImpl<_$_LatencyStats>(this, _$identity); @override Map toJson() { - return _$$LatencyStatsImplToJson( + return _$$_LatencyStatsToJson( 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}) = _$LatencyStatsImpl; + required final TimestampDuration slowest}) = _$_LatencyStats; factory _LatencyStats.fromJson(Map json) = - _$LatencyStatsImpl.fromJson; + _$_LatencyStats.fromJson; @override TimestampDuration get fastest; @@ -188,7 +188,7 @@ abstract class _LatencyStats implements LatencyStats { TimestampDuration get slowest; @override @JsonKey(ignore: true) - _$$LatencyStatsImplCopyWith<_$LatencyStatsImpl> get copyWith => + _$$_LatencyStatsCopyWith<_$_LatencyStats> get copyWith => throw _privateConstructorUsedError; } @@ -258,22 +258,22 @@ class _$TransferStatsCopyWithImpl<$Res, $Val extends TransferStats> } /// @nodoc -abstract class _$$TransferStatsImplCopyWith<$Res> +abstract class _$$_TransferStatsCopyWith<$Res> implements $TransferStatsCopyWith<$Res> { - factory _$$TransferStatsImplCopyWith( - _$TransferStatsImpl value, $Res Function(_$TransferStatsImpl) then) = - __$$TransferStatsImplCopyWithImpl<$Res>; + factory _$$_TransferStatsCopyWith( + _$_TransferStats value, $Res Function(_$_TransferStats) then) = + __$$_TransferStatsCopyWithImpl<$Res>; @override @useResult $Res call({BigInt total, BigInt maximum, BigInt average, BigInt minimum}); } /// @nodoc -class __$$TransferStatsImplCopyWithImpl<$Res> - extends _$TransferStatsCopyWithImpl<$Res, _$TransferStatsImpl> - implements _$$TransferStatsImplCopyWith<$Res> { - __$$TransferStatsImplCopyWithImpl( - _$TransferStatsImpl _value, $Res Function(_$TransferStatsImpl) _then) +class __$$_TransferStatsCopyWithImpl<$Res> + extends _$TransferStatsCopyWithImpl<$Res, _$_TransferStats> + implements _$$_TransferStatsCopyWith<$Res> { + __$$_TransferStatsCopyWithImpl( + _$_TransferStats _value, $Res Function(_$_TransferStats) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -284,7 +284,7 @@ class __$$TransferStatsImplCopyWithImpl<$Res> Object? average = null, Object? minimum = null, }) { - return _then(_$TransferStatsImpl( + return _then(_$_TransferStats( total: null == total ? _value.total : total // ignore: cast_nullable_to_non_nullable @@ -307,15 +307,15 @@ class __$$TransferStatsImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$TransferStatsImpl implements _TransferStats { - const _$TransferStatsImpl( +class _$_TransferStats implements _TransferStats { + const _$_TransferStats( {required this.total, required this.maximum, required this.average, required this.minimum}); - factory _$TransferStatsImpl.fromJson(Map json) => - _$$TransferStatsImplFromJson(json); + factory _$_TransferStats.fromJson(Map json) => + _$$_TransferStatsFromJson(json); @override final BigInt total; @@ -332,10 +332,10 @@ class _$TransferStatsImpl implements _TransferStats { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$TransferStatsImpl && + other is _$_TransferStats && (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 _$TransferStatsImpl implements _TransferStats { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$TransferStatsImplCopyWith<_$TransferStatsImpl> get copyWith => - __$$TransferStatsImplCopyWithImpl<_$TransferStatsImpl>(this, _$identity); + _$$_TransferStatsCopyWith<_$_TransferStats> get copyWith => + __$$_TransferStatsCopyWithImpl<_$_TransferStats>(this, _$identity); @override Map toJson() { - return _$$TransferStatsImplToJson( + return _$$_TransferStatsToJson( 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}) = _$TransferStatsImpl; + required final BigInt minimum}) = _$_TransferStats; factory _TransferStats.fromJson(Map json) = - _$TransferStatsImpl.fromJson; + _$_TransferStats.fromJson; @override BigInt get total; @@ -381,7 +381,7 @@ abstract class _TransferStats implements TransferStats { BigInt get minimum; @override @JsonKey(ignore: true) - _$$TransferStatsImplCopyWith<_$TransferStatsImpl> get copyWith => + _$$_TransferStatsCopyWith<_$_TransferStats> get copyWith => throw _privateConstructorUsedError; } @@ -458,11 +458,11 @@ class _$TransferStatsDownUpCopyWithImpl<$Res, $Val extends TransferStatsDownUp> } /// @nodoc -abstract class _$$TransferStatsDownUpImplCopyWith<$Res> +abstract class _$$_TransferStatsDownUpCopyWith<$Res> implements $TransferStatsDownUpCopyWith<$Res> { - factory _$$TransferStatsDownUpImplCopyWith(_$TransferStatsDownUpImpl value, - $Res Function(_$TransferStatsDownUpImpl) then) = - __$$TransferStatsDownUpImplCopyWithImpl<$Res>; + factory _$$_TransferStatsDownUpCopyWith(_$_TransferStatsDownUp value, + $Res Function(_$_TransferStatsDownUp) then) = + __$$_TransferStatsDownUpCopyWithImpl<$Res>; @override @useResult $Res call({TransferStats down, TransferStats up}); @@ -474,11 +474,11 @@ abstract class _$$TransferStatsDownUpImplCopyWith<$Res> } /// @nodoc -class __$$TransferStatsDownUpImplCopyWithImpl<$Res> - extends _$TransferStatsDownUpCopyWithImpl<$Res, _$TransferStatsDownUpImpl> - implements _$$TransferStatsDownUpImplCopyWith<$Res> { - __$$TransferStatsDownUpImplCopyWithImpl(_$TransferStatsDownUpImpl _value, - $Res Function(_$TransferStatsDownUpImpl) _then) +class __$$_TransferStatsDownUpCopyWithImpl<$Res> + extends _$TransferStatsDownUpCopyWithImpl<$Res, _$_TransferStatsDownUp> + implements _$$_TransferStatsDownUpCopyWith<$Res> { + __$$_TransferStatsDownUpCopyWithImpl(_$_TransferStatsDownUp _value, + $Res Function(_$_TransferStatsDownUp) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -487,7 +487,7 @@ class __$$TransferStatsDownUpImplCopyWithImpl<$Res> Object? down = null, Object? up = null, }) { - return _then(_$TransferStatsDownUpImpl( + return _then(_$_TransferStatsDownUp( down: null == down ? _value.down : down // ignore: cast_nullable_to_non_nullable @@ -502,11 +502,11 @@ class __$$TransferStatsDownUpImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$TransferStatsDownUpImpl implements _TransferStatsDownUp { - const _$TransferStatsDownUpImpl({required this.down, required this.up}); +class _$_TransferStatsDownUp implements _TransferStatsDownUp { + const _$_TransferStatsDownUp({required this.down, required this.up}); - factory _$TransferStatsDownUpImpl.fromJson(Map json) => - _$$TransferStatsDownUpImplFromJson(json); + factory _$_TransferStatsDownUp.fromJson(Map json) => + _$$_TransferStatsDownUpFromJson(json); @override final TransferStats down; @@ -519,10 +519,10 @@ class _$TransferStatsDownUpImpl implements _TransferStatsDownUp { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$TransferStatsDownUpImpl && + other is _$_TransferStatsDownUp && (identical(other.down, down) || other.down == down) && (identical(other.up, up) || other.up == up)); } @@ -534,13 +534,13 @@ class _$TransferStatsDownUpImpl implements _TransferStatsDownUp { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$TransferStatsDownUpImplCopyWith<_$TransferStatsDownUpImpl> get copyWith => - __$$TransferStatsDownUpImplCopyWithImpl<_$TransferStatsDownUpImpl>( + _$$_TransferStatsDownUpCopyWith<_$_TransferStatsDownUp> get copyWith => + __$$_TransferStatsDownUpCopyWithImpl<_$_TransferStatsDownUp>( this, _$identity); @override Map toJson() { - return _$$TransferStatsDownUpImplToJson( + return _$$_TransferStatsDownUpToJson( this, ); } @@ -549,10 +549,10 @@ class _$TransferStatsDownUpImpl implements _TransferStatsDownUp { abstract class _TransferStatsDownUp implements TransferStatsDownUp { const factory _TransferStatsDownUp( {required final TransferStats down, - required final TransferStats up}) = _$TransferStatsDownUpImpl; + required final TransferStats up}) = _$_TransferStatsDownUp; factory _TransferStatsDownUp.fromJson(Map json) = - _$TransferStatsDownUpImpl.fromJson; + _$_TransferStatsDownUp.fromJson; @override TransferStats get down; @@ -560,7 +560,7 @@ abstract class _TransferStatsDownUp implements TransferStatsDownUp { TransferStats get up; @override @JsonKey(ignore: true) - _$$TransferStatsDownUpImplCopyWith<_$TransferStatsDownUpImpl> get copyWith => + _$$_TransferStatsDownUpCopyWith<_$_TransferStatsDownUp> get copyWith => throw _privateConstructorUsedError; } @@ -661,11 +661,10 @@ class _$RPCStatsCopyWithImpl<$Res, $Val extends RPCStats> } /// @nodoc -abstract class _$$RPCStatsImplCopyWith<$Res> - implements $RPCStatsCopyWith<$Res> { - factory _$$RPCStatsImplCopyWith( - _$RPCStatsImpl value, $Res Function(_$RPCStatsImpl) then) = - __$$RPCStatsImplCopyWithImpl<$Res>; +abstract class _$$_RPCStatsCopyWith<$Res> implements $RPCStatsCopyWith<$Res> { + factory _$$_RPCStatsCopyWith( + _$_RPCStats value, $Res Function(_$_RPCStats) then) = + __$$_RPCStatsCopyWithImpl<$Res>; @override @useResult $Res call( @@ -680,11 +679,11 @@ abstract class _$$RPCStatsImplCopyWith<$Res> } /// @nodoc -class __$$RPCStatsImplCopyWithImpl<$Res> - extends _$RPCStatsCopyWithImpl<$Res, _$RPCStatsImpl> - implements _$$RPCStatsImplCopyWith<$Res> { - __$$RPCStatsImplCopyWithImpl( - _$RPCStatsImpl _value, $Res Function(_$RPCStatsImpl) _then) +class __$$_RPCStatsCopyWithImpl<$Res> + extends _$RPCStatsCopyWithImpl<$Res, _$_RPCStats> + implements _$$_RPCStatsCopyWith<$Res> { + __$$_RPCStatsCopyWithImpl( + _$_RPCStats _value, $Res Function(_$_RPCStats) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -699,7 +698,7 @@ class __$$RPCStatsImplCopyWithImpl<$Res> Object? recentLostAnswers = null, Object? failedToSend = null, }) { - return _then(_$RPCStatsImpl( + return _then(_$_RPCStats( messagesSent: null == messagesSent ? _value.messagesSent : messagesSent // ignore: cast_nullable_to_non_nullable @@ -738,8 +737,8 @@ class __$$RPCStatsImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$RPCStatsImpl implements _RPCStats { - const _$RPCStatsImpl( +class _$_RPCStats implements _RPCStats { + const _$_RPCStats( {required this.messagesSent, required this.messagesRcvd, required this.questionsInFlight, @@ -749,8 +748,8 @@ class _$RPCStatsImpl implements _RPCStats { required this.recentLostAnswers, required this.failedToSend}); - factory _$RPCStatsImpl.fromJson(Map json) => - _$$RPCStatsImplFromJson(json); + factory _$_RPCStats.fromJson(Map json) => + _$$_RPCStatsFromJson(json); @override final int messagesSent; @@ -775,10 +774,10 @@ class _$RPCStatsImpl implements _RPCStats { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RPCStatsImpl && + other is _$_RPCStats && (identical(other.messagesSent, messagesSent) || other.messagesSent == messagesSent) && (identical(other.messagesRcvd, messagesRcvd) || @@ -813,12 +812,12 @@ class _$RPCStatsImpl implements _RPCStats { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$RPCStatsImplCopyWith<_$RPCStatsImpl> get copyWith => - __$$RPCStatsImplCopyWithImpl<_$RPCStatsImpl>(this, _$identity); + _$$_RPCStatsCopyWith<_$_RPCStats> get copyWith => + __$$_RPCStatsCopyWithImpl<_$_RPCStats>(this, _$identity); @override Map toJson() { - return _$$RPCStatsImplToJson( + return _$$_RPCStatsToJson( this, ); } @@ -833,10 +832,9 @@ abstract class _RPCStats implements RPCStats { required final Timestamp? lastSeenTs, required final Timestamp? firstConsecutiveSeenTs, required final int recentLostAnswers, - required final int failedToSend}) = _$RPCStatsImpl; + required final int failedToSend}) = _$_RPCStats; - factory _RPCStats.fromJson(Map json) = - _$RPCStatsImpl.fromJson; + factory _RPCStats.fromJson(Map json) = _$_RPCStats.fromJson; @override int get messagesSent; @@ -856,7 +854,7 @@ abstract class _RPCStats implements RPCStats { int get failedToSend; @override @JsonKey(ignore: true) - _$$RPCStatsImplCopyWith<_$RPCStatsImpl> get copyWith => + _$$_RPCStatsCopyWith<_$_RPCStats> get copyWith => throw _privateConstructorUsedError; } @@ -961,11 +959,10 @@ class _$PeerStatsCopyWithImpl<$Res, $Val extends PeerStats> } /// @nodoc -abstract class _$$PeerStatsImplCopyWith<$Res> - implements $PeerStatsCopyWith<$Res> { - factory _$$PeerStatsImplCopyWith( - _$PeerStatsImpl value, $Res Function(_$PeerStatsImpl) then) = - __$$PeerStatsImplCopyWithImpl<$Res>; +abstract class _$$_PeerStatsCopyWith<$Res> implements $PeerStatsCopyWith<$Res> { + factory _$$_PeerStatsCopyWith( + _$_PeerStats value, $Res Function(_$_PeerStats) then) = + __$$_PeerStatsCopyWithImpl<$Res>; @override @useResult $Res call( @@ -983,11 +980,11 @@ abstract class _$$PeerStatsImplCopyWith<$Res> } /// @nodoc -class __$$PeerStatsImplCopyWithImpl<$Res> - extends _$PeerStatsCopyWithImpl<$Res, _$PeerStatsImpl> - implements _$$PeerStatsImplCopyWith<$Res> { - __$$PeerStatsImplCopyWithImpl( - _$PeerStatsImpl _value, $Res Function(_$PeerStatsImpl) _then) +class __$$_PeerStatsCopyWithImpl<$Res> + extends _$PeerStatsCopyWithImpl<$Res, _$_PeerStats> + implements _$$_PeerStatsCopyWith<$Res> { + __$$_PeerStatsCopyWithImpl( + _$_PeerStats _value, $Res Function(_$_PeerStats) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -998,7 +995,7 @@ class __$$PeerStatsImplCopyWithImpl<$Res> Object? transfer = null, Object? latency = freezed, }) { - return _then(_$PeerStatsImpl( + return _then(_$_PeerStats( timeAdded: null == timeAdded ? _value.timeAdded : timeAdded // ignore: cast_nullable_to_non_nullable @@ -1021,15 +1018,15 @@ class __$$PeerStatsImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$PeerStatsImpl implements _PeerStats { - const _$PeerStatsImpl( +class _$_PeerStats implements _PeerStats { + const _$_PeerStats( {required this.timeAdded, required this.rpcStats, required this.transfer, this.latency}); - factory _$PeerStatsImpl.fromJson(Map json) => - _$$PeerStatsImplFromJson(json); + factory _$_PeerStats.fromJson(Map json) => + _$$_PeerStatsFromJson(json); @override final Timestamp timeAdded; @@ -1046,10 +1043,10 @@ class _$PeerStatsImpl implements _PeerStats { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$PeerStatsImpl && + other is _$_PeerStats && (identical(other.timeAdded, timeAdded) || other.timeAdded == timeAdded) && (identical(other.rpcStats, rpcStats) || @@ -1067,12 +1064,12 @@ class _$PeerStatsImpl implements _PeerStats { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$PeerStatsImplCopyWith<_$PeerStatsImpl> get copyWith => - __$$PeerStatsImplCopyWithImpl<_$PeerStatsImpl>(this, _$identity); + _$$_PeerStatsCopyWith<_$_PeerStats> get copyWith => + __$$_PeerStatsCopyWithImpl<_$_PeerStats>(this, _$identity); @override Map toJson() { - return _$$PeerStatsImplToJson( + return _$$_PeerStatsToJson( this, ); } @@ -1083,10 +1080,10 @@ abstract class _PeerStats implements PeerStats { {required final Timestamp timeAdded, required final RPCStats rpcStats, required final TransferStatsDownUp transfer, - final LatencyStats? latency}) = _$PeerStatsImpl; + final LatencyStats? latency}) = _$_PeerStats; factory _PeerStats.fromJson(Map json) = - _$PeerStatsImpl.fromJson; + _$_PeerStats.fromJson; @override Timestamp get timeAdded; @@ -1098,7 +1095,7 @@ abstract class _PeerStats implements PeerStats { LatencyStats? get latency; @override @JsonKey(ignore: true) - _$$PeerStatsImplCopyWith<_$PeerStatsImpl> get copyWith => + _$$_PeerStatsCopyWith<_$_PeerStats> get copyWith => throw _privateConstructorUsedError; } @@ -1176,11 +1173,11 @@ class _$PeerTableDataCopyWithImpl<$Res, $Val extends PeerTableData> } /// @nodoc -abstract class _$$PeerTableDataImplCopyWith<$Res> +abstract class _$$_PeerTableDataCopyWith<$Res> implements $PeerTableDataCopyWith<$Res> { - factory _$$PeerTableDataImplCopyWith( - _$PeerTableDataImpl value, $Res Function(_$PeerTableDataImpl) then) = - __$$PeerTableDataImplCopyWithImpl<$Res>; + factory _$$_PeerTableDataCopyWith( + _$_PeerTableData value, $Res Function(_$_PeerTableData) then) = + __$$_PeerTableDataCopyWithImpl<$Res>; @override @useResult $Res call( @@ -1193,11 +1190,11 @@ abstract class _$$PeerTableDataImplCopyWith<$Res> } /// @nodoc -class __$$PeerTableDataImplCopyWithImpl<$Res> - extends _$PeerTableDataCopyWithImpl<$Res, _$PeerTableDataImpl> - implements _$$PeerTableDataImplCopyWith<$Res> { - __$$PeerTableDataImplCopyWithImpl( - _$PeerTableDataImpl _value, $Res Function(_$PeerTableDataImpl) _then) +class __$$_PeerTableDataCopyWithImpl<$Res> + extends _$PeerTableDataCopyWithImpl<$Res, _$_PeerTableData> + implements _$$_PeerTableDataCopyWith<$Res> { + __$$_PeerTableDataCopyWithImpl( + _$_PeerTableData _value, $Res Function(_$_PeerTableData) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1207,7 +1204,7 @@ class __$$PeerTableDataImplCopyWithImpl<$Res> Object? peerAddress = null, Object? peerStats = null, }) { - return _then(_$PeerTableDataImpl( + return _then(_$_PeerTableData( nodeIds: null == nodeIds ? _value._nodeIds : nodeIds // ignore: cast_nullable_to_non_nullable @@ -1226,15 +1223,15 @@ class __$$PeerTableDataImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$PeerTableDataImpl implements _PeerTableData { - const _$PeerTableDataImpl( +class _$_PeerTableData implements _PeerTableData { + const _$_PeerTableData( {required final List> nodeIds, required this.peerAddress, required this.peerStats}) : _nodeIds = nodeIds; - factory _$PeerTableDataImpl.fromJson(Map json) => - _$$PeerTableDataImplFromJson(json); + factory _$_PeerTableData.fromJson(Map json) => + _$$_PeerTableDataFromJson(json); final List> _nodeIds; @override @@ -1255,10 +1252,10 @@ class _$PeerTableDataImpl implements _PeerTableData { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$PeerTableDataImpl && + other is _$_PeerTableData && const DeepCollectionEquality().equals(other._nodeIds, _nodeIds) && (identical(other.peerAddress, peerAddress) || other.peerAddress == peerAddress) && @@ -1274,12 +1271,12 @@ class _$PeerTableDataImpl implements _PeerTableData { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$PeerTableDataImplCopyWith<_$PeerTableDataImpl> get copyWith => - __$$PeerTableDataImplCopyWithImpl<_$PeerTableDataImpl>(this, _$identity); + _$$_PeerTableDataCopyWith<_$_PeerTableData> get copyWith => + __$$_PeerTableDataCopyWithImpl<_$_PeerTableData>(this, _$identity); @override Map toJson() { - return _$$PeerTableDataImplToJson( + return _$$_PeerTableDataToJson( this, ); } @@ -1289,10 +1286,10 @@ abstract class _PeerTableData implements PeerTableData { const factory _PeerTableData( {required final List> nodeIds, required final String peerAddress, - required final PeerStats peerStats}) = _$PeerTableDataImpl; + required final PeerStats peerStats}) = _$_PeerTableData; factory _PeerTableData.fromJson(Map json) = - _$PeerTableDataImpl.fromJson; + _$_PeerTableData.fromJson; @override List> get nodeIds; @@ -1302,7 +1299,7 @@ abstract class _PeerTableData implements PeerTableData { PeerStats get peerStats; @override @JsonKey(ignore: true) - _$$PeerTableDataImplCopyWith<_$PeerTableDataImpl> get copyWith => + _$$_PeerTableDataCopyWith<_$_PeerTableData> get copyWith => throw _privateConstructorUsedError; } @@ -1469,20 +1466,20 @@ class _$VeilidUpdateCopyWithImpl<$Res, $Val extends VeilidUpdate> } /// @nodoc -abstract class _$$VeilidLogImplCopyWith<$Res> { - factory _$$VeilidLogImplCopyWith( - _$VeilidLogImpl value, $Res Function(_$VeilidLogImpl) then) = - __$$VeilidLogImplCopyWithImpl<$Res>; +abstract class _$$VeilidLogCopyWith<$Res> { + factory _$$VeilidLogCopyWith( + _$VeilidLog value, $Res Function(_$VeilidLog) then) = + __$$VeilidLogCopyWithImpl<$Res>; @useResult $Res call({VeilidLogLevel logLevel, String message, String? backtrace}); } /// @nodoc -class __$$VeilidLogImplCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidLogImpl> - implements _$$VeilidLogImplCopyWith<$Res> { - __$$VeilidLogImplCopyWithImpl( - _$VeilidLogImpl _value, $Res Function(_$VeilidLogImpl) _then) +class __$$VeilidLogCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidLog> + implements _$$VeilidLogCopyWith<$Res> { + __$$VeilidLogCopyWithImpl( + _$VeilidLog _value, $Res Function(_$VeilidLog) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1492,7 +1489,7 @@ class __$$VeilidLogImplCopyWithImpl<$Res> Object? message = null, Object? backtrace = freezed, }) { - return _then(_$VeilidLogImpl( + return _then(_$VeilidLog( logLevel: null == logLevel ? _value.logLevel : logLevel // ignore: cast_nullable_to_non_nullable @@ -1511,16 +1508,16 @@ class __$$VeilidLogImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidLogImpl implements VeilidLog { - const _$VeilidLogImpl( +class _$VeilidLog implements VeilidLog { + const _$VeilidLog( {required this.logLevel, required this.message, this.backtrace, final String? $type}) : $type = $type ?? 'Log'; - factory _$VeilidLogImpl.fromJson(Map json) => - _$$VeilidLogImplFromJson(json); + factory _$VeilidLog.fromJson(Map json) => + _$$VeilidLogFromJson(json); @override final VeilidLogLevel logLevel; @@ -1538,10 +1535,10 @@ class _$VeilidLogImpl implements VeilidLog { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidLogImpl && + other is _$VeilidLog && (identical(other.logLevel, logLevel) || other.logLevel == logLevel) && (identical(other.message, message) || other.message == message) && @@ -1556,8 +1553,8 @@ class _$VeilidLogImpl implements VeilidLog { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidLogImplCopyWith<_$VeilidLogImpl> get copyWith => - __$$VeilidLogImplCopyWithImpl<_$VeilidLogImpl>(this, _$identity); + _$$VeilidLogCopyWith<_$VeilidLog> get copyWith => + __$$VeilidLogCopyWithImpl<_$VeilidLog>(this, _$identity); @override @optionalTypeArgs @@ -1699,7 +1696,7 @@ class _$VeilidLogImpl implements VeilidLog { @override Map toJson() { - return _$$VeilidLogImplToJson( + return _$$VeilidLogToJson( this, ); } @@ -1709,24 +1706,23 @@ abstract class VeilidLog implements VeilidUpdate { const factory VeilidLog( {required final VeilidLogLevel logLevel, required final String message, - final String? backtrace}) = _$VeilidLogImpl; + final String? backtrace}) = _$VeilidLog; - factory VeilidLog.fromJson(Map json) = - _$VeilidLogImpl.fromJson; + factory VeilidLog.fromJson(Map json) = _$VeilidLog.fromJson; VeilidLogLevel get logLevel; String get message; String? get backtrace; @JsonKey(ignore: true) - _$$VeilidLogImplCopyWith<_$VeilidLogImpl> get copyWith => + _$$VeilidLogCopyWith<_$VeilidLog> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidAppMessageImplCopyWith<$Res> { - factory _$$VeilidAppMessageImplCopyWith(_$VeilidAppMessageImpl value, - $Res Function(_$VeilidAppMessageImpl) then) = - __$$VeilidAppMessageImplCopyWithImpl<$Res>; +abstract class _$$VeilidAppMessageCopyWith<$Res> { + factory _$$VeilidAppMessageCopyWith( + _$VeilidAppMessage value, $Res Function(_$VeilidAppMessage) then) = + __$$VeilidAppMessageCopyWithImpl<$Res>; @useResult $Res call( {@Uint8ListJsonConverter() Uint8List message, @@ -1734,11 +1730,11 @@ abstract class _$$VeilidAppMessageImplCopyWith<$Res> { } /// @nodoc -class __$$VeilidAppMessageImplCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidAppMessageImpl> - implements _$$VeilidAppMessageImplCopyWith<$Res> { - __$$VeilidAppMessageImplCopyWithImpl(_$VeilidAppMessageImpl _value, - $Res Function(_$VeilidAppMessageImpl) _then) +class __$$VeilidAppMessageCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidAppMessage> + implements _$$VeilidAppMessageCopyWith<$Res> { + __$$VeilidAppMessageCopyWithImpl( + _$VeilidAppMessage _value, $Res Function(_$VeilidAppMessage) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1747,7 +1743,7 @@ class __$$VeilidAppMessageImplCopyWithImpl<$Res> Object? message = null, Object? sender = freezed, }) { - return _then(_$VeilidAppMessageImpl( + return _then(_$VeilidAppMessage( message: null == message ? _value.message : message // ignore: cast_nullable_to_non_nullable @@ -1762,15 +1758,15 @@ class __$$VeilidAppMessageImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidAppMessageImpl implements VeilidAppMessage { - const _$VeilidAppMessageImpl( +class _$VeilidAppMessage implements VeilidAppMessage { + const _$VeilidAppMessage( {@Uint8ListJsonConverter() required this.message, this.sender, final String? $type}) : $type = $type ?? 'AppMessage'; - factory _$VeilidAppMessageImpl.fromJson(Map json) => - _$$VeilidAppMessageImplFromJson(json); + factory _$VeilidAppMessage.fromJson(Map json) => + _$$VeilidAppMessageFromJson(json); @override @Uint8ListJsonConverter() @@ -1787,10 +1783,10 @@ class _$VeilidAppMessageImpl implements VeilidAppMessage { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidAppMessageImpl && + other is _$VeilidAppMessage && const DeepCollectionEquality().equals(other.message, message) && (identical(other.sender, sender) || other.sender == sender)); } @@ -1803,9 +1799,8 @@ class _$VeilidAppMessageImpl implements VeilidAppMessage { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidAppMessageImplCopyWith<_$VeilidAppMessageImpl> get copyWith => - __$$VeilidAppMessageImplCopyWithImpl<_$VeilidAppMessageImpl>( - this, _$identity); + _$$VeilidAppMessageCopyWith<_$VeilidAppMessage> get copyWith => + __$$VeilidAppMessageCopyWithImpl<_$VeilidAppMessage>(this, _$identity); @override @optionalTypeArgs @@ -1947,7 +1942,7 @@ class _$VeilidAppMessageImpl implements VeilidAppMessage { @override Map toJson() { - return _$$VeilidAppMessageImplToJson( + return _$$VeilidAppMessageToJson( this, ); } @@ -1956,24 +1951,24 @@ class _$VeilidAppMessageImpl implements VeilidAppMessage { abstract class VeilidAppMessage implements VeilidUpdate { const factory VeilidAppMessage( {@Uint8ListJsonConverter() required final Uint8List message, - final Typed? sender}) = _$VeilidAppMessageImpl; + final Typed? sender}) = _$VeilidAppMessage; factory VeilidAppMessage.fromJson(Map json) = - _$VeilidAppMessageImpl.fromJson; + _$VeilidAppMessage.fromJson; @Uint8ListJsonConverter() Uint8List get message; Typed? get sender; @JsonKey(ignore: true) - _$$VeilidAppMessageImplCopyWith<_$VeilidAppMessageImpl> get copyWith => + _$$VeilidAppMessageCopyWith<_$VeilidAppMessage> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidAppCallImplCopyWith<$Res> { - factory _$$VeilidAppCallImplCopyWith( - _$VeilidAppCallImpl value, $Res Function(_$VeilidAppCallImpl) then) = - __$$VeilidAppCallImplCopyWithImpl<$Res>; +abstract class _$$VeilidAppCallCopyWith<$Res> { + factory _$$VeilidAppCallCopyWith( + _$VeilidAppCall value, $Res Function(_$VeilidAppCall) then) = + __$$VeilidAppCallCopyWithImpl<$Res>; @useResult $Res call( {@Uint8ListJsonConverter() Uint8List message, @@ -1982,11 +1977,11 @@ abstract class _$$VeilidAppCallImplCopyWith<$Res> { } /// @nodoc -class __$$VeilidAppCallImplCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidAppCallImpl> - implements _$$VeilidAppCallImplCopyWith<$Res> { - __$$VeilidAppCallImplCopyWithImpl( - _$VeilidAppCallImpl _value, $Res Function(_$VeilidAppCallImpl) _then) +class __$$VeilidAppCallCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidAppCall> + implements _$$VeilidAppCallCopyWith<$Res> { + __$$VeilidAppCallCopyWithImpl( + _$VeilidAppCall _value, $Res Function(_$VeilidAppCall) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1996,7 +1991,7 @@ class __$$VeilidAppCallImplCopyWithImpl<$Res> Object? callId = null, Object? sender = freezed, }) { - return _then(_$VeilidAppCallImpl( + return _then(_$VeilidAppCall( message: null == message ? _value.message : message // ignore: cast_nullable_to_non_nullable @@ -2015,16 +2010,16 @@ class __$$VeilidAppCallImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidAppCallImpl implements VeilidAppCall { - const _$VeilidAppCallImpl( +class _$VeilidAppCall implements VeilidAppCall { + const _$VeilidAppCall( {@Uint8ListJsonConverter() required this.message, required this.callId, this.sender, final String? $type}) : $type = $type ?? 'AppCall'; - factory _$VeilidAppCallImpl.fromJson(Map json) => - _$$VeilidAppCallImplFromJson(json); + factory _$VeilidAppCall.fromJson(Map json) => + _$$VeilidAppCallFromJson(json); @override @Uint8ListJsonConverter() @@ -2043,10 +2038,10 @@ class _$VeilidAppCallImpl implements VeilidAppCall { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidAppCallImpl && + other is _$VeilidAppCall && const DeepCollectionEquality().equals(other.message, message) && (identical(other.callId, callId) || other.callId == callId) && (identical(other.sender, sender) || other.sender == sender)); @@ -2060,8 +2055,8 @@ class _$VeilidAppCallImpl implements VeilidAppCall { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidAppCallImplCopyWith<_$VeilidAppCallImpl> get copyWith => - __$$VeilidAppCallImplCopyWithImpl<_$VeilidAppCallImpl>(this, _$identity); + _$$VeilidAppCallCopyWith<_$VeilidAppCall> get copyWith => + __$$VeilidAppCallCopyWithImpl<_$VeilidAppCall>(this, _$identity); @override @optionalTypeArgs @@ -2203,7 +2198,7 @@ class _$VeilidAppCallImpl implements VeilidAppCall { @override Map toJson() { - return _$$VeilidAppCallImplToJson( + return _$$VeilidAppCallToJson( this, ); } @@ -2213,26 +2208,25 @@ abstract class VeilidAppCall implements VeilidUpdate { const factory VeilidAppCall( {@Uint8ListJsonConverter() required final Uint8List message, required final String callId, - final Typed? sender}) = _$VeilidAppCallImpl; + final Typed? sender}) = _$VeilidAppCall; factory VeilidAppCall.fromJson(Map json) = - _$VeilidAppCallImpl.fromJson; + _$VeilidAppCall.fromJson; @Uint8ListJsonConverter() Uint8List get message; String get callId; Typed? get sender; @JsonKey(ignore: true) - _$$VeilidAppCallImplCopyWith<_$VeilidAppCallImpl> get copyWith => + _$$VeilidAppCallCopyWith<_$VeilidAppCall> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidUpdateAttachmentImplCopyWith<$Res> { - factory _$$VeilidUpdateAttachmentImplCopyWith( - _$VeilidUpdateAttachmentImpl value, - $Res Function(_$VeilidUpdateAttachmentImpl) then) = - __$$VeilidUpdateAttachmentImplCopyWithImpl<$Res>; +abstract class _$$VeilidUpdateAttachmentCopyWith<$Res> { + factory _$$VeilidUpdateAttachmentCopyWith(_$VeilidUpdateAttachment value, + $Res Function(_$VeilidUpdateAttachment) then) = + __$$VeilidUpdateAttachmentCopyWithImpl<$Res>; @useResult $Res call( {AttachmentState state, @@ -2241,12 +2235,11 @@ abstract class _$$VeilidUpdateAttachmentImplCopyWith<$Res> { } /// @nodoc -class __$$VeilidUpdateAttachmentImplCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateAttachmentImpl> - implements _$$VeilidUpdateAttachmentImplCopyWith<$Res> { - __$$VeilidUpdateAttachmentImplCopyWithImpl( - _$VeilidUpdateAttachmentImpl _value, - $Res Function(_$VeilidUpdateAttachmentImpl) _then) +class __$$VeilidUpdateAttachmentCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateAttachment> + implements _$$VeilidUpdateAttachmentCopyWith<$Res> { + __$$VeilidUpdateAttachmentCopyWithImpl(_$VeilidUpdateAttachment _value, + $Res Function(_$VeilidUpdateAttachment) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2256,7 +2249,7 @@ class __$$VeilidUpdateAttachmentImplCopyWithImpl<$Res> Object? publicInternetReady = null, Object? localNetworkReady = null, }) { - return _then(_$VeilidUpdateAttachmentImpl( + return _then(_$VeilidUpdateAttachment( state: null == state ? _value.state : state // ignore: cast_nullable_to_non_nullable @@ -2275,16 +2268,16 @@ class __$$VeilidUpdateAttachmentImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidUpdateAttachmentImpl implements VeilidUpdateAttachment { - const _$VeilidUpdateAttachmentImpl( +class _$VeilidUpdateAttachment implements VeilidUpdateAttachment { + const _$VeilidUpdateAttachment( {required this.state, required this.publicInternetReady, required this.localNetworkReady, final String? $type}) : $type = $type ?? 'Attachment'; - factory _$VeilidUpdateAttachmentImpl.fromJson(Map json) => - _$$VeilidUpdateAttachmentImplFromJson(json); + factory _$VeilidUpdateAttachment.fromJson(Map json) => + _$$VeilidUpdateAttachmentFromJson(json); @override final AttachmentState state; @@ -2302,10 +2295,10 @@ class _$VeilidUpdateAttachmentImpl implements VeilidUpdateAttachment { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidUpdateAttachmentImpl && + other is _$VeilidUpdateAttachment && (identical(other.state, state) || other.state == state) && (identical(other.publicInternetReady, publicInternetReady) || other.publicInternetReady == publicInternetReady) && @@ -2321,9 +2314,9 @@ class _$VeilidUpdateAttachmentImpl implements VeilidUpdateAttachment { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidUpdateAttachmentImplCopyWith<_$VeilidUpdateAttachmentImpl> - get copyWith => __$$VeilidUpdateAttachmentImplCopyWithImpl< - _$VeilidUpdateAttachmentImpl>(this, _$identity); + _$$VeilidUpdateAttachmentCopyWith<_$VeilidUpdateAttachment> get copyWith => + __$$VeilidUpdateAttachmentCopyWithImpl<_$VeilidUpdateAttachment>( + this, _$identity); @override @optionalTypeArgs @@ -2465,7 +2458,7 @@ class _$VeilidUpdateAttachmentImpl implements VeilidUpdateAttachment { @override Map toJson() { - return _$$VeilidUpdateAttachmentImplToJson( + return _$$VeilidUpdateAttachmentToJson( this, ); } @@ -2475,35 +2468,35 @@ abstract class VeilidUpdateAttachment implements VeilidUpdate { const factory VeilidUpdateAttachment( {required final AttachmentState state, required final bool publicInternetReady, - required final bool localNetworkReady}) = _$VeilidUpdateAttachmentImpl; + required final bool localNetworkReady}) = _$VeilidUpdateAttachment; factory VeilidUpdateAttachment.fromJson(Map json) = - _$VeilidUpdateAttachmentImpl.fromJson; + _$VeilidUpdateAttachment.fromJson; AttachmentState get state; bool get publicInternetReady; bool get localNetworkReady; @JsonKey(ignore: true) - _$$VeilidUpdateAttachmentImplCopyWith<_$VeilidUpdateAttachmentImpl> - get copyWith => throw _privateConstructorUsedError; + _$$VeilidUpdateAttachmentCopyWith<_$VeilidUpdateAttachment> get copyWith => + throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidUpdateNetworkImplCopyWith<$Res> { - factory _$$VeilidUpdateNetworkImplCopyWith(_$VeilidUpdateNetworkImpl value, - $Res Function(_$VeilidUpdateNetworkImpl) then) = - __$$VeilidUpdateNetworkImplCopyWithImpl<$Res>; +abstract class _$$VeilidUpdateNetworkCopyWith<$Res> { + factory _$$VeilidUpdateNetworkCopyWith(_$VeilidUpdateNetwork value, + $Res Function(_$VeilidUpdateNetwork) then) = + __$$VeilidUpdateNetworkCopyWithImpl<$Res>; @useResult $Res call( {bool started, BigInt bpsDown, BigInt bpsUp, List peers}); } /// @nodoc -class __$$VeilidUpdateNetworkImplCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateNetworkImpl> - implements _$$VeilidUpdateNetworkImplCopyWith<$Res> { - __$$VeilidUpdateNetworkImplCopyWithImpl(_$VeilidUpdateNetworkImpl _value, - $Res Function(_$VeilidUpdateNetworkImpl) _then) +class __$$VeilidUpdateNetworkCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateNetwork> + implements _$$VeilidUpdateNetworkCopyWith<$Res> { + __$$VeilidUpdateNetworkCopyWithImpl( + _$VeilidUpdateNetwork _value, $Res Function(_$VeilidUpdateNetwork) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2514,7 +2507,7 @@ class __$$VeilidUpdateNetworkImplCopyWithImpl<$Res> Object? bpsUp = null, Object? peers = null, }) { - return _then(_$VeilidUpdateNetworkImpl( + return _then(_$VeilidUpdateNetwork( started: null == started ? _value.started : started // ignore: cast_nullable_to_non_nullable @@ -2537,8 +2530,8 @@ class __$$VeilidUpdateNetworkImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidUpdateNetworkImpl implements VeilidUpdateNetwork { - const _$VeilidUpdateNetworkImpl( +class _$VeilidUpdateNetwork implements VeilidUpdateNetwork { + const _$VeilidUpdateNetwork( {required this.started, required this.bpsDown, required this.bpsUp, @@ -2547,8 +2540,8 @@ class _$VeilidUpdateNetworkImpl implements VeilidUpdateNetwork { : _peers = peers, $type = $type ?? 'Network'; - factory _$VeilidUpdateNetworkImpl.fromJson(Map json) => - _$$VeilidUpdateNetworkImplFromJson(json); + factory _$VeilidUpdateNetwork.fromJson(Map json) => + _$$VeilidUpdateNetworkFromJson(json); @override final bool started; @@ -2573,10 +2566,10 @@ class _$VeilidUpdateNetworkImpl implements VeilidUpdateNetwork { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidUpdateNetworkImpl && + other is _$VeilidUpdateNetwork && (identical(other.started, started) || other.started == started) && (identical(other.bpsDown, bpsDown) || other.bpsDown == bpsDown) && (identical(other.bpsUp, bpsUp) || other.bpsUp == bpsUp) && @@ -2591,8 +2584,8 @@ class _$VeilidUpdateNetworkImpl implements VeilidUpdateNetwork { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidUpdateNetworkImplCopyWith<_$VeilidUpdateNetworkImpl> get copyWith => - __$$VeilidUpdateNetworkImplCopyWithImpl<_$VeilidUpdateNetworkImpl>( + _$$VeilidUpdateNetworkCopyWith<_$VeilidUpdateNetwork> get copyWith => + __$$VeilidUpdateNetworkCopyWithImpl<_$VeilidUpdateNetwork>( this, _$identity); @override @@ -2735,7 +2728,7 @@ class _$VeilidUpdateNetworkImpl implements VeilidUpdateNetwork { @override Map toJson() { - return _$$VeilidUpdateNetworkImplToJson( + return _$$VeilidUpdateNetworkToJson( this, ); } @@ -2746,25 +2739,25 @@ abstract class VeilidUpdateNetwork implements VeilidUpdate { {required final bool started, required final BigInt bpsDown, required final BigInt bpsUp, - required final List peers}) = _$VeilidUpdateNetworkImpl; + required final List peers}) = _$VeilidUpdateNetwork; factory VeilidUpdateNetwork.fromJson(Map json) = - _$VeilidUpdateNetworkImpl.fromJson; + _$VeilidUpdateNetwork.fromJson; bool get started; BigInt get bpsDown; BigInt get bpsUp; List get peers; @JsonKey(ignore: true) - _$$VeilidUpdateNetworkImplCopyWith<_$VeilidUpdateNetworkImpl> get copyWith => + _$$VeilidUpdateNetworkCopyWith<_$VeilidUpdateNetwork> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidUpdateConfigImplCopyWith<$Res> { - factory _$$VeilidUpdateConfigImplCopyWith(_$VeilidUpdateConfigImpl value, - $Res Function(_$VeilidUpdateConfigImpl) then) = - __$$VeilidUpdateConfigImplCopyWithImpl<$Res>; +abstract class _$$VeilidUpdateConfigCopyWith<$Res> { + factory _$$VeilidUpdateConfigCopyWith(_$VeilidUpdateConfig value, + $Res Function(_$VeilidUpdateConfig) then) = + __$$VeilidUpdateConfigCopyWithImpl<$Res>; @useResult $Res call({VeilidConfig config}); @@ -2772,11 +2765,11 @@ abstract class _$$VeilidUpdateConfigImplCopyWith<$Res> { } /// @nodoc -class __$$VeilidUpdateConfigImplCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateConfigImpl> - implements _$$VeilidUpdateConfigImplCopyWith<$Res> { - __$$VeilidUpdateConfigImplCopyWithImpl(_$VeilidUpdateConfigImpl _value, - $Res Function(_$VeilidUpdateConfigImpl) _then) +class __$$VeilidUpdateConfigCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateConfig> + implements _$$VeilidUpdateConfigCopyWith<$Res> { + __$$VeilidUpdateConfigCopyWithImpl( + _$VeilidUpdateConfig _value, $Res Function(_$VeilidUpdateConfig) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2784,7 +2777,7 @@ class __$$VeilidUpdateConfigImplCopyWithImpl<$Res> $Res call({ Object? config = null, }) { - return _then(_$VeilidUpdateConfigImpl( + return _then(_$VeilidUpdateConfig( config: null == config ? _value.config : config // ignore: cast_nullable_to_non_nullable @@ -2803,12 +2796,12 @@ class __$$VeilidUpdateConfigImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidUpdateConfigImpl implements VeilidUpdateConfig { - const _$VeilidUpdateConfigImpl({required this.config, final String? $type}) +class _$VeilidUpdateConfig implements VeilidUpdateConfig { + const _$VeilidUpdateConfig({required this.config, final String? $type}) : $type = $type ?? 'Config'; - factory _$VeilidUpdateConfigImpl.fromJson(Map json) => - _$$VeilidUpdateConfigImplFromJson(json); + factory _$VeilidUpdateConfig.fromJson(Map json) => + _$$VeilidUpdateConfigFromJson(json); @override final VeilidConfig config; @@ -2822,10 +2815,10 @@ class _$VeilidUpdateConfigImpl implements VeilidUpdateConfig { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidUpdateConfigImpl && + other is _$VeilidUpdateConfig && (identical(other.config, config) || other.config == config)); } @@ -2836,8 +2829,8 @@ class _$VeilidUpdateConfigImpl implements VeilidUpdateConfig { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidUpdateConfigImplCopyWith<_$VeilidUpdateConfigImpl> get copyWith => - __$$VeilidUpdateConfigImplCopyWithImpl<_$VeilidUpdateConfigImpl>( + _$$VeilidUpdateConfigCopyWith<_$VeilidUpdateConfig> get copyWith => + __$$VeilidUpdateConfigCopyWithImpl<_$VeilidUpdateConfig>( this, _$identity); @override @@ -2980,7 +2973,7 @@ class _$VeilidUpdateConfigImpl implements VeilidUpdateConfig { @override Map toJson() { - return _$$VeilidUpdateConfigImplToJson( + return _$$VeilidUpdateConfigToJson( this, ); } @@ -2988,34 +2981,32 @@ class _$VeilidUpdateConfigImpl implements VeilidUpdateConfig { abstract class VeilidUpdateConfig implements VeilidUpdate { const factory VeilidUpdateConfig({required final VeilidConfig config}) = - _$VeilidUpdateConfigImpl; + _$VeilidUpdateConfig; factory VeilidUpdateConfig.fromJson(Map json) = - _$VeilidUpdateConfigImpl.fromJson; + _$VeilidUpdateConfig.fromJson; VeilidConfig get config; @JsonKey(ignore: true) - _$$VeilidUpdateConfigImplCopyWith<_$VeilidUpdateConfigImpl> get copyWith => + _$$VeilidUpdateConfigCopyWith<_$VeilidUpdateConfig> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidUpdateRouteChangeImplCopyWith<$Res> { - factory _$$VeilidUpdateRouteChangeImplCopyWith( - _$VeilidUpdateRouteChangeImpl value, - $Res Function(_$VeilidUpdateRouteChangeImpl) then) = - __$$VeilidUpdateRouteChangeImplCopyWithImpl<$Res>; +abstract class _$$VeilidUpdateRouteChangeCopyWith<$Res> { + factory _$$VeilidUpdateRouteChangeCopyWith(_$VeilidUpdateRouteChange value, + $Res Function(_$VeilidUpdateRouteChange) then) = + __$$VeilidUpdateRouteChangeCopyWithImpl<$Res>; @useResult $Res call({List deadRoutes, List deadRemoteRoutes}); } /// @nodoc -class __$$VeilidUpdateRouteChangeImplCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateRouteChangeImpl> - implements _$$VeilidUpdateRouteChangeImplCopyWith<$Res> { - __$$VeilidUpdateRouteChangeImplCopyWithImpl( - _$VeilidUpdateRouteChangeImpl _value, - $Res Function(_$VeilidUpdateRouteChangeImpl) _then) +class __$$VeilidUpdateRouteChangeCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateRouteChange> + implements _$$VeilidUpdateRouteChangeCopyWith<$Res> { + __$$VeilidUpdateRouteChangeCopyWithImpl(_$VeilidUpdateRouteChange _value, + $Res Function(_$VeilidUpdateRouteChange) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3024,7 +3015,7 @@ class __$$VeilidUpdateRouteChangeImplCopyWithImpl<$Res> Object? deadRoutes = null, Object? deadRemoteRoutes = null, }) { - return _then(_$VeilidUpdateRouteChangeImpl( + return _then(_$VeilidUpdateRouteChange( deadRoutes: null == deadRoutes ? _value._deadRoutes : deadRoutes // ignore: cast_nullable_to_non_nullable @@ -3039,8 +3030,8 @@ class __$$VeilidUpdateRouteChangeImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidUpdateRouteChangeImpl implements VeilidUpdateRouteChange { - const _$VeilidUpdateRouteChangeImpl( +class _$VeilidUpdateRouteChange implements VeilidUpdateRouteChange { + const _$VeilidUpdateRouteChange( {required final List deadRoutes, required final List deadRemoteRoutes, final String? $type}) @@ -3048,8 +3039,8 @@ class _$VeilidUpdateRouteChangeImpl implements VeilidUpdateRouteChange { _deadRemoteRoutes = deadRemoteRoutes, $type = $type ?? 'RouteChange'; - factory _$VeilidUpdateRouteChangeImpl.fromJson(Map json) => - _$$VeilidUpdateRouteChangeImplFromJson(json); + factory _$VeilidUpdateRouteChange.fromJson(Map json) => + _$$VeilidUpdateRouteChangeFromJson(json); final List _deadRoutes; @override @@ -3077,10 +3068,10 @@ class _$VeilidUpdateRouteChangeImpl implements VeilidUpdateRouteChange { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidUpdateRouteChangeImpl && + other is _$VeilidUpdateRouteChange && const DeepCollectionEquality() .equals(other._deadRoutes, _deadRoutes) && const DeepCollectionEquality() @@ -3097,9 +3088,9 @@ class _$VeilidUpdateRouteChangeImpl implements VeilidUpdateRouteChange { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidUpdateRouteChangeImplCopyWith<_$VeilidUpdateRouteChangeImpl> - get copyWith => __$$VeilidUpdateRouteChangeImplCopyWithImpl< - _$VeilidUpdateRouteChangeImpl>(this, _$identity); + _$$VeilidUpdateRouteChangeCopyWith<_$VeilidUpdateRouteChange> get copyWith => + __$$VeilidUpdateRouteChangeCopyWithImpl<_$VeilidUpdateRouteChange>( + this, _$identity); @override @optionalTypeArgs @@ -3241,7 +3232,7 @@ class _$VeilidUpdateRouteChangeImpl implements VeilidUpdateRouteChange { @override Map toJson() { - return _$$VeilidUpdateRouteChangeImplToJson( + return _$$VeilidUpdateRouteChangeToJson( this, ); } @@ -3251,24 +3242,23 @@ abstract class VeilidUpdateRouteChange implements VeilidUpdate { const factory VeilidUpdateRouteChange( {required final List deadRoutes, required final List deadRemoteRoutes}) = - _$VeilidUpdateRouteChangeImpl; + _$VeilidUpdateRouteChange; factory VeilidUpdateRouteChange.fromJson(Map json) = - _$VeilidUpdateRouteChangeImpl.fromJson; + _$VeilidUpdateRouteChange.fromJson; List get deadRoutes; List get deadRemoteRoutes; @JsonKey(ignore: true) - _$$VeilidUpdateRouteChangeImplCopyWith<_$VeilidUpdateRouteChangeImpl> - get copyWith => throw _privateConstructorUsedError; + _$$VeilidUpdateRouteChangeCopyWith<_$VeilidUpdateRouteChange> get copyWith => + throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$VeilidUpdateValueChangeImplCopyWith<$Res> { - factory _$$VeilidUpdateValueChangeImplCopyWith( - _$VeilidUpdateValueChangeImpl value, - $Res Function(_$VeilidUpdateValueChangeImpl) then) = - __$$VeilidUpdateValueChangeImplCopyWithImpl<$Res>; +abstract class _$$VeilidUpdateValueChangeCopyWith<$Res> { + factory _$$VeilidUpdateValueChangeCopyWith(_$VeilidUpdateValueChange value, + $Res Function(_$VeilidUpdateValueChange) then) = + __$$VeilidUpdateValueChangeCopyWithImpl<$Res>; @useResult $Res call( {Typed key, @@ -3280,12 +3270,11 @@ abstract class _$$VeilidUpdateValueChangeImplCopyWith<$Res> { } /// @nodoc -class __$$VeilidUpdateValueChangeImplCopyWithImpl<$Res> - extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateValueChangeImpl> - implements _$$VeilidUpdateValueChangeImplCopyWith<$Res> { - __$$VeilidUpdateValueChangeImplCopyWithImpl( - _$VeilidUpdateValueChangeImpl _value, - $Res Function(_$VeilidUpdateValueChangeImpl) _then) +class __$$VeilidUpdateValueChangeCopyWithImpl<$Res> + extends _$VeilidUpdateCopyWithImpl<$Res, _$VeilidUpdateValueChange> + implements _$$VeilidUpdateValueChangeCopyWith<$Res> { + __$$VeilidUpdateValueChangeCopyWithImpl(_$VeilidUpdateValueChange _value, + $Res Function(_$VeilidUpdateValueChange) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3296,7 +3285,7 @@ class __$$VeilidUpdateValueChangeImplCopyWithImpl<$Res> Object? count = null, Object? valueData = null, }) { - return _then(_$VeilidUpdateValueChangeImpl( + return _then(_$VeilidUpdateValueChange( key: null == key ? _value.key : key // ignore: cast_nullable_to_non_nullable @@ -3327,8 +3316,8 @@ class __$$VeilidUpdateValueChangeImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidUpdateValueChangeImpl implements VeilidUpdateValueChange { - const _$VeilidUpdateValueChangeImpl( +class _$VeilidUpdateValueChange implements VeilidUpdateValueChange { + const _$VeilidUpdateValueChange( {required this.key, required final List subkeys, required this.count, @@ -3337,8 +3326,8 @@ class _$VeilidUpdateValueChangeImpl implements VeilidUpdateValueChange { : _subkeys = subkeys, $type = $type ?? 'ValueChange'; - factory _$VeilidUpdateValueChangeImpl.fromJson(Map json) => - _$$VeilidUpdateValueChangeImplFromJson(json); + factory _$VeilidUpdateValueChange.fromJson(Map json) => + _$$VeilidUpdateValueChangeFromJson(json); @override final Typed key; @@ -3364,10 +3353,10 @@ class _$VeilidUpdateValueChangeImpl implements VeilidUpdateValueChange { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidUpdateValueChangeImpl && + other is _$VeilidUpdateValueChange && (identical(other.key, key) || other.key == key) && const DeepCollectionEquality().equals(other._subkeys, _subkeys) && (identical(other.count, count) || other.count == count) && @@ -3383,9 +3372,9 @@ class _$VeilidUpdateValueChangeImpl implements VeilidUpdateValueChange { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidUpdateValueChangeImplCopyWith<_$VeilidUpdateValueChangeImpl> - get copyWith => __$$VeilidUpdateValueChangeImplCopyWithImpl< - _$VeilidUpdateValueChangeImpl>(this, _$identity); + _$$VeilidUpdateValueChangeCopyWith<_$VeilidUpdateValueChange> get copyWith => + __$$VeilidUpdateValueChangeCopyWithImpl<_$VeilidUpdateValueChange>( + this, _$identity); @override @optionalTypeArgs @@ -3527,7 +3516,7 @@ class _$VeilidUpdateValueChangeImpl implements VeilidUpdateValueChange { @override Map toJson() { - return _$$VeilidUpdateValueChangeImplToJson( + return _$$VeilidUpdateValueChangeToJson( this, ); } @@ -3538,18 +3527,18 @@ abstract class VeilidUpdateValueChange implements VeilidUpdate { {required final Typed key, required final List subkeys, required final int count, - required final ValueData valueData}) = _$VeilidUpdateValueChangeImpl; + required final ValueData valueData}) = _$VeilidUpdateValueChange; factory VeilidUpdateValueChange.fromJson(Map json) = - _$VeilidUpdateValueChangeImpl.fromJson; + _$VeilidUpdateValueChange.fromJson; Typed get key; List get subkeys; int get count; ValueData get valueData; @JsonKey(ignore: true) - _$$VeilidUpdateValueChangeImplCopyWith<_$VeilidUpdateValueChangeImpl> - get copyWith => throw _privateConstructorUsedError; + _$$VeilidUpdateValueChangeCopyWith<_$VeilidUpdateValueChange> get copyWith => + throw _privateConstructorUsedError; } VeilidStateAttachment _$VeilidStateAttachmentFromJson( @@ -3617,12 +3606,11 @@ class _$VeilidStateAttachmentCopyWithImpl<$Res, } /// @nodoc -abstract class _$$VeilidStateAttachmentImplCopyWith<$Res> +abstract class _$$_VeilidStateAttachmentCopyWith<$Res> implements $VeilidStateAttachmentCopyWith<$Res> { - factory _$$VeilidStateAttachmentImplCopyWith( - _$VeilidStateAttachmentImpl value, - $Res Function(_$VeilidStateAttachmentImpl) then) = - __$$VeilidStateAttachmentImplCopyWithImpl<$Res>; + factory _$$_VeilidStateAttachmentCopyWith(_$_VeilidStateAttachment value, + $Res Function(_$_VeilidStateAttachment) then) = + __$$_VeilidStateAttachmentCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3632,12 +3620,11 @@ abstract class _$$VeilidStateAttachmentImplCopyWith<$Res> } /// @nodoc -class __$$VeilidStateAttachmentImplCopyWithImpl<$Res> - extends _$VeilidStateAttachmentCopyWithImpl<$Res, - _$VeilidStateAttachmentImpl> - implements _$$VeilidStateAttachmentImplCopyWith<$Res> { - __$$VeilidStateAttachmentImplCopyWithImpl(_$VeilidStateAttachmentImpl _value, - $Res Function(_$VeilidStateAttachmentImpl) _then) +class __$$_VeilidStateAttachmentCopyWithImpl<$Res> + extends _$VeilidStateAttachmentCopyWithImpl<$Res, _$_VeilidStateAttachment> + implements _$$_VeilidStateAttachmentCopyWith<$Res> { + __$$_VeilidStateAttachmentCopyWithImpl(_$_VeilidStateAttachment _value, + $Res Function(_$_VeilidStateAttachment) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3647,7 +3634,7 @@ class __$$VeilidStateAttachmentImplCopyWithImpl<$Res> Object? publicInternetReady = null, Object? localNetworkReady = null, }) { - return _then(_$VeilidStateAttachmentImpl( + return _then(_$_VeilidStateAttachment( state: null == state ? _value.state : state // ignore: cast_nullable_to_non_nullable @@ -3666,14 +3653,14 @@ class __$$VeilidStateAttachmentImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidStateAttachmentImpl implements _VeilidStateAttachment { - const _$VeilidStateAttachmentImpl( +class _$_VeilidStateAttachment implements _VeilidStateAttachment { + const _$_VeilidStateAttachment( {required this.state, required this.publicInternetReady, required this.localNetworkReady}); - factory _$VeilidStateAttachmentImpl.fromJson(Map json) => - _$$VeilidStateAttachmentImplFromJson(json); + factory _$_VeilidStateAttachment.fromJson(Map json) => + _$$_VeilidStateAttachmentFromJson(json); @override final AttachmentState state; @@ -3688,10 +3675,10 @@ class _$VeilidStateAttachmentImpl implements _VeilidStateAttachment { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidStateAttachmentImpl && + other is _$_VeilidStateAttachment && (identical(other.state, state) || other.state == state) && (identical(other.publicInternetReady, publicInternetReady) || other.publicInternetReady == publicInternetReady) && @@ -3707,13 +3694,13 @@ class _$VeilidStateAttachmentImpl implements _VeilidStateAttachment { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidStateAttachmentImplCopyWith<_$VeilidStateAttachmentImpl> - get copyWith => __$$VeilidStateAttachmentImplCopyWithImpl< - _$VeilidStateAttachmentImpl>(this, _$identity); + _$$_VeilidStateAttachmentCopyWith<_$_VeilidStateAttachment> get copyWith => + __$$_VeilidStateAttachmentCopyWithImpl<_$_VeilidStateAttachment>( + this, _$identity); @override Map toJson() { - return _$$VeilidStateAttachmentImplToJson( + return _$$_VeilidStateAttachmentToJson( this, ); } @@ -3723,10 +3710,10 @@ abstract class _VeilidStateAttachment implements VeilidStateAttachment { const factory _VeilidStateAttachment( {required final AttachmentState state, required final bool publicInternetReady, - required final bool localNetworkReady}) = _$VeilidStateAttachmentImpl; + required final bool localNetworkReady}) = _$_VeilidStateAttachment; factory _VeilidStateAttachment.fromJson(Map json) = - _$VeilidStateAttachmentImpl.fromJson; + _$_VeilidStateAttachment.fromJson; @override AttachmentState get state; @@ -3736,8 +3723,8 @@ abstract class _VeilidStateAttachment implements VeilidStateAttachment { bool get localNetworkReady; @override @JsonKey(ignore: true) - _$$VeilidStateAttachmentImplCopyWith<_$VeilidStateAttachmentImpl> - get copyWith => throw _privateConstructorUsedError; + _$$_VeilidStateAttachmentCopyWith<_$_VeilidStateAttachment> get copyWith => + throw _privateConstructorUsedError; } VeilidStateNetwork _$VeilidStateNetworkFromJson(Map json) { @@ -3807,11 +3794,11 @@ class _$VeilidStateNetworkCopyWithImpl<$Res, $Val extends VeilidStateNetwork> } /// @nodoc -abstract class _$$VeilidStateNetworkImplCopyWith<$Res> +abstract class _$$_VeilidStateNetworkCopyWith<$Res> implements $VeilidStateNetworkCopyWith<$Res> { - factory _$$VeilidStateNetworkImplCopyWith(_$VeilidStateNetworkImpl value, - $Res Function(_$VeilidStateNetworkImpl) then) = - __$$VeilidStateNetworkImplCopyWithImpl<$Res>; + factory _$$_VeilidStateNetworkCopyWith(_$_VeilidStateNetwork value, + $Res Function(_$_VeilidStateNetwork) then) = + __$$_VeilidStateNetworkCopyWithImpl<$Res>; @override @useResult $Res call( @@ -3819,11 +3806,11 @@ abstract class _$$VeilidStateNetworkImplCopyWith<$Res> } /// @nodoc -class __$$VeilidStateNetworkImplCopyWithImpl<$Res> - extends _$VeilidStateNetworkCopyWithImpl<$Res, _$VeilidStateNetworkImpl> - implements _$$VeilidStateNetworkImplCopyWith<$Res> { - __$$VeilidStateNetworkImplCopyWithImpl(_$VeilidStateNetworkImpl _value, - $Res Function(_$VeilidStateNetworkImpl) _then) +class __$$_VeilidStateNetworkCopyWithImpl<$Res> + extends _$VeilidStateNetworkCopyWithImpl<$Res, _$_VeilidStateNetwork> + implements _$$_VeilidStateNetworkCopyWith<$Res> { + __$$_VeilidStateNetworkCopyWithImpl( + _$_VeilidStateNetwork _value, $Res Function(_$_VeilidStateNetwork) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3834,7 +3821,7 @@ class __$$VeilidStateNetworkImplCopyWithImpl<$Res> Object? bpsUp = null, Object? peers = null, }) { - return _then(_$VeilidStateNetworkImpl( + return _then(_$_VeilidStateNetwork( started: null == started ? _value.started : started // ignore: cast_nullable_to_non_nullable @@ -3857,16 +3844,16 @@ class __$$VeilidStateNetworkImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidStateNetworkImpl implements _VeilidStateNetwork { - const _$VeilidStateNetworkImpl( +class _$_VeilidStateNetwork implements _VeilidStateNetwork { + const _$_VeilidStateNetwork( {required this.started, required this.bpsDown, required this.bpsUp, required final List peers}) : _peers = peers; - factory _$VeilidStateNetworkImpl.fromJson(Map json) => - _$$VeilidStateNetworkImplFromJson(json); + factory _$_VeilidStateNetwork.fromJson(Map json) => + _$$_VeilidStateNetworkFromJson(json); @override final bool started; @@ -3888,10 +3875,10 @@ class _$VeilidStateNetworkImpl implements _VeilidStateNetwork { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidStateNetworkImpl && + other is _$_VeilidStateNetwork && (identical(other.started, started) || other.started == started) && (identical(other.bpsDown, bpsDown) || other.bpsDown == bpsDown) && (identical(other.bpsUp, bpsUp) || other.bpsUp == bpsUp) && @@ -3906,13 +3893,13 @@ class _$VeilidStateNetworkImpl implements _VeilidStateNetwork { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidStateNetworkImplCopyWith<_$VeilidStateNetworkImpl> get copyWith => - __$$VeilidStateNetworkImplCopyWithImpl<_$VeilidStateNetworkImpl>( + _$$_VeilidStateNetworkCopyWith<_$_VeilidStateNetwork> get copyWith => + __$$_VeilidStateNetworkCopyWithImpl<_$_VeilidStateNetwork>( this, _$identity); @override Map toJson() { - return _$$VeilidStateNetworkImplToJson( + return _$$_VeilidStateNetworkToJson( this, ); } @@ -3923,10 +3910,10 @@ abstract class _VeilidStateNetwork implements VeilidStateNetwork { {required final bool started, required final BigInt bpsDown, required final BigInt bpsUp, - required final List peers}) = _$VeilidStateNetworkImpl; + required final List peers}) = _$_VeilidStateNetwork; factory _VeilidStateNetwork.fromJson(Map json) = - _$VeilidStateNetworkImpl.fromJson; + _$_VeilidStateNetwork.fromJson; @override bool get started; @@ -3938,7 +3925,7 @@ abstract class _VeilidStateNetwork implements VeilidStateNetwork { List get peers; @override @JsonKey(ignore: true) - _$$VeilidStateNetworkImplCopyWith<_$VeilidStateNetworkImpl> get copyWith => + _$$_VeilidStateNetworkCopyWith<_$_VeilidStateNetwork> get copyWith => throw _privateConstructorUsedError; } @@ -4000,11 +3987,11 @@ class _$VeilidStateConfigCopyWithImpl<$Res, $Val extends VeilidStateConfig> } /// @nodoc -abstract class _$$VeilidStateConfigImplCopyWith<$Res> +abstract class _$$_VeilidStateConfigCopyWith<$Res> implements $VeilidStateConfigCopyWith<$Res> { - factory _$$VeilidStateConfigImplCopyWith(_$VeilidStateConfigImpl value, - $Res Function(_$VeilidStateConfigImpl) then) = - __$$VeilidStateConfigImplCopyWithImpl<$Res>; + factory _$$_VeilidStateConfigCopyWith(_$_VeilidStateConfig value, + $Res Function(_$_VeilidStateConfig) then) = + __$$_VeilidStateConfigCopyWithImpl<$Res>; @override @useResult $Res call({VeilidConfig config}); @@ -4014,11 +4001,11 @@ abstract class _$$VeilidStateConfigImplCopyWith<$Res> } /// @nodoc -class __$$VeilidStateConfigImplCopyWithImpl<$Res> - extends _$VeilidStateConfigCopyWithImpl<$Res, _$VeilidStateConfigImpl> - implements _$$VeilidStateConfigImplCopyWith<$Res> { - __$$VeilidStateConfigImplCopyWithImpl(_$VeilidStateConfigImpl _value, - $Res Function(_$VeilidStateConfigImpl) _then) +class __$$_VeilidStateConfigCopyWithImpl<$Res> + extends _$VeilidStateConfigCopyWithImpl<$Res, _$_VeilidStateConfig> + implements _$$_VeilidStateConfigCopyWith<$Res> { + __$$_VeilidStateConfigCopyWithImpl( + _$_VeilidStateConfig _value, $Res Function(_$_VeilidStateConfig) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -4026,7 +4013,7 @@ class __$$VeilidStateConfigImplCopyWithImpl<$Res> $Res call({ Object? config = null, }) { - return _then(_$VeilidStateConfigImpl( + return _then(_$_VeilidStateConfig( config: null == config ? _value.config : config // ignore: cast_nullable_to_non_nullable @@ -4037,11 +4024,11 @@ class __$$VeilidStateConfigImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidStateConfigImpl implements _VeilidStateConfig { - const _$VeilidStateConfigImpl({required this.config}); +class _$_VeilidStateConfig implements _VeilidStateConfig { + const _$_VeilidStateConfig({required this.config}); - factory _$VeilidStateConfigImpl.fromJson(Map json) => - _$$VeilidStateConfigImplFromJson(json); + factory _$_VeilidStateConfig.fromJson(Map json) => + _$$_VeilidStateConfigFromJson(json); @override final VeilidConfig config; @@ -4052,10 +4039,10 @@ class _$VeilidStateConfigImpl implements _VeilidStateConfig { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidStateConfigImpl && + other is _$_VeilidStateConfig && (identical(other.config, config) || other.config == config)); } @@ -4066,13 +4053,13 @@ class _$VeilidStateConfigImpl implements _VeilidStateConfig { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidStateConfigImplCopyWith<_$VeilidStateConfigImpl> get copyWith => - __$$VeilidStateConfigImplCopyWithImpl<_$VeilidStateConfigImpl>( + _$$_VeilidStateConfigCopyWith<_$_VeilidStateConfig> get copyWith => + __$$_VeilidStateConfigCopyWithImpl<_$_VeilidStateConfig>( this, _$identity); @override Map toJson() { - return _$$VeilidStateConfigImplToJson( + return _$$_VeilidStateConfigToJson( this, ); } @@ -4080,16 +4067,16 @@ class _$VeilidStateConfigImpl implements _VeilidStateConfig { abstract class _VeilidStateConfig implements VeilidStateConfig { const factory _VeilidStateConfig({required final VeilidConfig config}) = - _$VeilidStateConfigImpl; + _$_VeilidStateConfig; factory _VeilidStateConfig.fromJson(Map json) = - _$VeilidStateConfigImpl.fromJson; + _$_VeilidStateConfig.fromJson; @override VeilidConfig get config; @override @JsonKey(ignore: true) - _$$VeilidStateConfigImplCopyWith<_$VeilidStateConfigImpl> get copyWith => + _$$_VeilidStateConfigCopyWith<_$_VeilidStateConfig> get copyWith => throw _privateConstructorUsedError; } @@ -4184,11 +4171,11 @@ class _$VeilidStateCopyWithImpl<$Res, $Val extends VeilidState> } /// @nodoc -abstract class _$$VeilidStateImplCopyWith<$Res> +abstract class _$$_VeilidStateCopyWith<$Res> implements $VeilidStateCopyWith<$Res> { - factory _$$VeilidStateImplCopyWith( - _$VeilidStateImpl value, $Res Function(_$VeilidStateImpl) then) = - __$$VeilidStateImplCopyWithImpl<$Res>; + factory _$$_VeilidStateCopyWith( + _$_VeilidState value, $Res Function(_$_VeilidState) then) = + __$$_VeilidStateCopyWithImpl<$Res>; @override @useResult $Res call( @@ -4205,11 +4192,11 @@ abstract class _$$VeilidStateImplCopyWith<$Res> } /// @nodoc -class __$$VeilidStateImplCopyWithImpl<$Res> - extends _$VeilidStateCopyWithImpl<$Res, _$VeilidStateImpl> - implements _$$VeilidStateImplCopyWith<$Res> { - __$$VeilidStateImplCopyWithImpl( - _$VeilidStateImpl _value, $Res Function(_$VeilidStateImpl) _then) +class __$$_VeilidStateCopyWithImpl<$Res> + extends _$VeilidStateCopyWithImpl<$Res, _$_VeilidState> + implements _$$_VeilidStateCopyWith<$Res> { + __$$_VeilidStateCopyWithImpl( + _$_VeilidState _value, $Res Function(_$_VeilidState) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -4219,7 +4206,7 @@ class __$$VeilidStateImplCopyWithImpl<$Res> Object? network = null, Object? config = null, }) { - return _then(_$VeilidStateImpl( + return _then(_$_VeilidState( attachment: null == attachment ? _value.attachment : attachment // ignore: cast_nullable_to_non_nullable @@ -4238,12 +4225,12 @@ class __$$VeilidStateImplCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$VeilidStateImpl implements _VeilidState { - const _$VeilidStateImpl( +class _$_VeilidState implements _VeilidState { + const _$_VeilidState( {required this.attachment, required this.network, required this.config}); - factory _$VeilidStateImpl.fromJson(Map json) => - _$$VeilidStateImplFromJson(json); + factory _$_VeilidState.fromJson(Map json) => + _$$_VeilidStateFromJson(json); @override final VeilidStateAttachment attachment; @@ -4258,10 +4245,10 @@ class _$VeilidStateImpl implements _VeilidState { } @override - bool operator ==(Object other) { + bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$VeilidStateImpl && + other is _$_VeilidState && (identical(other.attachment, attachment) || other.attachment == attachment) && (identical(other.network, network) || other.network == network) && @@ -4275,12 +4262,12 @@ class _$VeilidStateImpl implements _VeilidState { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$VeilidStateImplCopyWith<_$VeilidStateImpl> get copyWith => - __$$VeilidStateImplCopyWithImpl<_$VeilidStateImpl>(this, _$identity); + _$$_VeilidStateCopyWith<_$_VeilidState> get copyWith => + __$$_VeilidStateCopyWithImpl<_$_VeilidState>(this, _$identity); @override Map toJson() { - return _$$VeilidStateImplToJson( + return _$$_VeilidStateToJson( this, ); } @@ -4290,10 +4277,10 @@ abstract class _VeilidState implements VeilidState { const factory _VeilidState( {required final VeilidStateAttachment attachment, required final VeilidStateNetwork network, - required final VeilidStateConfig config}) = _$VeilidStateImpl; + required final VeilidStateConfig config}) = _$_VeilidState; factory _VeilidState.fromJson(Map json) = - _$VeilidStateImpl.fromJson; + _$_VeilidState.fromJson; @override VeilidStateAttachment get attachment; @@ -4303,6 +4290,6 @@ abstract class _VeilidState implements VeilidState { VeilidStateConfig get config; @override @JsonKey(ignore: true) - _$$VeilidStateImplCopyWith<_$VeilidStateImpl> get copyWith => + _$$_VeilidStateCopyWith<_$_VeilidState> get copyWith => throw _privateConstructorUsedError; } diff --git a/veilid-flutter/lib/veilid_state.g.dart b/veilid-flutter/lib/veilid_state.g.dart index 6cc9fcfb..8ed1eb66 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 // ************************************************************************** -_$LatencyStatsImpl _$$LatencyStatsImplFromJson(Map json) => - _$LatencyStatsImpl( +_$_LatencyStats _$$_LatencyStatsFromJson(Map json) => + _$_LatencyStats( fastest: TimestampDuration.fromJson(json['fastest']), average: TimestampDuration.fromJson(json['average']), slowest: TimestampDuration.fromJson(json['slowest']), ); -Map _$$LatencyStatsImplToJson(_$LatencyStatsImpl instance) => +Map _$$_LatencyStatsToJson(_$_LatencyStats instance) => { 'fastest': instance.fastest.toJson(), 'average': instance.average.toJson(), 'slowest': instance.slowest.toJson(), }; -_$TransferStatsImpl _$$TransferStatsImplFromJson(Map json) => - _$TransferStatsImpl( +_$_TransferStats _$$_TransferStatsFromJson(Map json) => + _$_TransferStats( 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 _$$TransferStatsImplToJson(_$TransferStatsImpl instance) => +Map _$$_TransferStatsToJson(_$_TransferStats instance) => { 'total': instance.total.toString(), 'maximum': instance.maximum.toString(), @@ -36,22 +36,21 @@ Map _$$TransferStatsImplToJson(_$TransferStatsImpl instance) => 'minimum': instance.minimum.toString(), }; -_$TransferStatsDownUpImpl _$$TransferStatsDownUpImplFromJson( +_$_TransferStatsDownUp _$$_TransferStatsDownUpFromJson( Map json) => - _$TransferStatsDownUpImpl( + _$_TransferStatsDownUp( down: TransferStats.fromJson(json['down']), up: TransferStats.fromJson(json['up']), ); -Map _$$TransferStatsDownUpImplToJson( - _$TransferStatsDownUpImpl instance) => +Map _$$_TransferStatsDownUpToJson( + _$_TransferStatsDownUp instance) => { 'down': instance.down.toJson(), 'up': instance.up.toJson(), }; -_$RPCStatsImpl _$$RPCStatsImplFromJson(Map json) => - _$RPCStatsImpl( +_$_RPCStats _$$_RPCStatsFromJson(Map json) => _$_RPCStats( messagesSent: json['messages_sent'] as int, messagesRcvd: json['messages_rcvd'] as int, questionsInFlight: json['questions_in_flight'] as int, @@ -68,7 +67,7 @@ _$RPCStatsImpl _$$RPCStatsImplFromJson(Map json) => failedToSend: json['failed_to_send'] as int, ); -Map _$$RPCStatsImplToJson(_$RPCStatsImpl instance) => +Map _$$_RPCStatsToJson(_$_RPCStats instance) => { 'messages_sent': instance.messagesSent, 'messages_rcvd': instance.messagesRcvd, @@ -80,8 +79,7 @@ Map _$$RPCStatsImplToJson(_$RPCStatsImpl instance) => 'failed_to_send': instance.failedToSend, }; -_$PeerStatsImpl _$$PeerStatsImplFromJson(Map json) => - _$PeerStatsImpl( +_$_PeerStats _$$_PeerStatsFromJson(Map json) => _$_PeerStats( timeAdded: Timestamp.fromJson(json['time_added']), rpcStats: RPCStats.fromJson(json['rpc_stats']), transfer: TransferStatsDownUp.fromJson(json['transfer']), @@ -90,7 +88,7 @@ _$PeerStatsImpl _$$PeerStatsImplFromJson(Map json) => : LatencyStats.fromJson(json['latency']), ); -Map _$$PeerStatsImplToJson(_$PeerStatsImpl instance) => +Map _$$_PeerStatsToJson(_$_PeerStats instance) => { 'time_added': instance.timeAdded.toJson(), 'rpc_stats': instance.rpcStats.toJson(), @@ -98,8 +96,8 @@ Map _$$PeerStatsImplToJson(_$PeerStatsImpl instance) => 'latency': instance.latency?.toJson(), }; -_$PeerTableDataImpl _$$PeerTableDataImplFromJson(Map json) => - _$PeerTableDataImpl( +_$_PeerTableData _$$_PeerTableDataFromJson(Map json) => + _$_PeerTableData( nodeIds: (json['node_ids'] as List) .map(Typed.fromJson) .toList(), @@ -107,22 +105,21 @@ _$PeerTableDataImpl _$$PeerTableDataImplFromJson(Map json) => peerStats: PeerStats.fromJson(json['peer_stats']), ); -Map _$$PeerTableDataImplToJson(_$PeerTableDataImpl instance) => +Map _$$_PeerTableDataToJson(_$_PeerTableData instance) => { 'node_ids': instance.nodeIds.map((e) => e.toJson()).toList(), 'peer_address': instance.peerAddress, 'peer_stats': instance.peerStats.toJson(), }; -_$VeilidLogImpl _$$VeilidLogImplFromJson(Map json) => - _$VeilidLogImpl( +_$VeilidLog _$$VeilidLogFromJson(Map json) => _$VeilidLog( logLevel: VeilidLogLevel.fromJson(json['log_level']), message: json['message'] as String, backtrace: json['backtrace'] as String?, $type: json['kind'] as String?, ); -Map _$$VeilidLogImplToJson(_$VeilidLogImpl instance) => +Map _$$VeilidLogToJson(_$VeilidLog instance) => { 'log_level': instance.logLevel.toJson(), 'message': instance.message, @@ -130,9 +127,8 @@ Map _$$VeilidLogImplToJson(_$VeilidLogImpl instance) => 'kind': instance.$type, }; -_$VeilidAppMessageImpl _$$VeilidAppMessageImplFromJson( - Map json) => - _$VeilidAppMessageImpl( +_$VeilidAppMessage _$$VeilidAppMessageFromJson(Map json) => + _$VeilidAppMessage( message: const Uint8ListJsonConverter().fromJson(json['message']), sender: json['sender'] == null ? null @@ -140,16 +136,15 @@ _$VeilidAppMessageImpl _$$VeilidAppMessageImplFromJson( $type: json['kind'] as String?, ); -Map _$$VeilidAppMessageImplToJson( - _$VeilidAppMessageImpl instance) => +Map _$$VeilidAppMessageToJson(_$VeilidAppMessage instance) => { 'message': const Uint8ListJsonConverter().toJson(instance.message), 'sender': instance.sender?.toJson(), 'kind': instance.$type, }; -_$VeilidAppCallImpl _$$VeilidAppCallImplFromJson(Map json) => - _$VeilidAppCallImpl( +_$VeilidAppCall _$$VeilidAppCallFromJson(Map json) => + _$VeilidAppCall( message: const Uint8ListJsonConverter().fromJson(json['message']), callId: json['call_id'] as String, sender: json['sender'] == null @@ -158,7 +153,7 @@ _$VeilidAppCallImpl _$$VeilidAppCallImplFromJson(Map json) => $type: json['kind'] as String?, ); -Map _$$VeilidAppCallImplToJson(_$VeilidAppCallImpl instance) => +Map _$$VeilidAppCallToJson(_$VeilidAppCall instance) => { 'message': const Uint8ListJsonConverter().toJson(instance.message), 'call_id': instance.callId, @@ -166,17 +161,17 @@ Map _$$VeilidAppCallImplToJson(_$VeilidAppCallImpl instance) => 'kind': instance.$type, }; -_$VeilidUpdateAttachmentImpl _$$VeilidUpdateAttachmentImplFromJson( +_$VeilidUpdateAttachment _$$VeilidUpdateAttachmentFromJson( Map json) => - _$VeilidUpdateAttachmentImpl( + _$VeilidUpdateAttachment( 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 _$$VeilidUpdateAttachmentImplToJson( - _$VeilidUpdateAttachmentImpl instance) => +Map _$$VeilidUpdateAttachmentToJson( + _$VeilidUpdateAttachment instance) => { 'state': instance.state.toJson(), 'public_internet_ready': instance.publicInternetReady, @@ -184,9 +179,9 @@ Map _$$VeilidUpdateAttachmentImplToJson( 'kind': instance.$type, }; -_$VeilidUpdateNetworkImpl _$$VeilidUpdateNetworkImplFromJson( +_$VeilidUpdateNetwork _$$VeilidUpdateNetworkFromJson( Map json) => - _$VeilidUpdateNetworkImpl( + _$VeilidUpdateNetwork( started: json['started'] as bool, bpsDown: BigInt.parse(json['bps_down'] as String), bpsUp: BigInt.parse(json['bps_up'] as String), @@ -195,8 +190,8 @@ _$VeilidUpdateNetworkImpl _$$VeilidUpdateNetworkImplFromJson( $type: json['kind'] as String?, ); -Map _$$VeilidUpdateNetworkImplToJson( - _$VeilidUpdateNetworkImpl instance) => +Map _$$VeilidUpdateNetworkToJson( + _$VeilidUpdateNetwork instance) => { 'started': instance.started, 'bps_down': instance.bpsDown.toString(), @@ -205,23 +200,22 @@ Map _$$VeilidUpdateNetworkImplToJson( 'kind': instance.$type, }; -_$VeilidUpdateConfigImpl _$$VeilidUpdateConfigImplFromJson( - Map json) => - _$VeilidUpdateConfigImpl( +_$VeilidUpdateConfig _$$VeilidUpdateConfigFromJson(Map json) => + _$VeilidUpdateConfig( config: VeilidConfig.fromJson(json['config']), $type: json['kind'] as String?, ); -Map _$$VeilidUpdateConfigImplToJson( - _$VeilidUpdateConfigImpl instance) => +Map _$$VeilidUpdateConfigToJson( + _$VeilidUpdateConfig instance) => { 'config': instance.config.toJson(), 'kind': instance.$type, }; -_$VeilidUpdateRouteChangeImpl _$$VeilidUpdateRouteChangeImplFromJson( +_$VeilidUpdateRouteChange _$$VeilidUpdateRouteChangeFromJson( Map json) => - _$VeilidUpdateRouteChangeImpl( + _$VeilidUpdateRouteChange( deadRoutes: (json['dead_routes'] as List) .map((e) => e as String) .toList(), @@ -231,17 +225,17 @@ _$VeilidUpdateRouteChangeImpl _$$VeilidUpdateRouteChangeImplFromJson( $type: json['kind'] as String?, ); -Map _$$VeilidUpdateRouteChangeImplToJson( - _$VeilidUpdateRouteChangeImpl instance) => +Map _$$VeilidUpdateRouteChangeToJson( + _$VeilidUpdateRouteChange instance) => { 'dead_routes': instance.deadRoutes, 'dead_remote_routes': instance.deadRemoteRoutes, 'kind': instance.$type, }; -_$VeilidUpdateValueChangeImpl _$$VeilidUpdateValueChangeImplFromJson( +_$VeilidUpdateValueChange _$$VeilidUpdateValueChangeFromJson( Map json) => - _$VeilidUpdateValueChangeImpl( + _$VeilidUpdateValueChange( key: Typed.fromJson(json['key']), subkeys: (json['subkeys'] as List) .map(ValueSubkeyRange.fromJson) @@ -251,8 +245,8 @@ _$VeilidUpdateValueChangeImpl _$$VeilidUpdateValueChangeImplFromJson( $type: json['kind'] as String?, ); -Map _$$VeilidUpdateValueChangeImplToJson( - _$VeilidUpdateValueChangeImpl instance) => +Map _$$VeilidUpdateValueChangeToJson( + _$VeilidUpdateValueChange instance) => { 'key': instance.key.toJson(), 'subkeys': instance.subkeys.map((e) => e.toJson()).toList(), @@ -261,25 +255,25 @@ Map _$$VeilidUpdateValueChangeImplToJson( 'kind': instance.$type, }; -_$VeilidStateAttachmentImpl _$$VeilidStateAttachmentImplFromJson( +_$_VeilidStateAttachment _$$_VeilidStateAttachmentFromJson( Map json) => - _$VeilidStateAttachmentImpl( + _$_VeilidStateAttachment( state: AttachmentState.fromJson(json['state']), publicInternetReady: json['public_internet_ready'] as bool, localNetworkReady: json['local_network_ready'] as bool, ); -Map _$$VeilidStateAttachmentImplToJson( - _$VeilidStateAttachmentImpl instance) => +Map _$$_VeilidStateAttachmentToJson( + _$_VeilidStateAttachment instance) => { 'state': instance.state.toJson(), 'public_internet_ready': instance.publicInternetReady, 'local_network_ready': instance.localNetworkReady, }; -_$VeilidStateNetworkImpl _$$VeilidStateNetworkImplFromJson( +_$_VeilidStateNetwork _$$_VeilidStateNetworkFromJson( Map json) => - _$VeilidStateNetworkImpl( + _$_VeilidStateNetwork( started: json['started'] as bool, bpsDown: BigInt.parse(json['bps_down'] as String), bpsUp: BigInt.parse(json['bps_up'] as String), @@ -287,8 +281,8 @@ _$VeilidStateNetworkImpl _$$VeilidStateNetworkImplFromJson( (json['peers'] as List).map(PeerTableData.fromJson).toList(), ); -Map _$$VeilidStateNetworkImplToJson( - _$VeilidStateNetworkImpl instance) => +Map _$$_VeilidStateNetworkToJson( + _$_VeilidStateNetwork instance) => { 'started': instance.started, 'bps_down': instance.bpsDown.toString(), @@ -296,26 +290,25 @@ Map _$$VeilidStateNetworkImplToJson( 'peers': instance.peers.map((e) => e.toJson()).toList(), }; -_$VeilidStateConfigImpl _$$VeilidStateConfigImplFromJson( - Map json) => - _$VeilidStateConfigImpl( +_$_VeilidStateConfig _$$_VeilidStateConfigFromJson(Map json) => + _$_VeilidStateConfig( config: VeilidConfig.fromJson(json['config']), ); -Map _$$VeilidStateConfigImplToJson( - _$VeilidStateConfigImpl instance) => +Map _$$_VeilidStateConfigToJson( + _$_VeilidStateConfig instance) => { 'config': instance.config.toJson(), }; -_$VeilidStateImpl _$$VeilidStateImplFromJson(Map json) => - _$VeilidStateImpl( +_$_VeilidState _$$_VeilidStateFromJson(Map json) => + _$_VeilidState( attachment: VeilidStateAttachment.fromJson(json['attachment']), network: VeilidStateNetwork.fromJson(json['network']), config: VeilidStateConfig.fromJson(json['config']), ); -Map _$$VeilidStateImplToJson(_$VeilidStateImpl instance) => +Map _$$_VeilidStateToJson(_$_VeilidState instance) => { 'attachment': instance.attachment.toJson(), 'network': instance.network.toJson(),