diff --git a/cli/Cargo.lock b/cli/Cargo.lock index 64b183c..4a60f78 100644 --- a/cli/Cargo.lock +++ b/cli/Cargo.lock @@ -1459,9 +1459,9 @@ dependencies = [ [[package]] name = "flutter_rust_bridge" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc62f583dff79c7ea34b775b2cc4158adc17cb69ad4c1d276be7fe95c63d597" +checksum = "2f8c0dee6249225e815dcff3f3a39b98d9f66fdb3c392a432715b646bfa4da02" dependencies = [ "allo-isolate", "android_logger", @@ -1489,9 +1489,9 @@ dependencies = [ [[package]] name = "flutter_rust_bridge_macros" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac75354933904c334c13a7c9e08c65be528f0820ab587e03f255203a28d5efec" +checksum = "8e88d604908d9eccb4ca9c26640ce41033165cbef041460e704ae28bd5208bce" dependencies = [ "hex", "md-5", diff --git a/lib/Cargo.lock b/lib/Cargo.lock index 8f99834..ca6533c 100644 --- a/lib/Cargo.lock +++ b/lib/Cargo.lock @@ -1631,9 +1631,9 @@ dependencies = [ [[package]] name = "flutter_rust_bridge" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc62f583dff79c7ea34b775b2cc4158adc17cb69ad4c1d276be7fe95c63d597" +checksum = "2f8c0dee6249225e815dcff3f3a39b98d9f66fdb3c392a432715b646bfa4da02" dependencies = [ "allo-isolate", "android_logger", @@ -1661,9 +1661,9 @@ dependencies = [ [[package]] name = "flutter_rust_bridge_macros" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac75354933904c334c13a7c9e08c65be528f0820ab587e03f255203a28d5efec" +checksum = "8e88d604908d9eccb4ca9c26640ce41033165cbef041460e704ae28bd5208bce" dependencies = [ "hex", "md-5", diff --git a/lib/bindings/langs/flutter/justfile b/lib/bindings/langs/flutter/justfile index 6615b19..ea5018e 100644 --- a/lib/bindings/langs/flutter/justfile +++ b/lib/bindings/langs/flutter/justfile @@ -22,7 +22,7 @@ clean: # Install flutter_rust_bridge_codegen dependencies frb: cargo install cargo-expand - cargo install flutter_rust_bridge_codegen --version 2.8.0 + cargo install flutter_rust_bridge_codegen --version 2.9.0 dart pub global activate ffigen dart pub global activate ffi cargo install cargo-xcode diff --git a/lib/core/Cargo.toml b/lib/core/Cargo.toml index 45d3292..f03ec1d 100644 --- a/lib/core/Cargo.toml +++ b/lib/core/Cargo.toml @@ -24,7 +24,7 @@ boltz-client = { git = "https://github.com/SatoshiPortal/boltz-rust", rev = "f78 chrono = "0.4" derivative = "2.2.0" env_logger = "0.11" -flutter_rust_bridge = { version = "=2.8.0", features = [ +flutter_rust_bridge = { version = "=2.9.0", features = [ "chrono", ], optional = true } log = { workspace = true } diff --git a/lib/core/src/frb_generated.rs b/lib/core/src/frb_generated.rs index cb7ebfe..725d535 100644 --- a/lib/core/src/frb_generated.rs +++ b/lib/core/src/frb_generated.rs @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.8.0. +// @generated by `flutter_rust_bridge`@ 2.9.0. #![allow( non_camel_case_types, @@ -38,7 +38,7 @@ flutter_rust_bridge::frb_generated_boilerplate!( default_rust_opaque = RustOpaqueNom, default_rust_auto_opaque = RustAutoOpaqueNom, ); -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.8.0"; +pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.9.0"; pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 1264782025; // Section: executor @@ -9252,7 +9252,7 @@ impl SseEncode for crate::model::WalletInfo { #[cfg(not(target_family = "wasm"))] mod io { // This file is automatically generated, so please do not edit it. - // @generated by `flutter_rust_bridge`@ 2.8.0. + // @generated by `flutter_rust_bridge`@ 2.9.0. // Section: imports diff --git a/packages/dart/lib/src/bindings.dart b/packages/dart/lib/src/bindings.dart index 0702f0a..52a36e1 100644 --- a/packages/dart/lib/src/bindings.dart +++ b/packages/dart/lib/src/bindings.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.8.0. +// @generated by `flutter_rust_bridge`@ 2.9.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/packages/dart/lib/src/bindings.freezed.dart b/packages/dart/lib/src/bindings.freezed.dart index 328918c..631c8d2 100644 --- a/packages/dart/lib/src/bindings.freezed.dart +++ b/packages/dart/lib/src/bindings.freezed.dart @@ -1,3 +1,4 @@ +// dart format width=80 // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint @@ -9,1813 +10,1491 @@ part of 'bindings.dart'; // FreezedGenerator // ************************************************************************** +// dart format off T _$identity(T value) => value; - -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - /// @nodoc -mixin _$AesSuccessActionDataResult {} +mixin _$AesSuccessActionDataResult { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is AesSuccessActionDataResult); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'AesSuccessActionDataResult()'; +} + -/// @nodoc -abstract class $AesSuccessActionDataResultCopyWith<$Res> { - factory $AesSuccessActionDataResultCopyWith( - AesSuccessActionDataResult value, - $Res Function(AesSuccessActionDataResult) then, - ) = _$AesSuccessActionDataResultCopyWithImpl<$Res, AesSuccessActionDataResult>; } /// @nodoc -class _$AesSuccessActionDataResultCopyWithImpl<$Res, $Val extends AesSuccessActionDataResult> - implements $AesSuccessActionDataResultCopyWith<$Res> { - _$AesSuccessActionDataResultCopyWithImpl(this._value, this._then); +class $AesSuccessActionDataResultCopyWith<$Res> { +$AesSuccessActionDataResultCopyWith(AesSuccessActionDataResult _, $Res Function(AesSuccessActionDataResult) __); +} + + +/// @nodoc + + +class AesSuccessActionDataResult_Decrypted extends AesSuccessActionDataResult { + const AesSuccessActionDataResult_Decrypted({required this.data}): super._(); + + + final AesSuccessActionDataDecrypted data; + +/// Create a copy of AesSuccessActionDataResult +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$AesSuccessActionDataResult_DecryptedCopyWith get copyWith => _$AesSuccessActionDataResult_DecryptedCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is AesSuccessActionDataResult_Decrypted&&(identical(other.data, data) || other.data == data)); +} + + +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'AesSuccessActionDataResult.decrypted(data: $data)'; +} - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of AesSuccessActionDataResult - /// with the given fields replaced by the non-null parameter values. } /// @nodoc -abstract class _$$AesSuccessActionDataResult_DecryptedImplCopyWith<$Res> { - factory _$$AesSuccessActionDataResult_DecryptedImplCopyWith( - _$AesSuccessActionDataResult_DecryptedImpl value, - $Res Function(_$AesSuccessActionDataResult_DecryptedImpl) then, - ) = __$$AesSuccessActionDataResult_DecryptedImplCopyWithImpl<$Res>; - @useResult - $Res call({AesSuccessActionDataDecrypted data}); +abstract mixin class $AesSuccessActionDataResult_DecryptedCopyWith<$Res> implements $AesSuccessActionDataResultCopyWith<$Res> { + factory $AesSuccessActionDataResult_DecryptedCopyWith(AesSuccessActionDataResult_Decrypted value, $Res Function(AesSuccessActionDataResult_Decrypted) _then) = _$AesSuccessActionDataResult_DecryptedCopyWithImpl; +@useResult +$Res call({ + AesSuccessActionDataDecrypted data +}); + + + + +} +/// @nodoc +class _$AesSuccessActionDataResult_DecryptedCopyWithImpl<$Res> + implements $AesSuccessActionDataResult_DecryptedCopyWith<$Res> { + _$AesSuccessActionDataResult_DecryptedCopyWithImpl(this._self, this._then); + + final AesSuccessActionDataResult_Decrypted _self; + final $Res Function(AesSuccessActionDataResult_Decrypted) _then; + +/// Create a copy of AesSuccessActionDataResult +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(AesSuccessActionDataResult_Decrypted( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as AesSuccessActionDataDecrypted, + )); } -/// @nodoc -class __$$AesSuccessActionDataResult_DecryptedImplCopyWithImpl<$Res> - extends _$AesSuccessActionDataResultCopyWithImpl<$Res, _$AesSuccessActionDataResult_DecryptedImpl> - implements _$$AesSuccessActionDataResult_DecryptedImplCopyWith<$Res> { - __$$AesSuccessActionDataResult_DecryptedImplCopyWithImpl( - _$AesSuccessActionDataResult_DecryptedImpl _value, - $Res Function(_$AesSuccessActionDataResult_DecryptedImpl) _then, - ) : super(_value, _then); - /// Create a copy of AesSuccessActionDataResult - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$AesSuccessActionDataResult_DecryptedImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as AesSuccessActionDataDecrypted, - ), - ); - } } /// @nodoc -class _$AesSuccessActionDataResult_DecryptedImpl extends AesSuccessActionDataResult_Decrypted { - const _$AesSuccessActionDataResult_DecryptedImpl({required this.data}) : super._(); - @override - final AesSuccessActionDataDecrypted data; +class AesSuccessActionDataResult_ErrorStatus extends AesSuccessActionDataResult { + const AesSuccessActionDataResult_ErrorStatus({required this.reason}): super._(); + - @override - String toString() { - return 'AesSuccessActionDataResult.decrypted(data: $data)'; - } + final String reason; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$AesSuccessActionDataResult_DecryptedImpl && - (identical(other.data, data) || other.data == data)); - } +/// Create a copy of AesSuccessActionDataResult +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$AesSuccessActionDataResult_ErrorStatusCopyWith get copyWith => _$AesSuccessActionDataResult_ErrorStatusCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data); - /// Create a copy of AesSuccessActionDataResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$AesSuccessActionDataResult_DecryptedImplCopyWith<_$AesSuccessActionDataResult_DecryptedImpl> - get copyWith => - __$$AesSuccessActionDataResult_DecryptedImplCopyWithImpl<_$AesSuccessActionDataResult_DecryptedImpl>( - this, - _$identity, - ); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is AesSuccessActionDataResult_ErrorStatus&&(identical(other.reason, reason) || other.reason == reason)); } -abstract class AesSuccessActionDataResult_Decrypted extends AesSuccessActionDataResult { - const factory AesSuccessActionDataResult_Decrypted({required final AesSuccessActionDataDecrypted data}) = - _$AesSuccessActionDataResult_DecryptedImpl; - const AesSuccessActionDataResult_Decrypted._() : super._(); - AesSuccessActionDataDecrypted get data; +@override +int get hashCode => Object.hash(runtimeType,reason); + +@override +String toString() { + return 'AesSuccessActionDataResult.errorStatus(reason: $reason)'; +} + - /// Create a copy of AesSuccessActionDataResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$AesSuccessActionDataResult_DecryptedImplCopyWith<_$AesSuccessActionDataResult_DecryptedImpl> - get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$AesSuccessActionDataResult_ErrorStatusImplCopyWith<$Res> { - factory _$$AesSuccessActionDataResult_ErrorStatusImplCopyWith( - _$AesSuccessActionDataResult_ErrorStatusImpl value, - $Res Function(_$AesSuccessActionDataResult_ErrorStatusImpl) then, - ) = __$$AesSuccessActionDataResult_ErrorStatusImplCopyWithImpl<$Res>; - @useResult - $Res call({String reason}); +abstract mixin class $AesSuccessActionDataResult_ErrorStatusCopyWith<$Res> implements $AesSuccessActionDataResultCopyWith<$Res> { + factory $AesSuccessActionDataResult_ErrorStatusCopyWith(AesSuccessActionDataResult_ErrorStatus value, $Res Function(AesSuccessActionDataResult_ErrorStatus) _then) = _$AesSuccessActionDataResult_ErrorStatusCopyWithImpl; +@useResult +$Res call({ + String reason +}); + + + + +} +/// @nodoc +class _$AesSuccessActionDataResult_ErrorStatusCopyWithImpl<$Res> + implements $AesSuccessActionDataResult_ErrorStatusCopyWith<$Res> { + _$AesSuccessActionDataResult_ErrorStatusCopyWithImpl(this._self, this._then); + + final AesSuccessActionDataResult_ErrorStatus _self; + final $Res Function(AesSuccessActionDataResult_ErrorStatus) _then; + +/// Create a copy of AesSuccessActionDataResult +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? reason = null,}) { + return _then(AesSuccessActionDataResult_ErrorStatus( +reason: null == reason ? _self.reason : reason // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class __$$AesSuccessActionDataResult_ErrorStatusImplCopyWithImpl<$Res> - extends _$AesSuccessActionDataResultCopyWithImpl<$Res, _$AesSuccessActionDataResult_ErrorStatusImpl> - implements _$$AesSuccessActionDataResult_ErrorStatusImplCopyWith<$Res> { - __$$AesSuccessActionDataResult_ErrorStatusImplCopyWithImpl( - _$AesSuccessActionDataResult_ErrorStatusImpl _value, - $Res Function(_$AesSuccessActionDataResult_ErrorStatusImpl) _then, - ) : super(_value, _then); +mixin _$Amount { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is Amount); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'Amount()'; +} + + +} + +/// @nodoc +class $AmountCopyWith<$Res> { +$AmountCopyWith(Amount _, $Res Function(Amount) __); +} + + +/// @nodoc + + +class Amount_Bitcoin extends Amount { + const Amount_Bitcoin({required this.amountMsat}): super._(); + + + final BigInt amountMsat; + +/// Create a copy of Amount +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$Amount_BitcoinCopyWith get copyWith => _$Amount_BitcoinCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is Amount_Bitcoin&&(identical(other.amountMsat, amountMsat) || other.amountMsat == amountMsat)); +} + + +@override +int get hashCode => Object.hash(runtimeType,amountMsat); + +@override +String toString() { + return 'Amount.bitcoin(amountMsat: $amountMsat)'; +} + + +} + +/// @nodoc +abstract mixin class $Amount_BitcoinCopyWith<$Res> implements $AmountCopyWith<$Res> { + factory $Amount_BitcoinCopyWith(Amount_Bitcoin value, $Res Function(Amount_Bitcoin) _then) = _$Amount_BitcoinCopyWithImpl; +@useResult +$Res call({ + BigInt amountMsat +}); + + + + +} +/// @nodoc +class _$Amount_BitcoinCopyWithImpl<$Res> + implements $Amount_BitcoinCopyWith<$Res> { + _$Amount_BitcoinCopyWithImpl(this._self, this._then); + + final Amount_Bitcoin _self; + final $Res Function(Amount_Bitcoin) _then; + +/// Create a copy of Amount +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? amountMsat = null,}) { + return _then(Amount_Bitcoin( +amountMsat: null == amountMsat ? _self.amountMsat : amountMsat // ignore: cast_nullable_to_non_nullable +as BigInt, + )); +} + - /// Create a copy of AesSuccessActionDataResult - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? reason = null}) { - return _then( - _$AesSuccessActionDataResult_ErrorStatusImpl( - reason: - null == reason - ? _value.reason - : reason // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$AesSuccessActionDataResult_ErrorStatusImpl extends AesSuccessActionDataResult_ErrorStatus { - const _$AesSuccessActionDataResult_ErrorStatusImpl({required this.reason}) : super._(); - @override - final String reason; +class Amount_Currency extends Amount { + const Amount_Currency({required this.iso4217Code, required this.fractionalAmount}): super._(); + - @override - String toString() { - return 'AesSuccessActionDataResult.errorStatus(reason: $reason)'; - } + final String iso4217Code; + final BigInt fractionalAmount; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$AesSuccessActionDataResult_ErrorStatusImpl && - (identical(other.reason, reason) || other.reason == reason)); - } +/// Create a copy of Amount +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$Amount_CurrencyCopyWith get copyWith => _$Amount_CurrencyCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, reason); - /// Create a copy of AesSuccessActionDataResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$AesSuccessActionDataResult_ErrorStatusImplCopyWith<_$AesSuccessActionDataResult_ErrorStatusImpl> - get copyWith => __$$AesSuccessActionDataResult_ErrorStatusImplCopyWithImpl< - _$AesSuccessActionDataResult_ErrorStatusImpl - >(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is Amount_Currency&&(identical(other.iso4217Code, iso4217Code) || other.iso4217Code == iso4217Code)&&(identical(other.fractionalAmount, fractionalAmount) || other.fractionalAmount == fractionalAmount)); } -abstract class AesSuccessActionDataResult_ErrorStatus extends AesSuccessActionDataResult { - const factory AesSuccessActionDataResult_ErrorStatus({required final String reason}) = - _$AesSuccessActionDataResult_ErrorStatusImpl; - const AesSuccessActionDataResult_ErrorStatus._() : super._(); - String get reason; +@override +int get hashCode => Object.hash(runtimeType,iso4217Code,fractionalAmount); + +@override +String toString() { + return 'Amount.currency(iso4217Code: $iso4217Code, fractionalAmount: $fractionalAmount)'; +} + - /// Create a copy of AesSuccessActionDataResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$AesSuccessActionDataResult_ErrorStatusImplCopyWith<_$AesSuccessActionDataResult_ErrorStatusImpl> - get copyWith => throw _privateConstructorUsedError; } /// @nodoc -mixin _$Amount {} +abstract mixin class $Amount_CurrencyCopyWith<$Res> implements $AmountCopyWith<$Res> { + factory $Amount_CurrencyCopyWith(Amount_Currency value, $Res Function(Amount_Currency) _then) = _$Amount_CurrencyCopyWithImpl; +@useResult +$Res call({ + String iso4217Code, BigInt fractionalAmount +}); + + + +} /// @nodoc -abstract class $AmountCopyWith<$Res> { - factory $AmountCopyWith(Amount value, $Res Function(Amount) then) = _$AmountCopyWithImpl<$Res, Amount>; +class _$Amount_CurrencyCopyWithImpl<$Res> + implements $Amount_CurrencyCopyWith<$Res> { + _$Amount_CurrencyCopyWithImpl(this._self, this._then); + + final Amount_Currency _self; + final $Res Function(Amount_Currency) _then; + +/// Create a copy of Amount +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? iso4217Code = null,Object? fractionalAmount = null,}) { + return _then(Amount_Currency( +iso4217Code: null == iso4217Code ? _self.iso4217Code : iso4217Code // ignore: cast_nullable_to_non_nullable +as String,fractionalAmount: null == fractionalAmount ? _self.fractionalAmount : fractionalAmount // ignore: cast_nullable_to_non_nullable +as BigInt, + )); +} + + } /// @nodoc -class _$AmountCopyWithImpl<$Res, $Val extends Amount> implements $AmountCopyWith<$Res> { - _$AmountCopyWithImpl(this._value, this._then); +mixin _$InputType { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'InputType()'; +} - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of Amount - /// with the given fields replaced by the non-null parameter values. } /// @nodoc -abstract class _$$Amount_BitcoinImplCopyWith<$Res> { - factory _$$Amount_BitcoinImplCopyWith( - _$Amount_BitcoinImpl value, - $Res Function(_$Amount_BitcoinImpl) then, - ) = __$$Amount_BitcoinImplCopyWithImpl<$Res>; - @useResult - $Res call({BigInt amountMsat}); +class $InputTypeCopyWith<$Res> { +$InputTypeCopyWith(InputType _, $Res Function(InputType) __); +} + + +/// @nodoc + + +class InputType_BitcoinAddress extends InputType { + const InputType_BitcoinAddress({required this.address}): super._(); + + + final BitcoinAddressData address; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InputType_BitcoinAddressCopyWith get copyWith => _$InputType_BitcoinAddressCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType_BitcoinAddress&&(identical(other.address, address) || other.address == address)); +} + + +@override +int get hashCode => Object.hash(runtimeType,address); + +@override +String toString() { + return 'InputType.bitcoinAddress(address: $address)'; +} + + } /// @nodoc -class __$$Amount_BitcoinImplCopyWithImpl<$Res> extends _$AmountCopyWithImpl<$Res, _$Amount_BitcoinImpl> - implements _$$Amount_BitcoinImplCopyWith<$Res> { - __$$Amount_BitcoinImplCopyWithImpl(_$Amount_BitcoinImpl _value, $Res Function(_$Amount_BitcoinImpl) _then) - : super(_value, _then); +abstract mixin class $InputType_BitcoinAddressCopyWith<$Res> implements $InputTypeCopyWith<$Res> { + factory $InputType_BitcoinAddressCopyWith(InputType_BitcoinAddress value, $Res Function(InputType_BitcoinAddress) _then) = _$InputType_BitcoinAddressCopyWithImpl; +@useResult +$Res call({ + BitcoinAddressData address +}); + + + + +} +/// @nodoc +class _$InputType_BitcoinAddressCopyWithImpl<$Res> + implements $InputType_BitcoinAddressCopyWith<$Res> { + _$InputType_BitcoinAddressCopyWithImpl(this._self, this._then); + + final InputType_BitcoinAddress _self; + final $Res Function(InputType_BitcoinAddress) _then; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? address = null,}) { + return _then(InputType_BitcoinAddress( +address: null == address ? _self.address : address // ignore: cast_nullable_to_non_nullable +as BitcoinAddressData, + )); +} + - /// Create a copy of Amount - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? amountMsat = null}) { - return _then( - _$Amount_BitcoinImpl( - amountMsat: - null == amountMsat - ? _value.amountMsat - : amountMsat // ignore: cast_nullable_to_non_nullable - as BigInt, - ), - ); - } } /// @nodoc -class _$Amount_BitcoinImpl extends Amount_Bitcoin { - const _$Amount_BitcoinImpl({required this.amountMsat}) : super._(); - @override - final BigInt amountMsat; +class InputType_LiquidAddress extends InputType { + const InputType_LiquidAddress({required this.address}): super._(); + - @override - String toString() { - return 'Amount.bitcoin(amountMsat: $amountMsat)'; - } + final LiquidAddressData address; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$Amount_BitcoinImpl && - (identical(other.amountMsat, amountMsat) || other.amountMsat == amountMsat)); - } +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InputType_LiquidAddressCopyWith get copyWith => _$InputType_LiquidAddressCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, amountMsat); - /// Create a copy of Amount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$Amount_BitcoinImplCopyWith<_$Amount_BitcoinImpl> get copyWith => - __$$Amount_BitcoinImplCopyWithImpl<_$Amount_BitcoinImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType_LiquidAddress&&(identical(other.address, address) || other.address == address)); } -abstract class Amount_Bitcoin extends Amount { - const factory Amount_Bitcoin({required final BigInt amountMsat}) = _$Amount_BitcoinImpl; - const Amount_Bitcoin._() : super._(); - BigInt get amountMsat; +@override +int get hashCode => Object.hash(runtimeType,address); + +@override +String toString() { + return 'InputType.liquidAddress(address: $address)'; +} + - /// Create a copy of Amount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$Amount_BitcoinImplCopyWith<_$Amount_BitcoinImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$Amount_CurrencyImplCopyWith<$Res> { - factory _$$Amount_CurrencyImplCopyWith( - _$Amount_CurrencyImpl value, - $Res Function(_$Amount_CurrencyImpl) then, - ) = __$$Amount_CurrencyImplCopyWithImpl<$Res>; - @useResult - $Res call({String iso4217Code, BigInt fractionalAmount}); +abstract mixin class $InputType_LiquidAddressCopyWith<$Res> implements $InputTypeCopyWith<$Res> { + factory $InputType_LiquidAddressCopyWith(InputType_LiquidAddress value, $Res Function(InputType_LiquidAddress) _then) = _$InputType_LiquidAddressCopyWithImpl; +@useResult +$Res call({ + LiquidAddressData address +}); + + + + +} +/// @nodoc +class _$InputType_LiquidAddressCopyWithImpl<$Res> + implements $InputType_LiquidAddressCopyWith<$Res> { + _$InputType_LiquidAddressCopyWithImpl(this._self, this._then); + + final InputType_LiquidAddress _self; + final $Res Function(InputType_LiquidAddress) _then; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? address = null,}) { + return _then(InputType_LiquidAddress( +address: null == address ? _self.address : address // ignore: cast_nullable_to_non_nullable +as LiquidAddressData, + )); } -/// @nodoc -class __$$Amount_CurrencyImplCopyWithImpl<$Res> extends _$AmountCopyWithImpl<$Res, _$Amount_CurrencyImpl> - implements _$$Amount_CurrencyImplCopyWith<$Res> { - __$$Amount_CurrencyImplCopyWithImpl( - _$Amount_CurrencyImpl _value, - $Res Function(_$Amount_CurrencyImpl) _then, - ) : super(_value, _then); - /// Create a copy of Amount - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? iso4217Code = null, Object? fractionalAmount = null}) { - return _then( - _$Amount_CurrencyImpl( - iso4217Code: - null == iso4217Code - ? _value.iso4217Code - : iso4217Code // ignore: cast_nullable_to_non_nullable - as String, - fractionalAmount: - null == fractionalAmount - ? _value.fractionalAmount - : fractionalAmount // ignore: cast_nullable_to_non_nullable - as BigInt, - ), - ); - } } /// @nodoc -class _$Amount_CurrencyImpl extends Amount_Currency { - const _$Amount_CurrencyImpl({required this.iso4217Code, required this.fractionalAmount}) : super._(); - @override - final String iso4217Code; - @override - final BigInt fractionalAmount; +class InputType_Bolt11 extends InputType { + const InputType_Bolt11({required this.invoice}): super._(); + - @override - String toString() { - return 'Amount.currency(iso4217Code: $iso4217Code, fractionalAmount: $fractionalAmount)'; - } + final LNInvoice invoice; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$Amount_CurrencyImpl && - (identical(other.iso4217Code, iso4217Code) || other.iso4217Code == iso4217Code) && - (identical(other.fractionalAmount, fractionalAmount) || - other.fractionalAmount == fractionalAmount)); - } +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InputType_Bolt11CopyWith get copyWith => _$InputType_Bolt11CopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, iso4217Code, fractionalAmount); - /// Create a copy of Amount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$Amount_CurrencyImplCopyWith<_$Amount_CurrencyImpl> get copyWith => - __$$Amount_CurrencyImplCopyWithImpl<_$Amount_CurrencyImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType_Bolt11&&(identical(other.invoice, invoice) || other.invoice == invoice)); } -abstract class Amount_Currency extends Amount { - const factory Amount_Currency({required final String iso4217Code, required final BigInt fractionalAmount}) = - _$Amount_CurrencyImpl; - const Amount_Currency._() : super._(); - String get iso4217Code; - BigInt get fractionalAmount; +@override +int get hashCode => Object.hash(runtimeType,invoice); + +@override +String toString() { + return 'InputType.bolt11(invoice: $invoice)'; +} + - /// Create a copy of Amount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$Amount_CurrencyImplCopyWith<_$Amount_CurrencyImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -mixin _$InputType {} +abstract mixin class $InputType_Bolt11CopyWith<$Res> implements $InputTypeCopyWith<$Res> { + factory $InputType_Bolt11CopyWith(InputType_Bolt11 value, $Res Function(InputType_Bolt11) _then) = _$InputType_Bolt11CopyWithImpl; +@useResult +$Res call({ + LNInvoice invoice +}); + + + +} /// @nodoc -abstract class $InputTypeCopyWith<$Res> { - factory $InputTypeCopyWith(InputType value, $Res Function(InputType) then) = - _$InputTypeCopyWithImpl<$Res, InputType>; +class _$InputType_Bolt11CopyWithImpl<$Res> + implements $InputType_Bolt11CopyWith<$Res> { + _$InputType_Bolt11CopyWithImpl(this._self, this._then); + + final InputType_Bolt11 _self; + final $Res Function(InputType_Bolt11) _then; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? invoice = null,}) { + return _then(InputType_Bolt11( +invoice: null == invoice ? _self.invoice : invoice // ignore: cast_nullable_to_non_nullable +as LNInvoice, + )); } -/// @nodoc -class _$InputTypeCopyWithImpl<$Res, $Val extends InputType> implements $InputTypeCopyWith<$Res> { - _$InputTypeCopyWithImpl(this._value, this._then); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. -} - -/// @nodoc -abstract class _$$InputType_BitcoinAddressImplCopyWith<$Res> { - factory _$$InputType_BitcoinAddressImplCopyWith( - _$InputType_BitcoinAddressImpl value, - $Res Function(_$InputType_BitcoinAddressImpl) then, - ) = __$$InputType_BitcoinAddressImplCopyWithImpl<$Res>; - @useResult - $Res call({BitcoinAddressData address}); -} - -/// @nodoc -class __$$InputType_BitcoinAddressImplCopyWithImpl<$Res> - extends _$InputTypeCopyWithImpl<$Res, _$InputType_BitcoinAddressImpl> - implements _$$InputType_BitcoinAddressImplCopyWith<$Res> { - __$$InputType_BitcoinAddressImplCopyWithImpl( - _$InputType_BitcoinAddressImpl _value, - $Res Function(_$InputType_BitcoinAddressImpl) _then, - ) : super(_value, _then); - - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? address = null}) { - return _then( - _$InputType_BitcoinAddressImpl( - address: - null == address - ? _value.address - : address // ignore: cast_nullable_to_non_nullable - as BitcoinAddressData, - ), - ); - } } /// @nodoc -class _$InputType_BitcoinAddressImpl extends InputType_BitcoinAddress { - const _$InputType_BitcoinAddressImpl({required this.address}) : super._(); - @override - final BitcoinAddressData address; +class InputType_Bolt12Offer extends InputType { + const InputType_Bolt12Offer({required this.offer, this.bip353Address}): super._(); + - @override - String toString() { - return 'InputType.bitcoinAddress(address: $address)'; - } + final LNOffer offer; + final String? bip353Address; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InputType_BitcoinAddressImpl && - (identical(other.address, address) || other.address == address)); - } +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InputType_Bolt12OfferCopyWith get copyWith => _$InputType_Bolt12OfferCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, address); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InputType_BitcoinAddressImplCopyWith<_$InputType_BitcoinAddressImpl> get copyWith => - __$$InputType_BitcoinAddressImplCopyWithImpl<_$InputType_BitcoinAddressImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType_Bolt12Offer&&(identical(other.offer, offer) || other.offer == offer)&&(identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); } -abstract class InputType_BitcoinAddress extends InputType { - const factory InputType_BitcoinAddress({required final BitcoinAddressData address}) = - _$InputType_BitcoinAddressImpl; - const InputType_BitcoinAddress._() : super._(); - BitcoinAddressData get address; +@override +int get hashCode => Object.hash(runtimeType,offer,bip353Address); + +@override +String toString() { + return 'InputType.bolt12Offer(offer: $offer, bip353Address: $bip353Address)'; +} + - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InputType_BitcoinAddressImplCopyWith<_$InputType_BitcoinAddressImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$InputType_LiquidAddressImplCopyWith<$Res> { - factory _$$InputType_LiquidAddressImplCopyWith( - _$InputType_LiquidAddressImpl value, - $Res Function(_$InputType_LiquidAddressImpl) then, - ) = __$$InputType_LiquidAddressImplCopyWithImpl<$Res>; - @useResult - $Res call({LiquidAddressData address}); +abstract mixin class $InputType_Bolt12OfferCopyWith<$Res> implements $InputTypeCopyWith<$Res> { + factory $InputType_Bolt12OfferCopyWith(InputType_Bolt12Offer value, $Res Function(InputType_Bolt12Offer) _then) = _$InputType_Bolt12OfferCopyWithImpl; +@useResult +$Res call({ + LNOffer offer, String? bip353Address +}); + + + + +} +/// @nodoc +class _$InputType_Bolt12OfferCopyWithImpl<$Res> + implements $InputType_Bolt12OfferCopyWith<$Res> { + _$InputType_Bolt12OfferCopyWithImpl(this._self, this._then); + + final InputType_Bolt12Offer _self; + final $Res Function(InputType_Bolt12Offer) _then; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? offer = null,Object? bip353Address = freezed,}) { + return _then(InputType_Bolt12Offer( +offer: null == offer ? _self.offer : offer // ignore: cast_nullable_to_non_nullable +as LNOffer,bip353Address: freezed == bip353Address ? _self.bip353Address : bip353Address // ignore: cast_nullable_to_non_nullable +as String?, + )); } -/// @nodoc -class __$$InputType_LiquidAddressImplCopyWithImpl<$Res> - extends _$InputTypeCopyWithImpl<$Res, _$InputType_LiquidAddressImpl> - implements _$$InputType_LiquidAddressImplCopyWith<$Res> { - __$$InputType_LiquidAddressImplCopyWithImpl( - _$InputType_LiquidAddressImpl _value, - $Res Function(_$InputType_LiquidAddressImpl) _then, - ) : super(_value, _then); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? address = null}) { - return _then( - _$InputType_LiquidAddressImpl( - address: - null == address - ? _value.address - : address // ignore: cast_nullable_to_non_nullable - as LiquidAddressData, - ), - ); - } } /// @nodoc -class _$InputType_LiquidAddressImpl extends InputType_LiquidAddress { - const _$InputType_LiquidAddressImpl({required this.address}) : super._(); - @override - final LiquidAddressData address; +class InputType_NodeId extends InputType { + const InputType_NodeId({required this.nodeId}): super._(); + - @override - String toString() { - return 'InputType.liquidAddress(address: $address)'; - } + final String nodeId; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InputType_LiquidAddressImpl && - (identical(other.address, address) || other.address == address)); - } +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InputType_NodeIdCopyWith get copyWith => _$InputType_NodeIdCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, address); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InputType_LiquidAddressImplCopyWith<_$InputType_LiquidAddressImpl> get copyWith => - __$$InputType_LiquidAddressImplCopyWithImpl<_$InputType_LiquidAddressImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType_NodeId&&(identical(other.nodeId, nodeId) || other.nodeId == nodeId)); } -abstract class InputType_LiquidAddress extends InputType { - const factory InputType_LiquidAddress({required final LiquidAddressData address}) = - _$InputType_LiquidAddressImpl; - const InputType_LiquidAddress._() : super._(); - LiquidAddressData get address; +@override +int get hashCode => Object.hash(runtimeType,nodeId); + +@override +String toString() { + return 'InputType.nodeId(nodeId: $nodeId)'; +} + - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InputType_LiquidAddressImplCopyWith<_$InputType_LiquidAddressImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$InputType_Bolt11ImplCopyWith<$Res> { - factory _$$InputType_Bolt11ImplCopyWith( - _$InputType_Bolt11Impl value, - $Res Function(_$InputType_Bolt11Impl) then, - ) = __$$InputType_Bolt11ImplCopyWithImpl<$Res>; - @useResult - $Res call({LNInvoice invoice}); +abstract mixin class $InputType_NodeIdCopyWith<$Res> implements $InputTypeCopyWith<$Res> { + factory $InputType_NodeIdCopyWith(InputType_NodeId value, $Res Function(InputType_NodeId) _then) = _$InputType_NodeIdCopyWithImpl; +@useResult +$Res call({ + String nodeId +}); + + + + +} +/// @nodoc +class _$InputType_NodeIdCopyWithImpl<$Res> + implements $InputType_NodeIdCopyWith<$Res> { + _$InputType_NodeIdCopyWithImpl(this._self, this._then); + + final InputType_NodeId _self; + final $Res Function(InputType_NodeId) _then; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? nodeId = null,}) { + return _then(InputType_NodeId( +nodeId: null == nodeId ? _self.nodeId : nodeId // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$InputType_Bolt11ImplCopyWithImpl<$Res> extends _$InputTypeCopyWithImpl<$Res, _$InputType_Bolt11Impl> - implements _$$InputType_Bolt11ImplCopyWith<$Res> { - __$$InputType_Bolt11ImplCopyWithImpl( - _$InputType_Bolt11Impl _value, - $Res Function(_$InputType_Bolt11Impl) _then, - ) : super(_value, _then); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? invoice = null}) { - return _then( - _$InputType_Bolt11Impl( - invoice: - null == invoice - ? _value.invoice - : invoice // ignore: cast_nullable_to_non_nullable - as LNInvoice, - ), - ); - } } /// @nodoc -class _$InputType_Bolt11Impl extends InputType_Bolt11 { - const _$InputType_Bolt11Impl({required this.invoice}) : super._(); - @override - final LNInvoice invoice; +class InputType_Url extends InputType { + const InputType_Url({required this.url}): super._(); + - @override - String toString() { - return 'InputType.bolt11(invoice: $invoice)'; - } + final String url; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InputType_Bolt11Impl && - (identical(other.invoice, invoice) || other.invoice == invoice)); - } +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InputType_UrlCopyWith get copyWith => _$InputType_UrlCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, invoice); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InputType_Bolt11ImplCopyWith<_$InputType_Bolt11Impl> get copyWith => - __$$InputType_Bolt11ImplCopyWithImpl<_$InputType_Bolt11Impl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType_Url&&(identical(other.url, url) || other.url == url)); } -abstract class InputType_Bolt11 extends InputType { - const factory InputType_Bolt11({required final LNInvoice invoice}) = _$InputType_Bolt11Impl; - const InputType_Bolt11._() : super._(); - LNInvoice get invoice; +@override +int get hashCode => Object.hash(runtimeType,url); + +@override +String toString() { + return 'InputType.url(url: $url)'; +} + - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InputType_Bolt11ImplCopyWith<_$InputType_Bolt11Impl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$InputType_Bolt12OfferImplCopyWith<$Res> { - factory _$$InputType_Bolt12OfferImplCopyWith( - _$InputType_Bolt12OfferImpl value, - $Res Function(_$InputType_Bolt12OfferImpl) then, - ) = __$$InputType_Bolt12OfferImplCopyWithImpl<$Res>; - @useResult - $Res call({LNOffer offer, String? bip353Address}); +abstract mixin class $InputType_UrlCopyWith<$Res> implements $InputTypeCopyWith<$Res> { + factory $InputType_UrlCopyWith(InputType_Url value, $Res Function(InputType_Url) _then) = _$InputType_UrlCopyWithImpl; +@useResult +$Res call({ + String url +}); + + + + +} +/// @nodoc +class _$InputType_UrlCopyWithImpl<$Res> + implements $InputType_UrlCopyWith<$Res> { + _$InputType_UrlCopyWithImpl(this._self, this._then); + + final InputType_Url _self; + final $Res Function(InputType_Url) _then; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? url = null,}) { + return _then(InputType_Url( +url: null == url ? _self.url : url // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$InputType_Bolt12OfferImplCopyWithImpl<$Res> - extends _$InputTypeCopyWithImpl<$Res, _$InputType_Bolt12OfferImpl> - implements _$$InputType_Bolt12OfferImplCopyWith<$Res> { - __$$InputType_Bolt12OfferImplCopyWithImpl( - _$InputType_Bolt12OfferImpl _value, - $Res Function(_$InputType_Bolt12OfferImpl) _then, - ) : super(_value, _then); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? offer = null, Object? bip353Address = freezed}) { - return _then( - _$InputType_Bolt12OfferImpl( - offer: - null == offer - ? _value.offer - : offer // ignore: cast_nullable_to_non_nullable - as LNOffer, - bip353Address: - freezed == bip353Address - ? _value.bip353Address - : bip353Address // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc -class _$InputType_Bolt12OfferImpl extends InputType_Bolt12Offer { - const _$InputType_Bolt12OfferImpl({required this.offer, this.bip353Address}) : super._(); - @override - final LNOffer offer; - @override - final String? bip353Address; +class InputType_LnUrlPay extends InputType { + const InputType_LnUrlPay({required this.data, this.bip353Address}): super._(); + - @override - String toString() { - return 'InputType.bolt12Offer(offer: $offer, bip353Address: $bip353Address)'; - } + final LnUrlPayRequestData data; + final String? bip353Address; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InputType_Bolt12OfferImpl && - (identical(other.offer, offer) || other.offer == offer) && - (identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); - } +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InputType_LnUrlPayCopyWith get copyWith => _$InputType_LnUrlPayCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, offer, bip353Address); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InputType_Bolt12OfferImplCopyWith<_$InputType_Bolt12OfferImpl> get copyWith => - __$$InputType_Bolt12OfferImplCopyWithImpl<_$InputType_Bolt12OfferImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType_LnUrlPay&&(identical(other.data, data) || other.data == data)&&(identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); } -abstract class InputType_Bolt12Offer extends InputType { - const factory InputType_Bolt12Offer({required final LNOffer offer, final String? bip353Address}) = - _$InputType_Bolt12OfferImpl; - const InputType_Bolt12Offer._() : super._(); - LNOffer get offer; - String? get bip353Address; +@override +int get hashCode => Object.hash(runtimeType,data,bip353Address); + +@override +String toString() { + return 'InputType.lnUrlPay(data: $data, bip353Address: $bip353Address)'; +} + - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InputType_Bolt12OfferImplCopyWith<_$InputType_Bolt12OfferImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$InputType_NodeIdImplCopyWith<$Res> { - factory _$$InputType_NodeIdImplCopyWith( - _$InputType_NodeIdImpl value, - $Res Function(_$InputType_NodeIdImpl) then, - ) = __$$InputType_NodeIdImplCopyWithImpl<$Res>; - @useResult - $Res call({String nodeId}); +abstract mixin class $InputType_LnUrlPayCopyWith<$Res> implements $InputTypeCopyWith<$Res> { + factory $InputType_LnUrlPayCopyWith(InputType_LnUrlPay value, $Res Function(InputType_LnUrlPay) _then) = _$InputType_LnUrlPayCopyWithImpl; +@useResult +$Res call({ + LnUrlPayRequestData data, String? bip353Address +}); + + + + +} +/// @nodoc +class _$InputType_LnUrlPayCopyWithImpl<$Res> + implements $InputType_LnUrlPayCopyWith<$Res> { + _$InputType_LnUrlPayCopyWithImpl(this._self, this._then); + + final InputType_LnUrlPay _self; + final $Res Function(InputType_LnUrlPay) _then; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,Object? bip353Address = freezed,}) { + return _then(InputType_LnUrlPay( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlPayRequestData,bip353Address: freezed == bip353Address ? _self.bip353Address : bip353Address // ignore: cast_nullable_to_non_nullable +as String?, + )); } -/// @nodoc -class __$$InputType_NodeIdImplCopyWithImpl<$Res> extends _$InputTypeCopyWithImpl<$Res, _$InputType_NodeIdImpl> - implements _$$InputType_NodeIdImplCopyWith<$Res> { - __$$InputType_NodeIdImplCopyWithImpl( - _$InputType_NodeIdImpl _value, - $Res Function(_$InputType_NodeIdImpl) _then, - ) : super(_value, _then); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? nodeId = null}) { - return _then( - _$InputType_NodeIdImpl( - nodeId: - null == nodeId - ? _value.nodeId - : nodeId // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$InputType_NodeIdImpl extends InputType_NodeId { - const _$InputType_NodeIdImpl({required this.nodeId}) : super._(); - @override - final String nodeId; +class InputType_LnUrlWithdraw extends InputType { + const InputType_LnUrlWithdraw({required this.data}): super._(); + - @override - String toString() { - return 'InputType.nodeId(nodeId: $nodeId)'; - } + final LnUrlWithdrawRequestData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InputType_NodeIdImpl && - (identical(other.nodeId, nodeId) || other.nodeId == nodeId)); - } +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InputType_LnUrlWithdrawCopyWith get copyWith => _$InputType_LnUrlWithdrawCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, nodeId); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InputType_NodeIdImplCopyWith<_$InputType_NodeIdImpl> get copyWith => - __$$InputType_NodeIdImplCopyWithImpl<_$InputType_NodeIdImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType_LnUrlWithdraw&&(identical(other.data, data) || other.data == data)); } -abstract class InputType_NodeId extends InputType { - const factory InputType_NodeId({required final String nodeId}) = _$InputType_NodeIdImpl; - const InputType_NodeId._() : super._(); - String get nodeId; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'InputType.lnUrlWithdraw(data: $data)'; +} + - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InputType_NodeIdImplCopyWith<_$InputType_NodeIdImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$InputType_UrlImplCopyWith<$Res> { - factory _$$InputType_UrlImplCopyWith(_$InputType_UrlImpl value, $Res Function(_$InputType_UrlImpl) then) = - __$$InputType_UrlImplCopyWithImpl<$Res>; - @useResult - $Res call({String url}); +abstract mixin class $InputType_LnUrlWithdrawCopyWith<$Res> implements $InputTypeCopyWith<$Res> { + factory $InputType_LnUrlWithdrawCopyWith(InputType_LnUrlWithdraw value, $Res Function(InputType_LnUrlWithdraw) _then) = _$InputType_LnUrlWithdrawCopyWithImpl; +@useResult +$Res call({ + LnUrlWithdrawRequestData data +}); + + + + +} +/// @nodoc +class _$InputType_LnUrlWithdrawCopyWithImpl<$Res> + implements $InputType_LnUrlWithdrawCopyWith<$Res> { + _$InputType_LnUrlWithdrawCopyWithImpl(this._self, this._then); + + final InputType_LnUrlWithdraw _self; + final $Res Function(InputType_LnUrlWithdraw) _then; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(InputType_LnUrlWithdraw( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlWithdrawRequestData, + )); } -/// @nodoc -class __$$InputType_UrlImplCopyWithImpl<$Res> extends _$InputTypeCopyWithImpl<$Res, _$InputType_UrlImpl> - implements _$$InputType_UrlImplCopyWith<$Res> { - __$$InputType_UrlImplCopyWithImpl(_$InputType_UrlImpl _value, $Res Function(_$InputType_UrlImpl) _then) - : super(_value, _then); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? url = null}) { - return _then( - _$InputType_UrlImpl( - url: - null == url - ? _value.url - : url // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$InputType_UrlImpl extends InputType_Url { - const _$InputType_UrlImpl({required this.url}) : super._(); - @override - final String url; +class InputType_LnUrlAuth extends InputType { + const InputType_LnUrlAuth({required this.data}): super._(); + - @override - String toString() { - return 'InputType.url(url: $url)'; - } + final LnUrlAuthRequestData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InputType_UrlImpl && - (identical(other.url, url) || other.url == url)); - } +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InputType_LnUrlAuthCopyWith get copyWith => _$InputType_LnUrlAuthCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, url); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InputType_UrlImplCopyWith<_$InputType_UrlImpl> get copyWith => - __$$InputType_UrlImplCopyWithImpl<_$InputType_UrlImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType_LnUrlAuth&&(identical(other.data, data) || other.data == data)); } -abstract class InputType_Url extends InputType { - const factory InputType_Url({required final String url}) = _$InputType_UrlImpl; - const InputType_Url._() : super._(); - String get url; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'InputType.lnUrlAuth(data: $data)'; +} + - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InputType_UrlImplCopyWith<_$InputType_UrlImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$InputType_LnUrlPayImplCopyWith<$Res> { - factory _$$InputType_LnUrlPayImplCopyWith( - _$InputType_LnUrlPayImpl value, - $Res Function(_$InputType_LnUrlPayImpl) then, - ) = __$$InputType_LnUrlPayImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlPayRequestData data, String? bip353Address}); +abstract mixin class $InputType_LnUrlAuthCopyWith<$Res> implements $InputTypeCopyWith<$Res> { + factory $InputType_LnUrlAuthCopyWith(InputType_LnUrlAuth value, $Res Function(InputType_LnUrlAuth) _then) = _$InputType_LnUrlAuthCopyWithImpl; +@useResult +$Res call({ + LnUrlAuthRequestData data +}); + + + + +} +/// @nodoc +class _$InputType_LnUrlAuthCopyWithImpl<$Res> + implements $InputType_LnUrlAuthCopyWith<$Res> { + _$InputType_LnUrlAuthCopyWithImpl(this._self, this._then); + + final InputType_LnUrlAuth _self; + final $Res Function(InputType_LnUrlAuth) _then; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(InputType_LnUrlAuth( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlAuthRequestData, + )); } -/// @nodoc -class __$$InputType_LnUrlPayImplCopyWithImpl<$Res> - extends _$InputTypeCopyWithImpl<$Res, _$InputType_LnUrlPayImpl> - implements _$$InputType_LnUrlPayImplCopyWith<$Res> { - __$$InputType_LnUrlPayImplCopyWithImpl( - _$InputType_LnUrlPayImpl _value, - $Res Function(_$InputType_LnUrlPayImpl) _then, - ) : super(_value, _then); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null, Object? bip353Address = freezed}) { - return _then( - _$InputType_LnUrlPayImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlPayRequestData, - bip353Address: - freezed == bip353Address - ? _value.bip353Address - : bip353Address // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc -class _$InputType_LnUrlPayImpl extends InputType_LnUrlPay { - const _$InputType_LnUrlPayImpl({required this.data, this.bip353Address}) : super._(); - @override - final LnUrlPayRequestData data; - @override - final String? bip353Address; +class InputType_LnUrlError extends InputType { + const InputType_LnUrlError({required this.data}): super._(); + - @override - String toString() { - return 'InputType.lnUrlPay(data: $data, bip353Address: $bip353Address)'; - } + final LnUrlErrorData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InputType_LnUrlPayImpl && - (identical(other.data, data) || other.data == data) && - (identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); - } +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$InputType_LnUrlErrorCopyWith get copyWith => _$InputType_LnUrlErrorCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data, bip353Address); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InputType_LnUrlPayImplCopyWith<_$InputType_LnUrlPayImpl> get copyWith => - __$$InputType_LnUrlPayImplCopyWithImpl<_$InputType_LnUrlPayImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is InputType_LnUrlError&&(identical(other.data, data) || other.data == data)); } -abstract class InputType_LnUrlPay extends InputType { - const factory InputType_LnUrlPay({required final LnUrlPayRequestData data, final String? bip353Address}) = - _$InputType_LnUrlPayImpl; - const InputType_LnUrlPay._() : super._(); - LnUrlPayRequestData get data; - String? get bip353Address; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'InputType.lnUrlError(data: $data)'; +} + - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InputType_LnUrlPayImplCopyWith<_$InputType_LnUrlPayImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$InputType_LnUrlWithdrawImplCopyWith<$Res> { - factory _$$InputType_LnUrlWithdrawImplCopyWith( - _$InputType_LnUrlWithdrawImpl value, - $Res Function(_$InputType_LnUrlWithdrawImpl) then, - ) = __$$InputType_LnUrlWithdrawImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlWithdrawRequestData data}); -} +abstract mixin class $InputType_LnUrlErrorCopyWith<$Res> implements $InputTypeCopyWith<$Res> { + factory $InputType_LnUrlErrorCopyWith(InputType_LnUrlError value, $Res Function(InputType_LnUrlError) _then) = _$InputType_LnUrlErrorCopyWithImpl; +@useResult +$Res call({ + LnUrlErrorData data +}); + + + +} /// @nodoc -class __$$InputType_LnUrlWithdrawImplCopyWithImpl<$Res> - extends _$InputTypeCopyWithImpl<$Res, _$InputType_LnUrlWithdrawImpl> - implements _$$InputType_LnUrlWithdrawImplCopyWith<$Res> { - __$$InputType_LnUrlWithdrawImplCopyWithImpl( - _$InputType_LnUrlWithdrawImpl _value, - $Res Function(_$InputType_LnUrlWithdrawImpl) _then, - ) : super(_value, _then); +class _$InputType_LnUrlErrorCopyWithImpl<$Res> + implements $InputType_LnUrlErrorCopyWith<$Res> { + _$InputType_LnUrlErrorCopyWithImpl(this._self, this._then); - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$InputType_LnUrlWithdrawImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlWithdrawRequestData, - ), - ); - } + final InputType_LnUrlError _self; + final $Res Function(InputType_LnUrlError) _then; + +/// Create a copy of InputType +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(InputType_LnUrlError( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlErrorData, + )); } -/// @nodoc -class _$InputType_LnUrlWithdrawImpl extends InputType_LnUrlWithdraw { - const _$InputType_LnUrlWithdrawImpl({required this.data}) : super._(); - - @override - final LnUrlWithdrawRequestData data; - - @override - String toString() { - return 'InputType.lnUrlWithdraw(data: $data)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InputType_LnUrlWithdrawImpl && - (identical(other.data, data) || other.data == data)); - } - - @override - int get hashCode => Object.hash(runtimeType, data); - - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InputType_LnUrlWithdrawImplCopyWith<_$InputType_LnUrlWithdrawImpl> get copyWith => - __$$InputType_LnUrlWithdrawImplCopyWithImpl<_$InputType_LnUrlWithdrawImpl>(this, _$identity); -} - -abstract class InputType_LnUrlWithdraw extends InputType { - const factory InputType_LnUrlWithdraw({required final LnUrlWithdrawRequestData data}) = - _$InputType_LnUrlWithdrawImpl; - const InputType_LnUrlWithdraw._() : super._(); - - LnUrlWithdrawRequestData get data; - - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InputType_LnUrlWithdrawImplCopyWith<_$InputType_LnUrlWithdrawImpl> get copyWith => - throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$InputType_LnUrlAuthImplCopyWith<$Res> { - factory _$$InputType_LnUrlAuthImplCopyWith( - _$InputType_LnUrlAuthImpl value, - $Res Function(_$InputType_LnUrlAuthImpl) then, - ) = __$$InputType_LnUrlAuthImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlAuthRequestData data}); -} - -/// @nodoc -class __$$InputType_LnUrlAuthImplCopyWithImpl<$Res> - extends _$InputTypeCopyWithImpl<$Res, _$InputType_LnUrlAuthImpl> - implements _$$InputType_LnUrlAuthImplCopyWith<$Res> { - __$$InputType_LnUrlAuthImplCopyWithImpl( - _$InputType_LnUrlAuthImpl _value, - $Res Function(_$InputType_LnUrlAuthImpl) _then, - ) : super(_value, _then); - - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$InputType_LnUrlAuthImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlAuthRequestData, - ), - ); - } -} - -/// @nodoc - -class _$InputType_LnUrlAuthImpl extends InputType_LnUrlAuth { - const _$InputType_LnUrlAuthImpl({required this.data}) : super._(); - - @override - final LnUrlAuthRequestData data; - - @override - String toString() { - return 'InputType.lnUrlAuth(data: $data)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InputType_LnUrlAuthImpl && - (identical(other.data, data) || other.data == data)); - } - - @override - int get hashCode => Object.hash(runtimeType, data); - - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InputType_LnUrlAuthImplCopyWith<_$InputType_LnUrlAuthImpl> get copyWith => - __$$InputType_LnUrlAuthImplCopyWithImpl<_$InputType_LnUrlAuthImpl>(this, _$identity); -} - -abstract class InputType_LnUrlAuth extends InputType { - const factory InputType_LnUrlAuth({required final LnUrlAuthRequestData data}) = _$InputType_LnUrlAuthImpl; - const InputType_LnUrlAuth._() : super._(); - - LnUrlAuthRequestData get data; - - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InputType_LnUrlAuthImplCopyWith<_$InputType_LnUrlAuthImpl> get copyWith => - throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$InputType_LnUrlErrorImplCopyWith<$Res> { - factory _$$InputType_LnUrlErrorImplCopyWith( - _$InputType_LnUrlErrorImpl value, - $Res Function(_$InputType_LnUrlErrorImpl) then, - ) = __$$InputType_LnUrlErrorImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlErrorData data}); -} - -/// @nodoc -class __$$InputType_LnUrlErrorImplCopyWithImpl<$Res> - extends _$InputTypeCopyWithImpl<$Res, _$InputType_LnUrlErrorImpl> - implements _$$InputType_LnUrlErrorImplCopyWith<$Res> { - __$$InputType_LnUrlErrorImplCopyWithImpl( - _$InputType_LnUrlErrorImpl _value, - $Res Function(_$InputType_LnUrlErrorImpl) _then, - ) : super(_value, _then); - - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$InputType_LnUrlErrorImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlErrorData, - ), - ); - } -} - -/// @nodoc - -class _$InputType_LnUrlErrorImpl extends InputType_LnUrlError { - const _$InputType_LnUrlErrorImpl({required this.data}) : super._(); - - @override - final LnUrlErrorData data; - - @override - String toString() { - return 'InputType.lnUrlError(data: $data)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$InputType_LnUrlErrorImpl && - (identical(other.data, data) || other.data == data)); - } - - @override - int get hashCode => Object.hash(runtimeType, data); - - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$InputType_LnUrlErrorImplCopyWith<_$InputType_LnUrlErrorImpl> get copyWith => - __$$InputType_LnUrlErrorImplCopyWithImpl<_$InputType_LnUrlErrorImpl>(this, _$identity); -} - -abstract class InputType_LnUrlError extends InputType { - const factory InputType_LnUrlError({required final LnUrlErrorData data}) = _$InputType_LnUrlErrorImpl; - const InputType_LnUrlError._() : super._(); - - LnUrlErrorData get data; - - /// Create a copy of InputType - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$InputType_LnUrlErrorImplCopyWith<_$InputType_LnUrlErrorImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc mixin _$SuccessAction { - Object get data => throw _privateConstructorUsedError; + + Object get data; + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SuccessAction&&const DeepCollectionEquality().equals(other.data, data)); +} + + +@override +int get hashCode => Object.hash(runtimeType,const DeepCollectionEquality().hash(data)); + +@override +String toString() { + return 'SuccessAction(data: $data)'; +} + + } /// @nodoc -abstract class $SuccessActionCopyWith<$Res> { - factory $SuccessActionCopyWith(SuccessAction value, $Res Function(SuccessAction) then) = - _$SuccessActionCopyWithImpl<$Res, SuccessAction>; +class $SuccessActionCopyWith<$Res> { +$SuccessActionCopyWith(SuccessAction _, $Res Function(SuccessAction) __); +} + + +/// @nodoc + + +class SuccessAction_Aes extends SuccessAction { + const SuccessAction_Aes({required this.data}): super._(); + + +@override final AesSuccessActionData data; + +/// Create a copy of SuccessAction +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SuccessAction_AesCopyWith get copyWith => _$SuccessAction_AesCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SuccessAction_Aes&&(identical(other.data, data) || other.data == data)); +} + + +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'SuccessAction.aes(data: $data)'; +} + + } /// @nodoc -class _$SuccessActionCopyWithImpl<$Res, $Val extends SuccessAction> implements $SuccessActionCopyWith<$Res> { - _$SuccessActionCopyWithImpl(this._value, this._then); +abstract mixin class $SuccessAction_AesCopyWith<$Res> implements $SuccessActionCopyWith<$Res> { + factory $SuccessAction_AesCopyWith(SuccessAction_Aes value, $Res Function(SuccessAction_Aes) _then) = _$SuccessAction_AesCopyWithImpl; +@useResult +$Res call({ + AesSuccessActionData data +}); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of SuccessAction - /// with the given fields replaced by the non-null parameter values. + + +} +/// @nodoc +class _$SuccessAction_AesCopyWithImpl<$Res> + implements $SuccessAction_AesCopyWith<$Res> { + _$SuccessAction_AesCopyWithImpl(this._self, this._then); + + final SuccessAction_Aes _self; + final $Res Function(SuccessAction_Aes) _then; + +/// Create a copy of SuccessAction +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(SuccessAction_Aes( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as AesSuccessActionData, + )); } -/// @nodoc -abstract class _$$SuccessAction_AesImplCopyWith<$Res> { - factory _$$SuccessAction_AesImplCopyWith( - _$SuccessAction_AesImpl value, - $Res Function(_$SuccessAction_AesImpl) then, - ) = __$$SuccessAction_AesImplCopyWithImpl<$Res>; - @useResult - $Res call({AesSuccessActionData data}); -} -/// @nodoc -class __$$SuccessAction_AesImplCopyWithImpl<$Res> - extends _$SuccessActionCopyWithImpl<$Res, _$SuccessAction_AesImpl> - implements _$$SuccessAction_AesImplCopyWith<$Res> { - __$$SuccessAction_AesImplCopyWithImpl( - _$SuccessAction_AesImpl _value, - $Res Function(_$SuccessAction_AesImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SuccessAction - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$SuccessAction_AesImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as AesSuccessActionData, - ), - ); - } } /// @nodoc -class _$SuccessAction_AesImpl extends SuccessAction_Aes { - const _$SuccessAction_AesImpl({required this.data}) : super._(); - @override - final AesSuccessActionData data; +class SuccessAction_Message extends SuccessAction { + const SuccessAction_Message({required this.data}): super._(); + - @override - String toString() { - return 'SuccessAction.aes(data: $data)'; - } +@override final MessageSuccessActionData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SuccessAction_AesImpl && - (identical(other.data, data) || other.data == data)); - } +/// Create a copy of SuccessAction +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SuccessAction_MessageCopyWith get copyWith => _$SuccessAction_MessageCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data); - /// Create a copy of SuccessAction - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SuccessAction_AesImplCopyWith<_$SuccessAction_AesImpl> get copyWith => - __$$SuccessAction_AesImplCopyWithImpl<_$SuccessAction_AesImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SuccessAction_Message&&(identical(other.data, data) || other.data == data)); } -abstract class SuccessAction_Aes extends SuccessAction { - const factory SuccessAction_Aes({required final AesSuccessActionData data}) = _$SuccessAction_AesImpl; - const SuccessAction_Aes._() : super._(); - @override - AesSuccessActionData get data; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'SuccessAction.message(data: $data)'; +} + - /// Create a copy of SuccessAction - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SuccessAction_AesImplCopyWith<_$SuccessAction_AesImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$SuccessAction_MessageImplCopyWith<$Res> { - factory _$$SuccessAction_MessageImplCopyWith( - _$SuccessAction_MessageImpl value, - $Res Function(_$SuccessAction_MessageImpl) then, - ) = __$$SuccessAction_MessageImplCopyWithImpl<$Res>; - @useResult - $Res call({MessageSuccessActionData data}); +abstract mixin class $SuccessAction_MessageCopyWith<$Res> implements $SuccessActionCopyWith<$Res> { + factory $SuccessAction_MessageCopyWith(SuccessAction_Message value, $Res Function(SuccessAction_Message) _then) = _$SuccessAction_MessageCopyWithImpl; +@useResult +$Res call({ + MessageSuccessActionData data +}); + + + + +} +/// @nodoc +class _$SuccessAction_MessageCopyWithImpl<$Res> + implements $SuccessAction_MessageCopyWith<$Res> { + _$SuccessAction_MessageCopyWithImpl(this._self, this._then); + + final SuccessAction_Message _self; + final $Res Function(SuccessAction_Message) _then; + +/// Create a copy of SuccessAction +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(SuccessAction_Message( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as MessageSuccessActionData, + )); } -/// @nodoc -class __$$SuccessAction_MessageImplCopyWithImpl<$Res> - extends _$SuccessActionCopyWithImpl<$Res, _$SuccessAction_MessageImpl> - implements _$$SuccessAction_MessageImplCopyWith<$Res> { - __$$SuccessAction_MessageImplCopyWithImpl( - _$SuccessAction_MessageImpl _value, - $Res Function(_$SuccessAction_MessageImpl) _then, - ) : super(_value, _then); - /// Create a copy of SuccessAction - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$SuccessAction_MessageImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as MessageSuccessActionData, - ), - ); - } } /// @nodoc -class _$SuccessAction_MessageImpl extends SuccessAction_Message { - const _$SuccessAction_MessageImpl({required this.data}) : super._(); - @override - final MessageSuccessActionData data; +class SuccessAction_Url extends SuccessAction { + const SuccessAction_Url({required this.data}): super._(); + - @override - String toString() { - return 'SuccessAction.message(data: $data)'; - } +@override final UrlSuccessActionData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SuccessAction_MessageImpl && - (identical(other.data, data) || other.data == data)); - } +/// Create a copy of SuccessAction +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SuccessAction_UrlCopyWith get copyWith => _$SuccessAction_UrlCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data); - /// Create a copy of SuccessAction - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SuccessAction_MessageImplCopyWith<_$SuccessAction_MessageImpl> get copyWith => - __$$SuccessAction_MessageImplCopyWithImpl<_$SuccessAction_MessageImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SuccessAction_Url&&(identical(other.data, data) || other.data == data)); } -abstract class SuccessAction_Message extends SuccessAction { - const factory SuccessAction_Message({required final MessageSuccessActionData data}) = - _$SuccessAction_MessageImpl; - const SuccessAction_Message._() : super._(); - @override - MessageSuccessActionData get data; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'SuccessAction.url(data: $data)'; +} + - /// Create a copy of SuccessAction - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SuccessAction_MessageImplCopyWith<_$SuccessAction_MessageImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$SuccessAction_UrlImplCopyWith<$Res> { - factory _$$SuccessAction_UrlImplCopyWith( - _$SuccessAction_UrlImpl value, - $Res Function(_$SuccessAction_UrlImpl) then, - ) = __$$SuccessAction_UrlImplCopyWithImpl<$Res>; - @useResult - $Res call({UrlSuccessActionData data}); +abstract mixin class $SuccessAction_UrlCopyWith<$Res> implements $SuccessActionCopyWith<$Res> { + factory $SuccessAction_UrlCopyWith(SuccessAction_Url value, $Res Function(SuccessAction_Url) _then) = _$SuccessAction_UrlCopyWithImpl; +@useResult +$Res call({ + UrlSuccessActionData data +}); + + + + +} +/// @nodoc +class _$SuccessAction_UrlCopyWithImpl<$Res> + implements $SuccessAction_UrlCopyWith<$Res> { + _$SuccessAction_UrlCopyWithImpl(this._self, this._then); + + final SuccessAction_Url _self; + final $Res Function(SuccessAction_Url) _then; + +/// Create a copy of SuccessAction +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(SuccessAction_Url( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as UrlSuccessActionData, + )); +} + + } /// @nodoc -class __$$SuccessAction_UrlImplCopyWithImpl<$Res> - extends _$SuccessActionCopyWithImpl<$Res, _$SuccessAction_UrlImpl> - implements _$$SuccessAction_UrlImplCopyWith<$Res> { - __$$SuccessAction_UrlImplCopyWithImpl( - _$SuccessAction_UrlImpl _value, - $Res Function(_$SuccessAction_UrlImpl) _then, - ) : super(_value, _then); +mixin _$SuccessActionProcessed { - /// Create a copy of SuccessAction - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$SuccessAction_UrlImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as UrlSuccessActionData, - ), - ); - } + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SuccessActionProcessed); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'SuccessActionProcessed()'; +} + + +} + +/// @nodoc +class $SuccessActionProcessedCopyWith<$Res> { +$SuccessActionProcessedCopyWith(SuccessActionProcessed _, $Res Function(SuccessActionProcessed) __); +} + + +/// @nodoc + + +class SuccessActionProcessed_Aes extends SuccessActionProcessed { + const SuccessActionProcessed_Aes({required this.result}): super._(); + + + final AesSuccessActionDataResult result; + +/// Create a copy of SuccessActionProcessed +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SuccessActionProcessed_AesCopyWith get copyWith => _$SuccessActionProcessed_AesCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SuccessActionProcessed_Aes&&(identical(other.result, result) || other.result == result)); +} + + +@override +int get hashCode => Object.hash(runtimeType,result); + +@override +String toString() { + return 'SuccessActionProcessed.aes(result: $result)'; +} + + +} + +/// @nodoc +abstract mixin class $SuccessActionProcessed_AesCopyWith<$Res> implements $SuccessActionProcessedCopyWith<$Res> { + factory $SuccessActionProcessed_AesCopyWith(SuccessActionProcessed_Aes value, $Res Function(SuccessActionProcessed_Aes) _then) = _$SuccessActionProcessed_AesCopyWithImpl; +@useResult +$Res call({ + AesSuccessActionDataResult result +}); + + +$AesSuccessActionDataResultCopyWith<$Res> get result; + +} +/// @nodoc +class _$SuccessActionProcessed_AesCopyWithImpl<$Res> + implements $SuccessActionProcessed_AesCopyWith<$Res> { + _$SuccessActionProcessed_AesCopyWithImpl(this._self, this._then); + + final SuccessActionProcessed_Aes _self; + final $Res Function(SuccessActionProcessed_Aes) _then; + +/// Create a copy of SuccessActionProcessed +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? result = null,}) { + return _then(SuccessActionProcessed_Aes( +result: null == result ? _self.result : result // ignore: cast_nullable_to_non_nullable +as AesSuccessActionDataResult, + )); +} + +/// Create a copy of SuccessActionProcessed +/// with the given fields replaced by the non-null parameter values. +@override +@pragma('vm:prefer-inline') +$AesSuccessActionDataResultCopyWith<$Res> get result { + + return $AesSuccessActionDataResultCopyWith<$Res>(_self.result, (value) { + return _then(_self.copyWith(result: value)); + }); +} } /// @nodoc -class _$SuccessAction_UrlImpl extends SuccessAction_Url { - const _$SuccessAction_UrlImpl({required this.data}) : super._(); - @override - final UrlSuccessActionData data; +class SuccessActionProcessed_Message extends SuccessActionProcessed { + const SuccessActionProcessed_Message({required this.data}): super._(); + - @override - String toString() { - return 'SuccessAction.url(data: $data)'; - } + final MessageSuccessActionData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SuccessAction_UrlImpl && - (identical(other.data, data) || other.data == data)); - } +/// Create a copy of SuccessActionProcessed +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SuccessActionProcessed_MessageCopyWith get copyWith => _$SuccessActionProcessed_MessageCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data); - /// Create a copy of SuccessAction - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SuccessAction_UrlImplCopyWith<_$SuccessAction_UrlImpl> get copyWith => - __$$SuccessAction_UrlImplCopyWithImpl<_$SuccessAction_UrlImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SuccessActionProcessed_Message&&(identical(other.data, data) || other.data == data)); } -abstract class SuccessAction_Url extends SuccessAction { - const factory SuccessAction_Url({required final UrlSuccessActionData data}) = _$SuccessAction_UrlImpl; - const SuccessAction_Url._() : super._(); - @override - UrlSuccessActionData get data; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'SuccessActionProcessed.message(data: $data)'; +} + - /// Create a copy of SuccessAction - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SuccessAction_UrlImplCopyWith<_$SuccessAction_UrlImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -mixin _$SuccessActionProcessed {} +abstract mixin class $SuccessActionProcessed_MessageCopyWith<$Res> implements $SuccessActionProcessedCopyWith<$Res> { + factory $SuccessActionProcessed_MessageCopyWith(SuccessActionProcessed_Message value, $Res Function(SuccessActionProcessed_Message) _then) = _$SuccessActionProcessed_MessageCopyWithImpl; +@useResult +$Res call({ + MessageSuccessActionData data +}); + + + +} /// @nodoc -abstract class $SuccessActionProcessedCopyWith<$Res> { - factory $SuccessActionProcessedCopyWith( - SuccessActionProcessed value, - $Res Function(SuccessActionProcessed) then, - ) = _$SuccessActionProcessedCopyWithImpl<$Res, SuccessActionProcessed>; +class _$SuccessActionProcessed_MessageCopyWithImpl<$Res> + implements $SuccessActionProcessed_MessageCopyWith<$Res> { + _$SuccessActionProcessed_MessageCopyWithImpl(this._self, this._then); + + final SuccessActionProcessed_Message _self; + final $Res Function(SuccessActionProcessed_Message) _then; + +/// Create a copy of SuccessActionProcessed +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(SuccessActionProcessed_Message( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as MessageSuccessActionData, + )); } -/// @nodoc -class _$SuccessActionProcessedCopyWithImpl<$Res, $Val extends SuccessActionProcessed> - implements $SuccessActionProcessedCopyWith<$Res> { - _$SuccessActionProcessedCopyWithImpl(this._value, this._then); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. -} - -/// @nodoc -abstract class _$$SuccessActionProcessed_AesImplCopyWith<$Res> { - factory _$$SuccessActionProcessed_AesImplCopyWith( - _$SuccessActionProcessed_AesImpl value, - $Res Function(_$SuccessActionProcessed_AesImpl) then, - ) = __$$SuccessActionProcessed_AesImplCopyWithImpl<$Res>; - @useResult - $Res call({AesSuccessActionDataResult result}); - - $AesSuccessActionDataResultCopyWith<$Res> get result; -} - -/// @nodoc -class __$$SuccessActionProcessed_AesImplCopyWithImpl<$Res> - extends _$SuccessActionProcessedCopyWithImpl<$Res, _$SuccessActionProcessed_AesImpl> - implements _$$SuccessActionProcessed_AesImplCopyWith<$Res> { - __$$SuccessActionProcessed_AesImplCopyWithImpl( - _$SuccessActionProcessed_AesImpl _value, - $Res Function(_$SuccessActionProcessed_AesImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? result = null}) { - return _then( - _$SuccessActionProcessed_AesImpl( - result: - null == result - ? _value.result - : result // ignore: cast_nullable_to_non_nullable - as AesSuccessActionDataResult, - ), - ); - } - - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. - @override - @pragma('vm:prefer-inline') - $AesSuccessActionDataResultCopyWith<$Res> get result { - return $AesSuccessActionDataResultCopyWith<$Res>(_value.result, (value) { - return _then(_value.copyWith(result: value)); - }); - } } /// @nodoc -class _$SuccessActionProcessed_AesImpl extends SuccessActionProcessed_Aes { - const _$SuccessActionProcessed_AesImpl({required this.result}) : super._(); - @override - final AesSuccessActionDataResult result; +class SuccessActionProcessed_Url extends SuccessActionProcessed { + const SuccessActionProcessed_Url({required this.data}): super._(); + - @override - String toString() { - return 'SuccessActionProcessed.aes(result: $result)'; - } + final UrlSuccessActionData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SuccessActionProcessed_AesImpl && - (identical(other.result, result) || other.result == result)); - } +/// Create a copy of SuccessActionProcessed +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SuccessActionProcessed_UrlCopyWith get copyWith => _$SuccessActionProcessed_UrlCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, result); - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SuccessActionProcessed_AesImplCopyWith<_$SuccessActionProcessed_AesImpl> get copyWith => - __$$SuccessActionProcessed_AesImplCopyWithImpl<_$SuccessActionProcessed_AesImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SuccessActionProcessed_Url&&(identical(other.data, data) || other.data == data)); } -abstract class SuccessActionProcessed_Aes extends SuccessActionProcessed { - const factory SuccessActionProcessed_Aes({required final AesSuccessActionDataResult result}) = - _$SuccessActionProcessed_AesImpl; - const SuccessActionProcessed_Aes._() : super._(); - AesSuccessActionDataResult get result; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'SuccessActionProcessed.url(data: $data)'; +} + - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SuccessActionProcessed_AesImplCopyWith<_$SuccessActionProcessed_AesImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$SuccessActionProcessed_MessageImplCopyWith<$Res> { - factory _$$SuccessActionProcessed_MessageImplCopyWith( - _$SuccessActionProcessed_MessageImpl value, - $Res Function(_$SuccessActionProcessed_MessageImpl) then, - ) = __$$SuccessActionProcessed_MessageImplCopyWithImpl<$Res>; - @useResult - $Res call({MessageSuccessActionData data}); -} +abstract mixin class $SuccessActionProcessed_UrlCopyWith<$Res> implements $SuccessActionProcessedCopyWith<$Res> { + factory $SuccessActionProcessed_UrlCopyWith(SuccessActionProcessed_Url value, $Res Function(SuccessActionProcessed_Url) _then) = _$SuccessActionProcessed_UrlCopyWithImpl; +@useResult +$Res call({ + UrlSuccessActionData data +}); + + + +} /// @nodoc -class __$$SuccessActionProcessed_MessageImplCopyWithImpl<$Res> - extends _$SuccessActionProcessedCopyWithImpl<$Res, _$SuccessActionProcessed_MessageImpl> - implements _$$SuccessActionProcessed_MessageImplCopyWith<$Res> { - __$$SuccessActionProcessed_MessageImplCopyWithImpl( - _$SuccessActionProcessed_MessageImpl _value, - $Res Function(_$SuccessActionProcessed_MessageImpl) _then, - ) : super(_value, _then); +class _$SuccessActionProcessed_UrlCopyWithImpl<$Res> + implements $SuccessActionProcessed_UrlCopyWith<$Res> { + _$SuccessActionProcessed_UrlCopyWithImpl(this._self, this._then); - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$SuccessActionProcessed_MessageImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as MessageSuccessActionData, - ), - ); - } + final SuccessActionProcessed_Url _self; + final $Res Function(SuccessActionProcessed_Url) _then; + +/// Create a copy of SuccessActionProcessed +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(SuccessActionProcessed_Url( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as UrlSuccessActionData, + )); } -/// @nodoc -class _$SuccessActionProcessed_MessageImpl extends SuccessActionProcessed_Message { - const _$SuccessActionProcessed_MessageImpl({required this.data}) : super._(); - - @override - final MessageSuccessActionData data; - - @override - String toString() { - return 'SuccessActionProcessed.message(data: $data)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SuccessActionProcessed_MessageImpl && - (identical(other.data, data) || other.data == data)); - } - - @override - int get hashCode => Object.hash(runtimeType, data); - - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SuccessActionProcessed_MessageImplCopyWith<_$SuccessActionProcessed_MessageImpl> get copyWith => - __$$SuccessActionProcessed_MessageImplCopyWithImpl<_$SuccessActionProcessed_MessageImpl>( - this, - _$identity, - ); } -abstract class SuccessActionProcessed_Message extends SuccessActionProcessed { - const factory SuccessActionProcessed_Message({required final MessageSuccessActionData data}) = - _$SuccessActionProcessed_MessageImpl; - const SuccessActionProcessed_Message._() : super._(); - - MessageSuccessActionData get data; - - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SuccessActionProcessed_MessageImplCopyWith<_$SuccessActionProcessed_MessageImpl> get copyWith => - throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$SuccessActionProcessed_UrlImplCopyWith<$Res> { - factory _$$SuccessActionProcessed_UrlImplCopyWith( - _$SuccessActionProcessed_UrlImpl value, - $Res Function(_$SuccessActionProcessed_UrlImpl) then, - ) = __$$SuccessActionProcessed_UrlImplCopyWithImpl<$Res>; - @useResult - $Res call({UrlSuccessActionData data}); -} - -/// @nodoc -class __$$SuccessActionProcessed_UrlImplCopyWithImpl<$Res> - extends _$SuccessActionProcessedCopyWithImpl<$Res, _$SuccessActionProcessed_UrlImpl> - implements _$$SuccessActionProcessed_UrlImplCopyWith<$Res> { - __$$SuccessActionProcessed_UrlImplCopyWithImpl( - _$SuccessActionProcessed_UrlImpl _value, - $Res Function(_$SuccessActionProcessed_UrlImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$SuccessActionProcessed_UrlImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as UrlSuccessActionData, - ), - ); - } -} - -/// @nodoc - -class _$SuccessActionProcessed_UrlImpl extends SuccessActionProcessed_Url { - const _$SuccessActionProcessed_UrlImpl({required this.data}) : super._(); - - @override - final UrlSuccessActionData data; - - @override - String toString() { - return 'SuccessActionProcessed.url(data: $data)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SuccessActionProcessed_UrlImpl && - (identical(other.data, data) || other.data == data)); - } - - @override - int get hashCode => Object.hash(runtimeType, data); - - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SuccessActionProcessed_UrlImplCopyWith<_$SuccessActionProcessed_UrlImpl> get copyWith => - __$$SuccessActionProcessed_UrlImplCopyWithImpl<_$SuccessActionProcessed_UrlImpl>(this, _$identity); -} - -abstract class SuccessActionProcessed_Url extends SuccessActionProcessed { - const factory SuccessActionProcessed_Url({required final UrlSuccessActionData data}) = - _$SuccessActionProcessed_UrlImpl; - const SuccessActionProcessed_Url._() : super._(); - - UrlSuccessActionData get data; - - /// Create a copy of SuccessActionProcessed - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SuccessActionProcessed_UrlImplCopyWith<_$SuccessActionProcessed_UrlImpl> get copyWith => - throw _privateConstructorUsedError; -} +// dart format on diff --git a/packages/dart/lib/src/bindings/duplicates.dart b/packages/dart/lib/src/bindings/duplicates.dart index ba215e7..7937f28 100644 --- a/packages/dart/lib/src/bindings/duplicates.dart +++ b/packages/dart/lib/src/bindings/duplicates.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.8.0. +// @generated by `flutter_rust_bridge`@ 2.9.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/packages/dart/lib/src/bindings/duplicates.freezed.dart b/packages/dart/lib/src/bindings/duplicates.freezed.dart index 6a253e3..c187f85 100644 --- a/packages/dart/lib/src/bindings/duplicates.freezed.dart +++ b/packages/dart/lib/src/bindings/duplicates.freezed.dart @@ -1,3 +1,4 @@ +// dart format width=80 // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint @@ -9,2310 +10,1866 @@ part of 'duplicates.dart'; // FreezedGenerator // ************************************************************************** +// dart format off T _$identity(T value) => value; - -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - /// @nodoc mixin _$LnUrlAuthError { - String get err => throw _privateConstructorUsedError; - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $LnUrlAuthErrorCopyWith get copyWith => throw _privateConstructorUsedError; + String get err; +/// Create a copy of LnUrlAuthError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlAuthErrorCopyWith get copyWith => _$LnUrlAuthErrorCopyWithImpl(this as LnUrlAuthError, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlAuthError&&(identical(other.err, err) || other.err == err)); +} + + +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlAuthError(err: $err)'; +} + + } /// @nodoc -abstract class $LnUrlAuthErrorCopyWith<$Res> { - factory $LnUrlAuthErrorCopyWith(LnUrlAuthError value, $Res Function(LnUrlAuthError) then) = - _$LnUrlAuthErrorCopyWithImpl<$Res, LnUrlAuthError>; - @useResult - $Res call({String err}); -} +abstract mixin class $LnUrlAuthErrorCopyWith<$Res> { + factory $LnUrlAuthErrorCopyWith(LnUrlAuthError value, $Res Function(LnUrlAuthError) _then) = _$LnUrlAuthErrorCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + +} /// @nodoc -class _$LnUrlAuthErrorCopyWithImpl<$Res, $Val extends LnUrlAuthError> +class _$LnUrlAuthErrorCopyWithImpl<$Res> implements $LnUrlAuthErrorCopyWith<$Res> { - _$LnUrlAuthErrorCopyWithImpl(this._value, this._then); + _$LnUrlAuthErrorCopyWithImpl(this._self, this._then); + + final LnUrlAuthError _self; + final $Res Function(LnUrlAuthError) _then; + +/// Create a copy of LnUrlAuthError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? err = null,}) { + return _then(_self.copyWith( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// @nodoc + + +class LnUrlAuthError_Generic extends LnUrlAuthError { + const LnUrlAuthError_Generic({required this.err}): super._(); + + +@override final String err; + +/// Create a copy of LnUrlAuthError +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlAuthError_GenericCopyWith get copyWith => _$LnUrlAuthError_GenericCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlAuthError_Generic&&(identical(other.err, err) || other.err == err)); +} + + +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlAuthError.generic(err: $err)'; +} - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _value.copyWith( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } } /// @nodoc -abstract class _$$LnUrlAuthError_GenericImplCopyWith<$Res> implements $LnUrlAuthErrorCopyWith<$Res> { - factory _$$LnUrlAuthError_GenericImplCopyWith( - _$LnUrlAuthError_GenericImpl value, - $Res Function(_$LnUrlAuthError_GenericImpl) then, - ) = __$$LnUrlAuthError_GenericImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String err}); +abstract mixin class $LnUrlAuthError_GenericCopyWith<$Res> implements $LnUrlAuthErrorCopyWith<$Res> { + factory $LnUrlAuthError_GenericCopyWith(LnUrlAuthError_Generic value, $Res Function(LnUrlAuthError_Generic) _then) = _$LnUrlAuthError_GenericCopyWithImpl; +@override @useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlAuthError_GenericCopyWithImpl<$Res> + implements $LnUrlAuthError_GenericCopyWith<$Res> { + _$LnUrlAuthError_GenericCopyWithImpl(this._self, this._then); + + final LnUrlAuthError_Generic _self; + final $Res Function(LnUrlAuthError_Generic) _then; + +/// Create a copy of LnUrlAuthError +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlAuthError_Generic( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlAuthError_GenericImplCopyWithImpl<$Res> - extends _$LnUrlAuthErrorCopyWithImpl<$Res, _$LnUrlAuthError_GenericImpl> - implements _$$LnUrlAuthError_GenericImplCopyWith<$Res> { - __$$LnUrlAuthError_GenericImplCopyWithImpl( - _$LnUrlAuthError_GenericImpl _value, - $Res Function(_$LnUrlAuthError_GenericImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlAuthError_GenericImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlAuthError_GenericImpl extends LnUrlAuthError_Generic { - const _$LnUrlAuthError_GenericImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlAuthError_InvalidUri extends LnUrlAuthError { + const LnUrlAuthError_InvalidUri({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlAuthError.generic(err: $err)'; - } +@override final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlAuthError_GenericImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlAuthError +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlAuthError_InvalidUriCopyWith get copyWith => _$LnUrlAuthError_InvalidUriCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlAuthError_GenericImplCopyWith<_$LnUrlAuthError_GenericImpl> get copyWith => - __$$LnUrlAuthError_GenericImplCopyWithImpl<_$LnUrlAuthError_GenericImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlAuthError_InvalidUri&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlAuthError_Generic extends LnUrlAuthError { - const factory LnUrlAuthError_Generic({required final String err}) = _$LnUrlAuthError_GenericImpl; - const LnUrlAuthError_Generic._() : super._(); - @override - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlAuthError.invalidUri(err: $err)'; +} + - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlAuthError_GenericImplCopyWith<_$LnUrlAuthError_GenericImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlAuthError_InvalidUriImplCopyWith<$Res> implements $LnUrlAuthErrorCopyWith<$Res> { - factory _$$LnUrlAuthError_InvalidUriImplCopyWith( - _$LnUrlAuthError_InvalidUriImpl value, - $Res Function(_$LnUrlAuthError_InvalidUriImpl) then, - ) = __$$LnUrlAuthError_InvalidUriImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String err}); +abstract mixin class $LnUrlAuthError_InvalidUriCopyWith<$Res> implements $LnUrlAuthErrorCopyWith<$Res> { + factory $LnUrlAuthError_InvalidUriCopyWith(LnUrlAuthError_InvalidUri value, $Res Function(LnUrlAuthError_InvalidUri) _then) = _$LnUrlAuthError_InvalidUriCopyWithImpl; +@override @useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlAuthError_InvalidUriCopyWithImpl<$Res> + implements $LnUrlAuthError_InvalidUriCopyWith<$Res> { + _$LnUrlAuthError_InvalidUriCopyWithImpl(this._self, this._then); + + final LnUrlAuthError_InvalidUri _self; + final $Res Function(LnUrlAuthError_InvalidUri) _then; + +/// Create a copy of LnUrlAuthError +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlAuthError_InvalidUri( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlAuthError_InvalidUriImplCopyWithImpl<$Res> - extends _$LnUrlAuthErrorCopyWithImpl<$Res, _$LnUrlAuthError_InvalidUriImpl> - implements _$$LnUrlAuthError_InvalidUriImplCopyWith<$Res> { - __$$LnUrlAuthError_InvalidUriImplCopyWithImpl( - _$LnUrlAuthError_InvalidUriImpl _value, - $Res Function(_$LnUrlAuthError_InvalidUriImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlAuthError_InvalidUriImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlAuthError_InvalidUriImpl extends LnUrlAuthError_InvalidUri { - const _$LnUrlAuthError_InvalidUriImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlAuthError_ServiceConnectivity extends LnUrlAuthError { + const LnUrlAuthError_ServiceConnectivity({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlAuthError.invalidUri(err: $err)'; - } +@override final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlAuthError_InvalidUriImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlAuthError +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlAuthError_ServiceConnectivityCopyWith get copyWith => _$LnUrlAuthError_ServiceConnectivityCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlAuthError_InvalidUriImplCopyWith<_$LnUrlAuthError_InvalidUriImpl> get copyWith => - __$$LnUrlAuthError_InvalidUriImplCopyWithImpl<_$LnUrlAuthError_InvalidUriImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlAuthError_ServiceConnectivity&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlAuthError_InvalidUri extends LnUrlAuthError { - const factory LnUrlAuthError_InvalidUri({required final String err}) = _$LnUrlAuthError_InvalidUriImpl; - const LnUrlAuthError_InvalidUri._() : super._(); - @override - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlAuthError.serviceConnectivity(err: $err)'; +} + - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlAuthError_InvalidUriImplCopyWith<_$LnUrlAuthError_InvalidUriImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlAuthError_ServiceConnectivityImplCopyWith<$Res> - implements $LnUrlAuthErrorCopyWith<$Res> { - factory _$$LnUrlAuthError_ServiceConnectivityImplCopyWith( - _$LnUrlAuthError_ServiceConnectivityImpl value, - $Res Function(_$LnUrlAuthError_ServiceConnectivityImpl) then, - ) = __$$LnUrlAuthError_ServiceConnectivityImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String err}); +abstract mixin class $LnUrlAuthError_ServiceConnectivityCopyWith<$Res> implements $LnUrlAuthErrorCopyWith<$Res> { + factory $LnUrlAuthError_ServiceConnectivityCopyWith(LnUrlAuthError_ServiceConnectivity value, $Res Function(LnUrlAuthError_ServiceConnectivity) _then) = _$LnUrlAuthError_ServiceConnectivityCopyWithImpl; +@override @useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlAuthError_ServiceConnectivityCopyWithImpl<$Res> + implements $LnUrlAuthError_ServiceConnectivityCopyWith<$Res> { + _$LnUrlAuthError_ServiceConnectivityCopyWithImpl(this._self, this._then); + + final LnUrlAuthError_ServiceConnectivity _self; + final $Res Function(LnUrlAuthError_ServiceConnectivity) _then; + +/// Create a copy of LnUrlAuthError +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlAuthError_ServiceConnectivity( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class __$$LnUrlAuthError_ServiceConnectivityImplCopyWithImpl<$Res> - extends _$LnUrlAuthErrorCopyWithImpl<$Res, _$LnUrlAuthError_ServiceConnectivityImpl> - implements _$$LnUrlAuthError_ServiceConnectivityImplCopyWith<$Res> { - __$$LnUrlAuthError_ServiceConnectivityImplCopyWithImpl( - _$LnUrlAuthError_ServiceConnectivityImpl _value, - $Res Function(_$LnUrlAuthError_ServiceConnectivityImpl) _then, - ) : super(_value, _then); +mixin _$LnUrlCallbackStatus { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlCallbackStatus); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'LnUrlCallbackStatus()'; +} + + +} + +/// @nodoc +class $LnUrlCallbackStatusCopyWith<$Res> { +$LnUrlCallbackStatusCopyWith(LnUrlCallbackStatus _, $Res Function(LnUrlCallbackStatus) __); +} + + +/// @nodoc + + +class LnUrlCallbackStatus_Ok extends LnUrlCallbackStatus { + const LnUrlCallbackStatus_Ok(): super._(); + + + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlCallbackStatus_Ok); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'LnUrlCallbackStatus.ok()'; +} + + +} + + + + +/// @nodoc + + +class LnUrlCallbackStatus_ErrorStatus extends LnUrlCallbackStatus { + const LnUrlCallbackStatus_ErrorStatus({required this.data}): super._(); + + + final LnUrlErrorData data; + +/// Create a copy of LnUrlCallbackStatus +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlCallbackStatus_ErrorStatusCopyWith get copyWith => _$LnUrlCallbackStatus_ErrorStatusCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlCallbackStatus_ErrorStatus&&(identical(other.data, data) || other.data == data)); +} + + +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'LnUrlCallbackStatus.errorStatus(data: $data)'; +} + + +} + +/// @nodoc +abstract mixin class $LnUrlCallbackStatus_ErrorStatusCopyWith<$Res> implements $LnUrlCallbackStatusCopyWith<$Res> { + factory $LnUrlCallbackStatus_ErrorStatusCopyWith(LnUrlCallbackStatus_ErrorStatus value, $Res Function(LnUrlCallbackStatus_ErrorStatus) _then) = _$LnUrlCallbackStatus_ErrorStatusCopyWithImpl; +@useResult +$Res call({ + LnUrlErrorData data +}); + + + + +} +/// @nodoc +class _$LnUrlCallbackStatus_ErrorStatusCopyWithImpl<$Res> + implements $LnUrlCallbackStatus_ErrorStatusCopyWith<$Res> { + _$LnUrlCallbackStatus_ErrorStatusCopyWithImpl(this._self, this._then); + + final LnUrlCallbackStatus_ErrorStatus _self; + final $Res Function(LnUrlCallbackStatus_ErrorStatus) _then; + +/// Create a copy of LnUrlCallbackStatus +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(LnUrlCallbackStatus_ErrorStatus( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlErrorData, + )); +} + + +} + +/// @nodoc +mixin _$LnUrlPayError { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'LnUrlPayError()'; +} + + +} + +/// @nodoc +class $LnUrlPayErrorCopyWith<$Res> { +$LnUrlPayErrorCopyWith(LnUrlPayError _, $Res Function(LnUrlPayError) __); +} + + +/// @nodoc + + +class LnUrlPayError_AlreadyPaid extends LnUrlPayError { + const LnUrlPayError_AlreadyPaid(): super._(); + + + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_AlreadyPaid); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'LnUrlPayError.alreadyPaid()'; +} + + +} + + + + +/// @nodoc + + +class LnUrlPayError_Generic extends LnUrlPayError { + const LnUrlPayError_Generic({required this.err}): super._(); + + + final String err; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_GenericCopyWith get copyWith => _$LnUrlPayError_GenericCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_Generic&&(identical(other.err, err) || other.err == err)); +} + + +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.generic(err: $err)'; +} + + +} + +/// @nodoc +abstract mixin class $LnUrlPayError_GenericCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_GenericCopyWith(LnUrlPayError_Generic value, $Res Function(LnUrlPayError_Generic) _then) = _$LnUrlPayError_GenericCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlPayError_GenericCopyWithImpl<$Res> + implements $LnUrlPayError_GenericCopyWith<$Res> { + _$LnUrlPayError_GenericCopyWithImpl(this._self, this._then); + + final LnUrlPayError_Generic _self; + final $Res Function(LnUrlPayError_Generic) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_Generic( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} + - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlAuthError_ServiceConnectivityImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlAuthError_ServiceConnectivityImpl extends LnUrlAuthError_ServiceConnectivity { - const _$LnUrlAuthError_ServiceConnectivityImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlPayError_InvalidAmount extends LnUrlPayError { + const LnUrlPayError_InvalidAmount({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlAuthError.serviceConnectivity(err: $err)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlAuthError_ServiceConnectivityImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_InvalidAmountCopyWith get copyWith => _$LnUrlPayError_InvalidAmountCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlAuthError_ServiceConnectivityImplCopyWith<_$LnUrlAuthError_ServiceConnectivityImpl> get copyWith => - __$$LnUrlAuthError_ServiceConnectivityImplCopyWithImpl<_$LnUrlAuthError_ServiceConnectivityImpl>( - this, - _$identity, - ); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_InvalidAmount&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlAuthError_ServiceConnectivity extends LnUrlAuthError { - const factory LnUrlAuthError_ServiceConnectivity({required final String err}) = - _$LnUrlAuthError_ServiceConnectivityImpl; - const LnUrlAuthError_ServiceConnectivity._() : super._(); - @override - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.invalidAmount(err: $err)'; +} + - /// Create a copy of LnUrlAuthError - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlAuthError_ServiceConnectivityImplCopyWith<_$LnUrlAuthError_ServiceConnectivityImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -mixin _$LnUrlCallbackStatus {} +abstract mixin class $LnUrlPayError_InvalidAmountCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_InvalidAmountCopyWith(LnUrlPayError_InvalidAmount value, $Res Function(LnUrlPayError_InvalidAmount) _then) = _$LnUrlPayError_InvalidAmountCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + +} /// @nodoc -abstract class $LnUrlCallbackStatusCopyWith<$Res> { - factory $LnUrlCallbackStatusCopyWith(LnUrlCallbackStatus value, $Res Function(LnUrlCallbackStatus) then) = - _$LnUrlCallbackStatusCopyWithImpl<$Res, LnUrlCallbackStatus>; +class _$LnUrlPayError_InvalidAmountCopyWithImpl<$Res> + implements $LnUrlPayError_InvalidAmountCopyWith<$Res> { + _$LnUrlPayError_InvalidAmountCopyWithImpl(this._self, this._then); + + final LnUrlPayError_InvalidAmount _self; + final $Res Function(LnUrlPayError_InvalidAmount) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_InvalidAmount( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class _$LnUrlCallbackStatusCopyWithImpl<$Res, $Val extends LnUrlCallbackStatus> - implements $LnUrlCallbackStatusCopyWith<$Res> { - _$LnUrlCallbackStatusCopyWithImpl(this._value, this._then); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of LnUrlCallbackStatus - /// with the given fields replaced by the non-null parameter values. -} - -/// @nodoc -abstract class _$$LnUrlCallbackStatus_OkImplCopyWith<$Res> { - factory _$$LnUrlCallbackStatus_OkImplCopyWith( - _$LnUrlCallbackStatus_OkImpl value, - $Res Function(_$LnUrlCallbackStatus_OkImpl) then, - ) = __$$LnUrlCallbackStatus_OkImplCopyWithImpl<$Res>; -} - -/// @nodoc -class __$$LnUrlCallbackStatus_OkImplCopyWithImpl<$Res> - extends _$LnUrlCallbackStatusCopyWithImpl<$Res, _$LnUrlCallbackStatus_OkImpl> - implements _$$LnUrlCallbackStatus_OkImplCopyWith<$Res> { - __$$LnUrlCallbackStatus_OkImplCopyWithImpl( - _$LnUrlCallbackStatus_OkImpl _value, - $Res Function(_$LnUrlCallbackStatus_OkImpl) _then, - ) : super(_value, _then); - - /// Create a copy of LnUrlCallbackStatus - /// with the given fields replaced by the non-null parameter values. } /// @nodoc -class _$LnUrlCallbackStatus_OkImpl extends LnUrlCallbackStatus_Ok { - const _$LnUrlCallbackStatus_OkImpl() : super._(); - @override - String toString() { - return 'LnUrlCallbackStatus.ok()'; - } +class LnUrlPayError_InvalidInvoice extends LnUrlPayError { + const LnUrlPayError_InvalidInvoice({required this.err}): super._(); + - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$LnUrlCallbackStatus_OkImpl); - } + final String err; - @override - int get hashCode => runtimeType.hashCode; +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_InvalidInvoiceCopyWith get copyWith => _$LnUrlPayError_InvalidInvoiceCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_InvalidInvoice&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlCallbackStatus_Ok extends LnUrlCallbackStatus { - const factory LnUrlCallbackStatus_Ok() = _$LnUrlCallbackStatus_OkImpl; - const LnUrlCallbackStatus_Ok._() : super._(); + +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.invalidInvoice(err: $err)'; +} + + } /// @nodoc -abstract class _$$LnUrlCallbackStatus_ErrorStatusImplCopyWith<$Res> { - factory _$$LnUrlCallbackStatus_ErrorStatusImplCopyWith( - _$LnUrlCallbackStatus_ErrorStatusImpl value, - $Res Function(_$LnUrlCallbackStatus_ErrorStatusImpl) then, - ) = __$$LnUrlCallbackStatus_ErrorStatusImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlErrorData data}); +abstract mixin class $LnUrlPayError_InvalidInvoiceCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_InvalidInvoiceCopyWith(LnUrlPayError_InvalidInvoice value, $Res Function(LnUrlPayError_InvalidInvoice) _then) = _$LnUrlPayError_InvalidInvoiceCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlPayError_InvalidInvoiceCopyWithImpl<$Res> + implements $LnUrlPayError_InvalidInvoiceCopyWith<$Res> { + _$LnUrlPayError_InvalidInvoiceCopyWithImpl(this._self, this._then); + + final LnUrlPayError_InvalidInvoice _self; + final $Res Function(LnUrlPayError_InvalidInvoice) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_InvalidInvoice( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlCallbackStatus_ErrorStatusImplCopyWithImpl<$Res> - extends _$LnUrlCallbackStatusCopyWithImpl<$Res, _$LnUrlCallbackStatus_ErrorStatusImpl> - implements _$$LnUrlCallbackStatus_ErrorStatusImplCopyWith<$Res> { - __$$LnUrlCallbackStatus_ErrorStatusImplCopyWithImpl( - _$LnUrlCallbackStatus_ErrorStatusImpl _value, - $Res Function(_$LnUrlCallbackStatus_ErrorStatusImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlCallbackStatus - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$LnUrlCallbackStatus_ErrorStatusImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlErrorData, - ), - ); - } } /// @nodoc -class _$LnUrlCallbackStatus_ErrorStatusImpl extends LnUrlCallbackStatus_ErrorStatus { - const _$LnUrlCallbackStatus_ErrorStatusImpl({required this.data}) : super._(); - @override - final LnUrlErrorData data; +class LnUrlPayError_InvalidNetwork extends LnUrlPayError { + const LnUrlPayError_InvalidNetwork({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlCallbackStatus.errorStatus(data: $data)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlCallbackStatus_ErrorStatusImpl && - (identical(other.data, data) || other.data == data)); - } +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_InvalidNetworkCopyWith get copyWith => _$LnUrlPayError_InvalidNetworkCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data); - /// Create a copy of LnUrlCallbackStatus - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlCallbackStatus_ErrorStatusImplCopyWith<_$LnUrlCallbackStatus_ErrorStatusImpl> get copyWith => - __$$LnUrlCallbackStatus_ErrorStatusImplCopyWithImpl<_$LnUrlCallbackStatus_ErrorStatusImpl>( - this, - _$identity, - ); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_InvalidNetwork&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlCallbackStatus_ErrorStatus extends LnUrlCallbackStatus { - const factory LnUrlCallbackStatus_ErrorStatus({required final LnUrlErrorData data}) = - _$LnUrlCallbackStatus_ErrorStatusImpl; - const LnUrlCallbackStatus_ErrorStatus._() : super._(); - LnUrlErrorData get data; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.invalidNetwork(err: $err)'; +} + - /// Create a copy of LnUrlCallbackStatus - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlCallbackStatus_ErrorStatusImplCopyWith<_$LnUrlCallbackStatus_ErrorStatusImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -mixin _$LnUrlPayError {} +abstract mixin class $LnUrlPayError_InvalidNetworkCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_InvalidNetworkCopyWith(LnUrlPayError_InvalidNetwork value, $Res Function(LnUrlPayError_InvalidNetwork) _then) = _$LnUrlPayError_InvalidNetworkCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + +} /// @nodoc -abstract class $LnUrlPayErrorCopyWith<$Res> { - factory $LnUrlPayErrorCopyWith(LnUrlPayError value, $Res Function(LnUrlPayError) then) = - _$LnUrlPayErrorCopyWithImpl<$Res, LnUrlPayError>; +class _$LnUrlPayError_InvalidNetworkCopyWithImpl<$Res> + implements $LnUrlPayError_InvalidNetworkCopyWith<$Res> { + _$LnUrlPayError_InvalidNetworkCopyWithImpl(this._self, this._then); + + final LnUrlPayError_InvalidNetwork _self; + final $Res Function(LnUrlPayError_InvalidNetwork) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_InvalidNetwork( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class _$LnUrlPayErrorCopyWithImpl<$Res, $Val extends LnUrlPayError> implements $LnUrlPayErrorCopyWith<$Res> { - _$LnUrlPayErrorCopyWithImpl(this._value, this._then); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. -} - -/// @nodoc -abstract class _$$LnUrlPayError_AlreadyPaidImplCopyWith<$Res> { - factory _$$LnUrlPayError_AlreadyPaidImplCopyWith( - _$LnUrlPayError_AlreadyPaidImpl value, - $Res Function(_$LnUrlPayError_AlreadyPaidImpl) then, - ) = __$$LnUrlPayError_AlreadyPaidImplCopyWithImpl<$Res>; -} - -/// @nodoc -class __$$LnUrlPayError_AlreadyPaidImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_AlreadyPaidImpl> - implements _$$LnUrlPayError_AlreadyPaidImplCopyWith<$Res> { - __$$LnUrlPayError_AlreadyPaidImplCopyWithImpl( - _$LnUrlPayError_AlreadyPaidImpl _value, - $Res Function(_$LnUrlPayError_AlreadyPaidImpl) _then, - ) : super(_value, _then); - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. } /// @nodoc -class _$LnUrlPayError_AlreadyPaidImpl extends LnUrlPayError_AlreadyPaid { - const _$LnUrlPayError_AlreadyPaidImpl() : super._(); - @override - String toString() { - return 'LnUrlPayError.alreadyPaid()'; - } +class LnUrlPayError_InvalidUri extends LnUrlPayError { + const LnUrlPayError_InvalidUri({required this.err}): super._(); + - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$LnUrlPayError_AlreadyPaidImpl); - } + final String err; - @override - int get hashCode => runtimeType.hashCode; +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_InvalidUriCopyWith get copyWith => _$LnUrlPayError_InvalidUriCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_InvalidUri&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlPayError_AlreadyPaid extends LnUrlPayError { - const factory LnUrlPayError_AlreadyPaid() = _$LnUrlPayError_AlreadyPaidImpl; - const LnUrlPayError_AlreadyPaid._() : super._(); + +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.invalidUri(err: $err)'; +} + + } /// @nodoc -abstract class _$$LnUrlPayError_GenericImplCopyWith<$Res> { - factory _$$LnUrlPayError_GenericImplCopyWith( - _$LnUrlPayError_GenericImpl value, - $Res Function(_$LnUrlPayError_GenericImpl) then, - ) = __$$LnUrlPayError_GenericImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); +abstract mixin class $LnUrlPayError_InvalidUriCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_InvalidUriCopyWith(LnUrlPayError_InvalidUri value, $Res Function(LnUrlPayError_InvalidUri) _then) = _$LnUrlPayError_InvalidUriCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlPayError_InvalidUriCopyWithImpl<$Res> + implements $LnUrlPayError_InvalidUriCopyWith<$Res> { + _$LnUrlPayError_InvalidUriCopyWithImpl(this._self, this._then); + + final LnUrlPayError_InvalidUri _self; + final $Res Function(LnUrlPayError_InvalidUri) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_InvalidUri( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlPayError_GenericImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_GenericImpl> - implements _$$LnUrlPayError_GenericImplCopyWith<$Res> { - __$$LnUrlPayError_GenericImplCopyWithImpl( - _$LnUrlPayError_GenericImpl _value, - $Res Function(_$LnUrlPayError_GenericImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_GenericImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlPayError_GenericImpl extends LnUrlPayError_Generic { - const _$LnUrlPayError_GenericImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlPayError_InvoiceExpired extends LnUrlPayError { + const LnUrlPayError_InvoiceExpired({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlPayError.generic(err: $err)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_GenericImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_InvoiceExpiredCopyWith get copyWith => _$LnUrlPayError_InvoiceExpiredCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_GenericImplCopyWith<_$LnUrlPayError_GenericImpl> get copyWith => - __$$LnUrlPayError_GenericImplCopyWithImpl<_$LnUrlPayError_GenericImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_InvoiceExpired&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlPayError_Generic extends LnUrlPayError { - const factory LnUrlPayError_Generic({required final String err}) = _$LnUrlPayError_GenericImpl; - const LnUrlPayError_Generic._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.invoiceExpired(err: $err)'; +} + - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_GenericImplCopyWith<_$LnUrlPayError_GenericImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlPayError_InvalidAmountImplCopyWith<$Res> { - factory _$$LnUrlPayError_InvalidAmountImplCopyWith( - _$LnUrlPayError_InvalidAmountImpl value, - $Res Function(_$LnUrlPayError_InvalidAmountImpl) then, - ) = __$$LnUrlPayError_InvalidAmountImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); +abstract mixin class $LnUrlPayError_InvoiceExpiredCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_InvoiceExpiredCopyWith(LnUrlPayError_InvoiceExpired value, $Res Function(LnUrlPayError_InvoiceExpired) _then) = _$LnUrlPayError_InvoiceExpiredCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlPayError_InvoiceExpiredCopyWithImpl<$Res> + implements $LnUrlPayError_InvoiceExpiredCopyWith<$Res> { + _$LnUrlPayError_InvoiceExpiredCopyWithImpl(this._self, this._then); + + final LnUrlPayError_InvoiceExpired _self; + final $Res Function(LnUrlPayError_InvoiceExpired) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_InvoiceExpired( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlPayError_InvalidAmountImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_InvalidAmountImpl> - implements _$$LnUrlPayError_InvalidAmountImplCopyWith<$Res> { - __$$LnUrlPayError_InvalidAmountImplCopyWithImpl( - _$LnUrlPayError_InvalidAmountImpl _value, - $Res Function(_$LnUrlPayError_InvalidAmountImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_InvalidAmountImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlPayError_InvalidAmountImpl extends LnUrlPayError_InvalidAmount { - const _$LnUrlPayError_InvalidAmountImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlPayError_PaymentFailed extends LnUrlPayError { + const LnUrlPayError_PaymentFailed({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlPayError.invalidAmount(err: $err)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_InvalidAmountImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_PaymentFailedCopyWith get copyWith => _$LnUrlPayError_PaymentFailedCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_InvalidAmountImplCopyWith<_$LnUrlPayError_InvalidAmountImpl> get copyWith => - __$$LnUrlPayError_InvalidAmountImplCopyWithImpl<_$LnUrlPayError_InvalidAmountImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_PaymentFailed&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlPayError_InvalidAmount extends LnUrlPayError { - const factory LnUrlPayError_InvalidAmount({required final String err}) = _$LnUrlPayError_InvalidAmountImpl; - const LnUrlPayError_InvalidAmount._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.paymentFailed(err: $err)'; +} + - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_InvalidAmountImplCopyWith<_$LnUrlPayError_InvalidAmountImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlPayError_InvalidInvoiceImplCopyWith<$Res> { - factory _$$LnUrlPayError_InvalidInvoiceImplCopyWith( - _$LnUrlPayError_InvalidInvoiceImpl value, - $Res Function(_$LnUrlPayError_InvalidInvoiceImpl) then, - ) = __$$LnUrlPayError_InvalidInvoiceImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); +abstract mixin class $LnUrlPayError_PaymentFailedCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_PaymentFailedCopyWith(LnUrlPayError_PaymentFailed value, $Res Function(LnUrlPayError_PaymentFailed) _then) = _$LnUrlPayError_PaymentFailedCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlPayError_PaymentFailedCopyWithImpl<$Res> + implements $LnUrlPayError_PaymentFailedCopyWith<$Res> { + _$LnUrlPayError_PaymentFailedCopyWithImpl(this._self, this._then); + + final LnUrlPayError_PaymentFailed _self; + final $Res Function(LnUrlPayError_PaymentFailed) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_PaymentFailed( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlPayError_InvalidInvoiceImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_InvalidInvoiceImpl> - implements _$$LnUrlPayError_InvalidInvoiceImplCopyWith<$Res> { - __$$LnUrlPayError_InvalidInvoiceImplCopyWithImpl( - _$LnUrlPayError_InvalidInvoiceImpl _value, - $Res Function(_$LnUrlPayError_InvalidInvoiceImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_InvalidInvoiceImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlPayError_InvalidInvoiceImpl extends LnUrlPayError_InvalidInvoice { - const _$LnUrlPayError_InvalidInvoiceImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlPayError_PaymentTimeout extends LnUrlPayError { + const LnUrlPayError_PaymentTimeout({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlPayError.invalidInvoice(err: $err)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_InvalidInvoiceImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_PaymentTimeoutCopyWith get copyWith => _$LnUrlPayError_PaymentTimeoutCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_InvalidInvoiceImplCopyWith<_$LnUrlPayError_InvalidInvoiceImpl> get copyWith => - __$$LnUrlPayError_InvalidInvoiceImplCopyWithImpl<_$LnUrlPayError_InvalidInvoiceImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_PaymentTimeout&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlPayError_InvalidInvoice extends LnUrlPayError { - const factory LnUrlPayError_InvalidInvoice({required final String err}) = - _$LnUrlPayError_InvalidInvoiceImpl; - const LnUrlPayError_InvalidInvoice._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.paymentTimeout(err: $err)'; +} + - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_InvalidInvoiceImplCopyWith<_$LnUrlPayError_InvalidInvoiceImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlPayError_InvalidNetworkImplCopyWith<$Res> { - factory _$$LnUrlPayError_InvalidNetworkImplCopyWith( - _$LnUrlPayError_InvalidNetworkImpl value, - $Res Function(_$LnUrlPayError_InvalidNetworkImpl) then, - ) = __$$LnUrlPayError_InvalidNetworkImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); +abstract mixin class $LnUrlPayError_PaymentTimeoutCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_PaymentTimeoutCopyWith(LnUrlPayError_PaymentTimeout value, $Res Function(LnUrlPayError_PaymentTimeout) _then) = _$LnUrlPayError_PaymentTimeoutCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlPayError_PaymentTimeoutCopyWithImpl<$Res> + implements $LnUrlPayError_PaymentTimeoutCopyWith<$Res> { + _$LnUrlPayError_PaymentTimeoutCopyWithImpl(this._self, this._then); + + final LnUrlPayError_PaymentTimeout _self; + final $Res Function(LnUrlPayError_PaymentTimeout) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_PaymentTimeout( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlPayError_InvalidNetworkImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_InvalidNetworkImpl> - implements _$$LnUrlPayError_InvalidNetworkImplCopyWith<$Res> { - __$$LnUrlPayError_InvalidNetworkImplCopyWithImpl( - _$LnUrlPayError_InvalidNetworkImpl _value, - $Res Function(_$LnUrlPayError_InvalidNetworkImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_InvalidNetworkImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlPayError_InvalidNetworkImpl extends LnUrlPayError_InvalidNetwork { - const _$LnUrlPayError_InvalidNetworkImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlPayError_RouteNotFound extends LnUrlPayError { + const LnUrlPayError_RouteNotFound({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlPayError.invalidNetwork(err: $err)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_InvalidNetworkImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_RouteNotFoundCopyWith get copyWith => _$LnUrlPayError_RouteNotFoundCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_InvalidNetworkImplCopyWith<_$LnUrlPayError_InvalidNetworkImpl> get copyWith => - __$$LnUrlPayError_InvalidNetworkImplCopyWithImpl<_$LnUrlPayError_InvalidNetworkImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_RouteNotFound&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlPayError_InvalidNetwork extends LnUrlPayError { - const factory LnUrlPayError_InvalidNetwork({required final String err}) = - _$LnUrlPayError_InvalidNetworkImpl; - const LnUrlPayError_InvalidNetwork._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.routeNotFound(err: $err)'; +} + - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_InvalidNetworkImplCopyWith<_$LnUrlPayError_InvalidNetworkImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlPayError_InvalidUriImplCopyWith<$Res> { - factory _$$LnUrlPayError_InvalidUriImplCopyWith( - _$LnUrlPayError_InvalidUriImpl value, - $Res Function(_$LnUrlPayError_InvalidUriImpl) then, - ) = __$$LnUrlPayError_InvalidUriImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); +abstract mixin class $LnUrlPayError_RouteNotFoundCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_RouteNotFoundCopyWith(LnUrlPayError_RouteNotFound value, $Res Function(LnUrlPayError_RouteNotFound) _then) = _$LnUrlPayError_RouteNotFoundCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlPayError_RouteNotFoundCopyWithImpl<$Res> + implements $LnUrlPayError_RouteNotFoundCopyWith<$Res> { + _$LnUrlPayError_RouteNotFoundCopyWithImpl(this._self, this._then); + + final LnUrlPayError_RouteNotFound _self; + final $Res Function(LnUrlPayError_RouteNotFound) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_RouteNotFound( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlPayError_InvalidUriImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_InvalidUriImpl> - implements _$$LnUrlPayError_InvalidUriImplCopyWith<$Res> { - __$$LnUrlPayError_InvalidUriImplCopyWithImpl( - _$LnUrlPayError_InvalidUriImpl _value, - $Res Function(_$LnUrlPayError_InvalidUriImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_InvalidUriImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlPayError_InvalidUriImpl extends LnUrlPayError_InvalidUri { - const _$LnUrlPayError_InvalidUriImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlPayError_RouteTooExpensive extends LnUrlPayError { + const LnUrlPayError_RouteTooExpensive({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlPayError.invalidUri(err: $err)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_InvalidUriImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_RouteTooExpensiveCopyWith get copyWith => _$LnUrlPayError_RouteTooExpensiveCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_InvalidUriImplCopyWith<_$LnUrlPayError_InvalidUriImpl> get copyWith => - __$$LnUrlPayError_InvalidUriImplCopyWithImpl<_$LnUrlPayError_InvalidUriImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_RouteTooExpensive&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlPayError_InvalidUri extends LnUrlPayError { - const factory LnUrlPayError_InvalidUri({required final String err}) = _$LnUrlPayError_InvalidUriImpl; - const LnUrlPayError_InvalidUri._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.routeTooExpensive(err: $err)'; +} + - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_InvalidUriImplCopyWith<_$LnUrlPayError_InvalidUriImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlPayError_InvoiceExpiredImplCopyWith<$Res> { - factory _$$LnUrlPayError_InvoiceExpiredImplCopyWith( - _$LnUrlPayError_InvoiceExpiredImpl value, - $Res Function(_$LnUrlPayError_InvoiceExpiredImpl) then, - ) = __$$LnUrlPayError_InvoiceExpiredImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); +abstract mixin class $LnUrlPayError_RouteTooExpensiveCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_RouteTooExpensiveCopyWith(LnUrlPayError_RouteTooExpensive value, $Res Function(LnUrlPayError_RouteTooExpensive) _then) = _$LnUrlPayError_RouteTooExpensiveCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlPayError_RouteTooExpensiveCopyWithImpl<$Res> + implements $LnUrlPayError_RouteTooExpensiveCopyWith<$Res> { + _$LnUrlPayError_RouteTooExpensiveCopyWithImpl(this._self, this._then); + + final LnUrlPayError_RouteTooExpensive _self; + final $Res Function(LnUrlPayError_RouteTooExpensive) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_RouteTooExpensive( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlPayError_InvoiceExpiredImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_InvoiceExpiredImpl> - implements _$$LnUrlPayError_InvoiceExpiredImplCopyWith<$Res> { - __$$LnUrlPayError_InvoiceExpiredImplCopyWithImpl( - _$LnUrlPayError_InvoiceExpiredImpl _value, - $Res Function(_$LnUrlPayError_InvoiceExpiredImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_InvoiceExpiredImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlPayError_InvoiceExpiredImpl extends LnUrlPayError_InvoiceExpired { - const _$LnUrlPayError_InvoiceExpiredImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlPayError_ServiceConnectivity extends LnUrlPayError { + const LnUrlPayError_ServiceConnectivity({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlPayError.invoiceExpired(err: $err)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_InvoiceExpiredImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayError_ServiceConnectivityCopyWith get copyWith => _$LnUrlPayError_ServiceConnectivityCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_InvoiceExpiredImplCopyWith<_$LnUrlPayError_InvoiceExpiredImpl> get copyWith => - __$$LnUrlPayError_InvoiceExpiredImplCopyWithImpl<_$LnUrlPayError_InvoiceExpiredImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayError_ServiceConnectivity&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlPayError_InvoiceExpired extends LnUrlPayError { - const factory LnUrlPayError_InvoiceExpired({required final String err}) = - _$LnUrlPayError_InvoiceExpiredImpl; - const LnUrlPayError_InvoiceExpired._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlPayError.serviceConnectivity(err: $err)'; +} + - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_InvoiceExpiredImplCopyWith<_$LnUrlPayError_InvoiceExpiredImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlPayError_PaymentFailedImplCopyWith<$Res> { - factory _$$LnUrlPayError_PaymentFailedImplCopyWith( - _$LnUrlPayError_PaymentFailedImpl value, - $Res Function(_$LnUrlPayError_PaymentFailedImpl) then, - ) = __$$LnUrlPayError_PaymentFailedImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); -} +abstract mixin class $LnUrlPayError_ServiceConnectivityCopyWith<$Res> implements $LnUrlPayErrorCopyWith<$Res> { + factory $LnUrlPayError_ServiceConnectivityCopyWith(LnUrlPayError_ServiceConnectivity value, $Res Function(LnUrlPayError_ServiceConnectivity) _then) = _$LnUrlPayError_ServiceConnectivityCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + +} /// @nodoc -class __$$LnUrlPayError_PaymentFailedImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_PaymentFailedImpl> - implements _$$LnUrlPayError_PaymentFailedImplCopyWith<$Res> { - __$$LnUrlPayError_PaymentFailedImplCopyWithImpl( - _$LnUrlPayError_PaymentFailedImpl _value, - $Res Function(_$LnUrlPayError_PaymentFailedImpl) _then, - ) : super(_value, _then); +class _$LnUrlPayError_ServiceConnectivityCopyWithImpl<$Res> + implements $LnUrlPayError_ServiceConnectivityCopyWith<$Res> { + _$LnUrlPayError_ServiceConnectivityCopyWithImpl(this._self, this._then); - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_PaymentFailedImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } + final LnUrlPayError_ServiceConnectivity _self; + final $Res Function(LnUrlPayError_ServiceConnectivity) _then; + +/// Create a copy of LnUrlPayError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlPayError_ServiceConnectivity( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class _$LnUrlPayError_PaymentFailedImpl extends LnUrlPayError_PaymentFailed { - const _$LnUrlPayError_PaymentFailedImpl({required this.err}) : super._(); - - @override - final String err; - - @override - String toString() { - return 'LnUrlPayError.paymentFailed(err: $err)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_PaymentFailedImpl && - (identical(other.err, err) || other.err == err)); - } - - @override - int get hashCode => Object.hash(runtimeType, err); - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_PaymentFailedImplCopyWith<_$LnUrlPayError_PaymentFailedImpl> get copyWith => - __$$LnUrlPayError_PaymentFailedImplCopyWithImpl<_$LnUrlPayError_PaymentFailedImpl>(this, _$identity); -} - -abstract class LnUrlPayError_PaymentFailed extends LnUrlPayError { - const factory LnUrlPayError_PaymentFailed({required final String err}) = _$LnUrlPayError_PaymentFailedImpl; - const LnUrlPayError_PaymentFailed._() : super._(); - - String get err; - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_PaymentFailedImplCopyWith<_$LnUrlPayError_PaymentFailedImpl> get copyWith => - throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$LnUrlPayError_PaymentTimeoutImplCopyWith<$Res> { - factory _$$LnUrlPayError_PaymentTimeoutImplCopyWith( - _$LnUrlPayError_PaymentTimeoutImpl value, - $Res Function(_$LnUrlPayError_PaymentTimeoutImpl) then, - ) = __$$LnUrlPayError_PaymentTimeoutImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); -} - -/// @nodoc -class __$$LnUrlPayError_PaymentTimeoutImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_PaymentTimeoutImpl> - implements _$$LnUrlPayError_PaymentTimeoutImplCopyWith<$Res> { - __$$LnUrlPayError_PaymentTimeoutImplCopyWithImpl( - _$LnUrlPayError_PaymentTimeoutImpl _value, - $Res Function(_$LnUrlPayError_PaymentTimeoutImpl) _then, - ) : super(_value, _then); - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_PaymentTimeoutImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } -} - -/// @nodoc - -class _$LnUrlPayError_PaymentTimeoutImpl extends LnUrlPayError_PaymentTimeout { - const _$LnUrlPayError_PaymentTimeoutImpl({required this.err}) : super._(); - - @override - final String err; - - @override - String toString() { - return 'LnUrlPayError.paymentTimeout(err: $err)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_PaymentTimeoutImpl && - (identical(other.err, err) || other.err == err)); - } - - @override - int get hashCode => Object.hash(runtimeType, err); - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_PaymentTimeoutImplCopyWith<_$LnUrlPayError_PaymentTimeoutImpl> get copyWith => - __$$LnUrlPayError_PaymentTimeoutImplCopyWithImpl<_$LnUrlPayError_PaymentTimeoutImpl>(this, _$identity); -} - -abstract class LnUrlPayError_PaymentTimeout extends LnUrlPayError { - const factory LnUrlPayError_PaymentTimeout({required final String err}) = - _$LnUrlPayError_PaymentTimeoutImpl; - const LnUrlPayError_PaymentTimeout._() : super._(); - - String get err; - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_PaymentTimeoutImplCopyWith<_$LnUrlPayError_PaymentTimeoutImpl> get copyWith => - throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$LnUrlPayError_RouteNotFoundImplCopyWith<$Res> { - factory _$$LnUrlPayError_RouteNotFoundImplCopyWith( - _$LnUrlPayError_RouteNotFoundImpl value, - $Res Function(_$LnUrlPayError_RouteNotFoundImpl) then, - ) = __$$LnUrlPayError_RouteNotFoundImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); -} - -/// @nodoc -class __$$LnUrlPayError_RouteNotFoundImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_RouteNotFoundImpl> - implements _$$LnUrlPayError_RouteNotFoundImplCopyWith<$Res> { - __$$LnUrlPayError_RouteNotFoundImplCopyWithImpl( - _$LnUrlPayError_RouteNotFoundImpl _value, - $Res Function(_$LnUrlPayError_RouteNotFoundImpl) _then, - ) : super(_value, _then); - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_RouteNotFoundImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } -} - -/// @nodoc - -class _$LnUrlPayError_RouteNotFoundImpl extends LnUrlPayError_RouteNotFound { - const _$LnUrlPayError_RouteNotFoundImpl({required this.err}) : super._(); - - @override - final String err; - - @override - String toString() { - return 'LnUrlPayError.routeNotFound(err: $err)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_RouteNotFoundImpl && - (identical(other.err, err) || other.err == err)); - } - - @override - int get hashCode => Object.hash(runtimeType, err); - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_RouteNotFoundImplCopyWith<_$LnUrlPayError_RouteNotFoundImpl> get copyWith => - __$$LnUrlPayError_RouteNotFoundImplCopyWithImpl<_$LnUrlPayError_RouteNotFoundImpl>(this, _$identity); -} - -abstract class LnUrlPayError_RouteNotFound extends LnUrlPayError { - const factory LnUrlPayError_RouteNotFound({required final String err}) = _$LnUrlPayError_RouteNotFoundImpl; - const LnUrlPayError_RouteNotFound._() : super._(); - - String get err; - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_RouteNotFoundImplCopyWith<_$LnUrlPayError_RouteNotFoundImpl> get copyWith => - throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$LnUrlPayError_RouteTooExpensiveImplCopyWith<$Res> { - factory _$$LnUrlPayError_RouteTooExpensiveImplCopyWith( - _$LnUrlPayError_RouteTooExpensiveImpl value, - $Res Function(_$LnUrlPayError_RouteTooExpensiveImpl) then, - ) = __$$LnUrlPayError_RouteTooExpensiveImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); -} - -/// @nodoc -class __$$LnUrlPayError_RouteTooExpensiveImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_RouteTooExpensiveImpl> - implements _$$LnUrlPayError_RouteTooExpensiveImplCopyWith<$Res> { - __$$LnUrlPayError_RouteTooExpensiveImplCopyWithImpl( - _$LnUrlPayError_RouteTooExpensiveImpl _value, - $Res Function(_$LnUrlPayError_RouteTooExpensiveImpl) _then, - ) : super(_value, _then); - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_RouteTooExpensiveImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } -} - -/// @nodoc - -class _$LnUrlPayError_RouteTooExpensiveImpl extends LnUrlPayError_RouteTooExpensive { - const _$LnUrlPayError_RouteTooExpensiveImpl({required this.err}) : super._(); - - @override - final String err; - - @override - String toString() { - return 'LnUrlPayError.routeTooExpensive(err: $err)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_RouteTooExpensiveImpl && - (identical(other.err, err) || other.err == err)); - } - - @override - int get hashCode => Object.hash(runtimeType, err); - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_RouteTooExpensiveImplCopyWith<_$LnUrlPayError_RouteTooExpensiveImpl> get copyWith => - __$$LnUrlPayError_RouteTooExpensiveImplCopyWithImpl<_$LnUrlPayError_RouteTooExpensiveImpl>( - this, - _$identity, - ); -} - -abstract class LnUrlPayError_RouteTooExpensive extends LnUrlPayError { - const factory LnUrlPayError_RouteTooExpensive({required final String err}) = - _$LnUrlPayError_RouteTooExpensiveImpl; - const LnUrlPayError_RouteTooExpensive._() : super._(); - - String get err; - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_RouteTooExpensiveImplCopyWith<_$LnUrlPayError_RouteTooExpensiveImpl> get copyWith => - throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$LnUrlPayError_ServiceConnectivityImplCopyWith<$Res> { - factory _$$LnUrlPayError_ServiceConnectivityImplCopyWith( - _$LnUrlPayError_ServiceConnectivityImpl value, - $Res Function(_$LnUrlPayError_ServiceConnectivityImpl) then, - ) = __$$LnUrlPayError_ServiceConnectivityImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); -} - -/// @nodoc -class __$$LnUrlPayError_ServiceConnectivityImplCopyWithImpl<$Res> - extends _$LnUrlPayErrorCopyWithImpl<$Res, _$LnUrlPayError_ServiceConnectivityImpl> - implements _$$LnUrlPayError_ServiceConnectivityImplCopyWith<$Res> { - __$$LnUrlPayError_ServiceConnectivityImplCopyWithImpl( - _$LnUrlPayError_ServiceConnectivityImpl _value, - $Res Function(_$LnUrlPayError_ServiceConnectivityImpl) _then, - ) : super(_value, _then); - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlPayError_ServiceConnectivityImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } -} - -/// @nodoc - -class _$LnUrlPayError_ServiceConnectivityImpl extends LnUrlPayError_ServiceConnectivity { - const _$LnUrlPayError_ServiceConnectivityImpl({required this.err}) : super._(); - - @override - final String err; - - @override - String toString() { - return 'LnUrlPayError.serviceConnectivity(err: $err)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayError_ServiceConnectivityImpl && - (identical(other.err, err) || other.err == err)); - } - - @override - int get hashCode => Object.hash(runtimeType, err); - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayError_ServiceConnectivityImplCopyWith<_$LnUrlPayError_ServiceConnectivityImpl> get copyWith => - __$$LnUrlPayError_ServiceConnectivityImplCopyWithImpl<_$LnUrlPayError_ServiceConnectivityImpl>( - this, - _$identity, - ); -} - -abstract class LnUrlPayError_ServiceConnectivity extends LnUrlPayError { - const factory LnUrlPayError_ServiceConnectivity({required final String err}) = - _$LnUrlPayError_ServiceConnectivityImpl; - const LnUrlPayError_ServiceConnectivity._() : super._(); - - String get err; - - /// Create a copy of LnUrlPayError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayError_ServiceConnectivityImplCopyWith<_$LnUrlPayError_ServiceConnectivityImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc mixin _$LnUrlWithdrawError { - String get err => throw _privateConstructorUsedError; - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $LnUrlWithdrawErrorCopyWith get copyWith => throw _privateConstructorUsedError; + String get err; +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlWithdrawErrorCopyWith get copyWith => _$LnUrlWithdrawErrorCopyWithImpl(this as LnUrlWithdrawError, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawError&&(identical(other.err, err) || other.err == err)); +} + + +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlWithdrawError(err: $err)'; +} + + } /// @nodoc -abstract class $LnUrlWithdrawErrorCopyWith<$Res> { - factory $LnUrlWithdrawErrorCopyWith(LnUrlWithdrawError value, $Res Function(LnUrlWithdrawError) then) = - _$LnUrlWithdrawErrorCopyWithImpl<$Res, LnUrlWithdrawError>; - @useResult - $Res call({String err}); -} +abstract mixin class $LnUrlWithdrawErrorCopyWith<$Res> { + factory $LnUrlWithdrawErrorCopyWith(LnUrlWithdrawError value, $Res Function(LnUrlWithdrawError) _then) = _$LnUrlWithdrawErrorCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + +} /// @nodoc -class _$LnUrlWithdrawErrorCopyWithImpl<$Res, $Val extends LnUrlWithdrawError> +class _$LnUrlWithdrawErrorCopyWithImpl<$Res> implements $LnUrlWithdrawErrorCopyWith<$Res> { - _$LnUrlWithdrawErrorCopyWithImpl(this._value, this._then); + _$LnUrlWithdrawErrorCopyWithImpl(this._self, this._then); + + final LnUrlWithdrawError _self; + final $Res Function(LnUrlWithdrawError) _then; + +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? err = null,}) { + return _then(_self.copyWith( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// @nodoc + + +class LnUrlWithdrawError_Generic extends LnUrlWithdrawError { + const LnUrlWithdrawError_Generic({required this.err}): super._(); + + +@override final String err; + +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlWithdrawError_GenericCopyWith get copyWith => _$LnUrlWithdrawError_GenericCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawError_Generic&&(identical(other.err, err) || other.err == err)); +} + + +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlWithdrawError.generic(err: $err)'; +} - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _value.copyWith( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } } /// @nodoc -abstract class _$$LnUrlWithdrawError_GenericImplCopyWith<$Res> implements $LnUrlWithdrawErrorCopyWith<$Res> { - factory _$$LnUrlWithdrawError_GenericImplCopyWith( - _$LnUrlWithdrawError_GenericImpl value, - $Res Function(_$LnUrlWithdrawError_GenericImpl) then, - ) = __$$LnUrlWithdrawError_GenericImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String err}); +abstract mixin class $LnUrlWithdrawError_GenericCopyWith<$Res> implements $LnUrlWithdrawErrorCopyWith<$Res> { + factory $LnUrlWithdrawError_GenericCopyWith(LnUrlWithdrawError_Generic value, $Res Function(LnUrlWithdrawError_Generic) _then) = _$LnUrlWithdrawError_GenericCopyWithImpl; +@override @useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlWithdrawError_GenericCopyWithImpl<$Res> + implements $LnUrlWithdrawError_GenericCopyWith<$Res> { + _$LnUrlWithdrawError_GenericCopyWithImpl(this._self, this._then); + + final LnUrlWithdrawError_Generic _self; + final $Res Function(LnUrlWithdrawError_Generic) _then; + +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlWithdrawError_Generic( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlWithdrawError_GenericImplCopyWithImpl<$Res> - extends _$LnUrlWithdrawErrorCopyWithImpl<$Res, _$LnUrlWithdrawError_GenericImpl> - implements _$$LnUrlWithdrawError_GenericImplCopyWith<$Res> { - __$$LnUrlWithdrawError_GenericImplCopyWithImpl( - _$LnUrlWithdrawError_GenericImpl _value, - $Res Function(_$LnUrlWithdrawError_GenericImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlWithdrawError_GenericImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlWithdrawError_GenericImpl extends LnUrlWithdrawError_Generic { - const _$LnUrlWithdrawError_GenericImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlWithdrawError_InvalidAmount extends LnUrlWithdrawError { + const LnUrlWithdrawError_InvalidAmount({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlWithdrawError.generic(err: $err)'; - } +@override final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlWithdrawError_GenericImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlWithdrawError_InvalidAmountCopyWith get copyWith => _$LnUrlWithdrawError_InvalidAmountCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlWithdrawError_GenericImplCopyWith<_$LnUrlWithdrawError_GenericImpl> get copyWith => - __$$LnUrlWithdrawError_GenericImplCopyWithImpl<_$LnUrlWithdrawError_GenericImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawError_InvalidAmount&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlWithdrawError_Generic extends LnUrlWithdrawError { - const factory LnUrlWithdrawError_Generic({required final String err}) = _$LnUrlWithdrawError_GenericImpl; - const LnUrlWithdrawError_Generic._() : super._(); - @override - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlWithdrawError.invalidAmount(err: $err)'; +} + - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlWithdrawError_GenericImplCopyWith<_$LnUrlWithdrawError_GenericImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlWithdrawError_InvalidAmountImplCopyWith<$Res> - implements $LnUrlWithdrawErrorCopyWith<$Res> { - factory _$$LnUrlWithdrawError_InvalidAmountImplCopyWith( - _$LnUrlWithdrawError_InvalidAmountImpl value, - $Res Function(_$LnUrlWithdrawError_InvalidAmountImpl) then, - ) = __$$LnUrlWithdrawError_InvalidAmountImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String err}); +abstract mixin class $LnUrlWithdrawError_InvalidAmountCopyWith<$Res> implements $LnUrlWithdrawErrorCopyWith<$Res> { + factory $LnUrlWithdrawError_InvalidAmountCopyWith(LnUrlWithdrawError_InvalidAmount value, $Res Function(LnUrlWithdrawError_InvalidAmount) _then) = _$LnUrlWithdrawError_InvalidAmountCopyWithImpl; +@override @useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlWithdrawError_InvalidAmountCopyWithImpl<$Res> + implements $LnUrlWithdrawError_InvalidAmountCopyWith<$Res> { + _$LnUrlWithdrawError_InvalidAmountCopyWithImpl(this._self, this._then); + + final LnUrlWithdrawError_InvalidAmount _self; + final $Res Function(LnUrlWithdrawError_InvalidAmount) _then; + +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlWithdrawError_InvalidAmount( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlWithdrawError_InvalidAmountImplCopyWithImpl<$Res> - extends _$LnUrlWithdrawErrorCopyWithImpl<$Res, _$LnUrlWithdrawError_InvalidAmountImpl> - implements _$$LnUrlWithdrawError_InvalidAmountImplCopyWith<$Res> { - __$$LnUrlWithdrawError_InvalidAmountImplCopyWithImpl( - _$LnUrlWithdrawError_InvalidAmountImpl _value, - $Res Function(_$LnUrlWithdrawError_InvalidAmountImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlWithdrawError_InvalidAmountImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlWithdrawError_InvalidAmountImpl extends LnUrlWithdrawError_InvalidAmount { - const _$LnUrlWithdrawError_InvalidAmountImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlWithdrawError_InvalidInvoice extends LnUrlWithdrawError { + const LnUrlWithdrawError_InvalidInvoice({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlWithdrawError.invalidAmount(err: $err)'; - } +@override final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlWithdrawError_InvalidAmountImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlWithdrawError_InvalidInvoiceCopyWith get copyWith => _$LnUrlWithdrawError_InvalidInvoiceCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlWithdrawError_InvalidAmountImplCopyWith<_$LnUrlWithdrawError_InvalidAmountImpl> get copyWith => - __$$LnUrlWithdrawError_InvalidAmountImplCopyWithImpl<_$LnUrlWithdrawError_InvalidAmountImpl>( - this, - _$identity, - ); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawError_InvalidInvoice&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlWithdrawError_InvalidAmount extends LnUrlWithdrawError { - const factory LnUrlWithdrawError_InvalidAmount({required final String err}) = - _$LnUrlWithdrawError_InvalidAmountImpl; - const LnUrlWithdrawError_InvalidAmount._() : super._(); - @override - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlWithdrawError.invalidInvoice(err: $err)'; +} + - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlWithdrawError_InvalidAmountImplCopyWith<_$LnUrlWithdrawError_InvalidAmountImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlWithdrawError_InvalidInvoiceImplCopyWith<$Res> - implements $LnUrlWithdrawErrorCopyWith<$Res> { - factory _$$LnUrlWithdrawError_InvalidInvoiceImplCopyWith( - _$LnUrlWithdrawError_InvalidInvoiceImpl value, - $Res Function(_$LnUrlWithdrawError_InvalidInvoiceImpl) then, - ) = __$$LnUrlWithdrawError_InvalidInvoiceImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String err}); +abstract mixin class $LnUrlWithdrawError_InvalidInvoiceCopyWith<$Res> implements $LnUrlWithdrawErrorCopyWith<$Res> { + factory $LnUrlWithdrawError_InvalidInvoiceCopyWith(LnUrlWithdrawError_InvalidInvoice value, $Res Function(LnUrlWithdrawError_InvalidInvoice) _then) = _$LnUrlWithdrawError_InvalidInvoiceCopyWithImpl; +@override @useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlWithdrawError_InvalidInvoiceCopyWithImpl<$Res> + implements $LnUrlWithdrawError_InvalidInvoiceCopyWith<$Res> { + _$LnUrlWithdrawError_InvalidInvoiceCopyWithImpl(this._self, this._then); + + final LnUrlWithdrawError_InvalidInvoice _self; + final $Res Function(LnUrlWithdrawError_InvalidInvoice) _then; + +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlWithdrawError_InvalidInvoice( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlWithdrawError_InvalidInvoiceImplCopyWithImpl<$Res> - extends _$LnUrlWithdrawErrorCopyWithImpl<$Res, _$LnUrlWithdrawError_InvalidInvoiceImpl> - implements _$$LnUrlWithdrawError_InvalidInvoiceImplCopyWith<$Res> { - __$$LnUrlWithdrawError_InvalidInvoiceImplCopyWithImpl( - _$LnUrlWithdrawError_InvalidInvoiceImpl _value, - $Res Function(_$LnUrlWithdrawError_InvalidInvoiceImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlWithdrawError_InvalidInvoiceImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlWithdrawError_InvalidInvoiceImpl extends LnUrlWithdrawError_InvalidInvoice { - const _$LnUrlWithdrawError_InvalidInvoiceImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlWithdrawError_InvalidUri extends LnUrlWithdrawError { + const LnUrlWithdrawError_InvalidUri({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlWithdrawError.invalidInvoice(err: $err)'; - } +@override final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlWithdrawError_InvalidInvoiceImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlWithdrawError_InvalidUriCopyWith get copyWith => _$LnUrlWithdrawError_InvalidUriCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlWithdrawError_InvalidInvoiceImplCopyWith<_$LnUrlWithdrawError_InvalidInvoiceImpl> get copyWith => - __$$LnUrlWithdrawError_InvalidInvoiceImplCopyWithImpl<_$LnUrlWithdrawError_InvalidInvoiceImpl>( - this, - _$identity, - ); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawError_InvalidUri&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlWithdrawError_InvalidInvoice extends LnUrlWithdrawError { - const factory LnUrlWithdrawError_InvalidInvoice({required final String err}) = - _$LnUrlWithdrawError_InvalidInvoiceImpl; - const LnUrlWithdrawError_InvalidInvoice._() : super._(); - @override - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlWithdrawError.invalidUri(err: $err)'; +} + - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlWithdrawError_InvalidInvoiceImplCopyWith<_$LnUrlWithdrawError_InvalidInvoiceImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlWithdrawError_InvalidUriImplCopyWith<$Res> - implements $LnUrlWithdrawErrorCopyWith<$Res> { - factory _$$LnUrlWithdrawError_InvalidUriImplCopyWith( - _$LnUrlWithdrawError_InvalidUriImpl value, - $Res Function(_$LnUrlWithdrawError_InvalidUriImpl) then, - ) = __$$LnUrlWithdrawError_InvalidUriImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String err}); +abstract mixin class $LnUrlWithdrawError_InvalidUriCopyWith<$Res> implements $LnUrlWithdrawErrorCopyWith<$Res> { + factory $LnUrlWithdrawError_InvalidUriCopyWith(LnUrlWithdrawError_InvalidUri value, $Res Function(LnUrlWithdrawError_InvalidUri) _then) = _$LnUrlWithdrawError_InvalidUriCopyWithImpl; +@override @useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlWithdrawError_InvalidUriCopyWithImpl<$Res> + implements $LnUrlWithdrawError_InvalidUriCopyWith<$Res> { + _$LnUrlWithdrawError_InvalidUriCopyWithImpl(this._self, this._then); + + final LnUrlWithdrawError_InvalidUri _self; + final $Res Function(LnUrlWithdrawError_InvalidUri) _then; + +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlWithdrawError_InvalidUri( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlWithdrawError_InvalidUriImplCopyWithImpl<$Res> - extends _$LnUrlWithdrawErrorCopyWithImpl<$Res, _$LnUrlWithdrawError_InvalidUriImpl> - implements _$$LnUrlWithdrawError_InvalidUriImplCopyWith<$Res> { - __$$LnUrlWithdrawError_InvalidUriImplCopyWithImpl( - _$LnUrlWithdrawError_InvalidUriImpl _value, - $Res Function(_$LnUrlWithdrawError_InvalidUriImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlWithdrawError_InvalidUriImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlWithdrawError_InvalidUriImpl extends LnUrlWithdrawError_InvalidUri { - const _$LnUrlWithdrawError_InvalidUriImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlWithdrawError_InvoiceNoRoutingHints extends LnUrlWithdrawError { + const LnUrlWithdrawError_InvoiceNoRoutingHints({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlWithdrawError.invalidUri(err: $err)'; - } +@override final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlWithdrawError_InvalidUriImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlWithdrawError_InvoiceNoRoutingHintsCopyWith get copyWith => _$LnUrlWithdrawError_InvoiceNoRoutingHintsCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlWithdrawError_InvalidUriImplCopyWith<_$LnUrlWithdrawError_InvalidUriImpl> get copyWith => - __$$LnUrlWithdrawError_InvalidUriImplCopyWithImpl<_$LnUrlWithdrawError_InvalidUriImpl>( - this, - _$identity, - ); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawError_InvoiceNoRoutingHints&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlWithdrawError_InvalidUri extends LnUrlWithdrawError { - const factory LnUrlWithdrawError_InvalidUri({required final String err}) = - _$LnUrlWithdrawError_InvalidUriImpl; - const LnUrlWithdrawError_InvalidUri._() : super._(); - @override - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlWithdrawError.invoiceNoRoutingHints(err: $err)'; +} + - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlWithdrawError_InvalidUriImplCopyWith<_$LnUrlWithdrawError_InvalidUriImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlWithdrawError_InvoiceNoRoutingHintsImplCopyWith<$Res> - implements $LnUrlWithdrawErrorCopyWith<$Res> { - factory _$$LnUrlWithdrawError_InvoiceNoRoutingHintsImplCopyWith( - _$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl value, - $Res Function(_$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl) then, - ) = __$$LnUrlWithdrawError_InvoiceNoRoutingHintsImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String err}); +abstract mixin class $LnUrlWithdrawError_InvoiceNoRoutingHintsCopyWith<$Res> implements $LnUrlWithdrawErrorCopyWith<$Res> { + factory $LnUrlWithdrawError_InvoiceNoRoutingHintsCopyWith(LnUrlWithdrawError_InvoiceNoRoutingHints value, $Res Function(LnUrlWithdrawError_InvoiceNoRoutingHints) _then) = _$LnUrlWithdrawError_InvoiceNoRoutingHintsCopyWithImpl; +@override @useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$LnUrlWithdrawError_InvoiceNoRoutingHintsCopyWithImpl<$Res> + implements $LnUrlWithdrawError_InvoiceNoRoutingHintsCopyWith<$Res> { + _$LnUrlWithdrawError_InvoiceNoRoutingHintsCopyWithImpl(this._self, this._then); + + final LnUrlWithdrawError_InvoiceNoRoutingHints _self; + final $Res Function(LnUrlWithdrawError_InvoiceNoRoutingHints) _then; + +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlWithdrawError_InvoiceNoRoutingHints( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$LnUrlWithdrawError_InvoiceNoRoutingHintsImplCopyWithImpl<$Res> - extends _$LnUrlWithdrawErrorCopyWithImpl<$Res, _$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl> - implements _$$LnUrlWithdrawError_InvoiceNoRoutingHintsImplCopyWith<$Res> { - __$$LnUrlWithdrawError_InvoiceNoRoutingHintsImplCopyWithImpl( - _$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl _value, - $Res Function(_$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl extends LnUrlWithdrawError_InvoiceNoRoutingHints { - const _$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl({required this.err}) : super._(); - @override - final String err; +class LnUrlWithdrawError_ServiceConnectivity extends LnUrlWithdrawError { + const LnUrlWithdrawError_ServiceConnectivity({required this.err}): super._(); + - @override - String toString() { - return 'LnUrlWithdrawError.invoiceNoRoutingHints(err: $err)'; - } +@override final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlWithdrawError_ServiceConnectivityCopyWith get copyWith => _$LnUrlWithdrawError_ServiceConnectivityCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlWithdrawError_InvoiceNoRoutingHintsImplCopyWith<_$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl> - get copyWith => __$$LnUrlWithdrawError_InvoiceNoRoutingHintsImplCopyWithImpl< - _$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl - >(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawError_ServiceConnectivity&&(identical(other.err, err) || other.err == err)); } -abstract class LnUrlWithdrawError_InvoiceNoRoutingHints extends LnUrlWithdrawError { - const factory LnUrlWithdrawError_InvoiceNoRoutingHints({required final String err}) = - _$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl; - const LnUrlWithdrawError_InvoiceNoRoutingHints._() : super._(); - @override - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'LnUrlWithdrawError.serviceConnectivity(err: $err)'; +} + - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlWithdrawError_InvoiceNoRoutingHintsImplCopyWith<_$LnUrlWithdrawError_InvoiceNoRoutingHintsImpl> - get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlWithdrawError_ServiceConnectivityImplCopyWith<$Res> - implements $LnUrlWithdrawErrorCopyWith<$Res> { - factory _$$LnUrlWithdrawError_ServiceConnectivityImplCopyWith( - _$LnUrlWithdrawError_ServiceConnectivityImpl value, - $Res Function(_$LnUrlWithdrawError_ServiceConnectivityImpl) then, - ) = __$$LnUrlWithdrawError_ServiceConnectivityImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({String err}); -} +abstract mixin class $LnUrlWithdrawError_ServiceConnectivityCopyWith<$Res> implements $LnUrlWithdrawErrorCopyWith<$Res> { + factory $LnUrlWithdrawError_ServiceConnectivityCopyWith(LnUrlWithdrawError_ServiceConnectivity value, $Res Function(LnUrlWithdrawError_ServiceConnectivity) _then) = _$LnUrlWithdrawError_ServiceConnectivityCopyWithImpl; +@override @useResult +$Res call({ + String err +}); + + + +} /// @nodoc -class __$$LnUrlWithdrawError_ServiceConnectivityImplCopyWithImpl<$Res> - extends _$LnUrlWithdrawErrorCopyWithImpl<$Res, _$LnUrlWithdrawError_ServiceConnectivityImpl> - implements _$$LnUrlWithdrawError_ServiceConnectivityImplCopyWith<$Res> { - __$$LnUrlWithdrawError_ServiceConnectivityImplCopyWithImpl( - _$LnUrlWithdrawError_ServiceConnectivityImpl _value, - $Res Function(_$LnUrlWithdrawError_ServiceConnectivityImpl) _then, - ) : super(_value, _then); +class _$LnUrlWithdrawError_ServiceConnectivityCopyWithImpl<$Res> + implements $LnUrlWithdrawError_ServiceConnectivityCopyWith<$Res> { + _$LnUrlWithdrawError_ServiceConnectivityCopyWithImpl(this._self, this._then); - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$LnUrlWithdrawError_ServiceConnectivityImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } + final LnUrlWithdrawError_ServiceConnectivity _self; + final $Res Function(LnUrlWithdrawError_ServiceConnectivity) _then; + +/// Create a copy of LnUrlWithdrawError +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(LnUrlWithdrawError_ServiceConnectivity( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class _$LnUrlWithdrawError_ServiceConnectivityImpl extends LnUrlWithdrawError_ServiceConnectivity { - const _$LnUrlWithdrawError_ServiceConnectivityImpl({required this.err}) : super._(); - - @override - final String err; - - @override - String toString() { - return 'LnUrlWithdrawError.serviceConnectivity(err: $err)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlWithdrawError_ServiceConnectivityImpl && - (identical(other.err, err) || other.err == err)); - } - - @override - int get hashCode => Object.hash(runtimeType, err); - - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlWithdrawError_ServiceConnectivityImplCopyWith<_$LnUrlWithdrawError_ServiceConnectivityImpl> - get copyWith => __$$LnUrlWithdrawError_ServiceConnectivityImplCopyWithImpl< - _$LnUrlWithdrawError_ServiceConnectivityImpl - >(this, _$identity); -} - -abstract class LnUrlWithdrawError_ServiceConnectivity extends LnUrlWithdrawError { - const factory LnUrlWithdrawError_ServiceConnectivity({required final String err}) = - _$LnUrlWithdrawError_ServiceConnectivityImpl; - const LnUrlWithdrawError_ServiceConnectivity._() : super._(); - - @override - String get err; - - /// Create a copy of LnUrlWithdrawError - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlWithdrawError_ServiceConnectivityImplCopyWith<_$LnUrlWithdrawError_ServiceConnectivityImpl> - get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$LnUrlWithdrawResult { - Object get data => throw _privateConstructorUsedError; + + Object get data; + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawResult&&const DeepCollectionEquality().equals(other.data, data)); +} + + +@override +int get hashCode => Object.hash(runtimeType,const DeepCollectionEquality().hash(data)); + +@override +String toString() { + return 'LnUrlWithdrawResult(data: $data)'; +} + + } /// @nodoc -abstract class $LnUrlWithdrawResultCopyWith<$Res> { - factory $LnUrlWithdrawResultCopyWith(LnUrlWithdrawResult value, $Res Function(LnUrlWithdrawResult) then) = - _$LnUrlWithdrawResultCopyWithImpl<$Res, LnUrlWithdrawResult>; +class $LnUrlWithdrawResultCopyWith<$Res> { +$LnUrlWithdrawResultCopyWith(LnUrlWithdrawResult _, $Res Function(LnUrlWithdrawResult) __); +} + + +/// @nodoc + + +class LnUrlWithdrawResult_Ok extends LnUrlWithdrawResult { + const LnUrlWithdrawResult_Ok({required this.data}): super._(); + + +@override final LnUrlWithdrawSuccessData data; + +/// Create a copy of LnUrlWithdrawResult +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlWithdrawResult_OkCopyWith get copyWith => _$LnUrlWithdrawResult_OkCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawResult_Ok&&(identical(other.data, data) || other.data == data)); +} + + +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'LnUrlWithdrawResult.ok(data: $data)'; +} + + } /// @nodoc -class _$LnUrlWithdrawResultCopyWithImpl<$Res, $Val extends LnUrlWithdrawResult> - implements $LnUrlWithdrawResultCopyWith<$Res> { - _$LnUrlWithdrawResultCopyWithImpl(this._value, this._then); +abstract mixin class $LnUrlWithdrawResult_OkCopyWith<$Res> implements $LnUrlWithdrawResultCopyWith<$Res> { + factory $LnUrlWithdrawResult_OkCopyWith(LnUrlWithdrawResult_Ok value, $Res Function(LnUrlWithdrawResult_Ok) _then) = _$LnUrlWithdrawResult_OkCopyWithImpl; +@useResult +$Res call({ + LnUrlWithdrawSuccessData data +}); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of LnUrlWithdrawResult - /// with the given fields replaced by the non-null parameter values. + + +} +/// @nodoc +class _$LnUrlWithdrawResult_OkCopyWithImpl<$Res> + implements $LnUrlWithdrawResult_OkCopyWith<$Res> { + _$LnUrlWithdrawResult_OkCopyWithImpl(this._self, this._then); + + final LnUrlWithdrawResult_Ok _self; + final $Res Function(LnUrlWithdrawResult_Ok) _then; + +/// Create a copy of LnUrlWithdrawResult +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(LnUrlWithdrawResult_Ok( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlWithdrawSuccessData, + )); } -/// @nodoc -abstract class _$$LnUrlWithdrawResult_OkImplCopyWith<$Res> { - factory _$$LnUrlWithdrawResult_OkImplCopyWith( - _$LnUrlWithdrawResult_OkImpl value, - $Res Function(_$LnUrlWithdrawResult_OkImpl) then, - ) = __$$LnUrlWithdrawResult_OkImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlWithdrawSuccessData data}); -} -/// @nodoc -class __$$LnUrlWithdrawResult_OkImplCopyWithImpl<$Res> - extends _$LnUrlWithdrawResultCopyWithImpl<$Res, _$LnUrlWithdrawResult_OkImpl> - implements _$$LnUrlWithdrawResult_OkImplCopyWith<$Res> { - __$$LnUrlWithdrawResult_OkImplCopyWithImpl( - _$LnUrlWithdrawResult_OkImpl _value, - $Res Function(_$LnUrlWithdrawResult_OkImpl) _then, - ) : super(_value, _then); - - /// Create a copy of LnUrlWithdrawResult - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$LnUrlWithdrawResult_OkImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlWithdrawSuccessData, - ), - ); - } } /// @nodoc -class _$LnUrlWithdrawResult_OkImpl extends LnUrlWithdrawResult_Ok { - const _$LnUrlWithdrawResult_OkImpl({required this.data}) : super._(); - @override - final LnUrlWithdrawSuccessData data; +class LnUrlWithdrawResult_Timeout extends LnUrlWithdrawResult { + const LnUrlWithdrawResult_Timeout({required this.data}): super._(); + - @override - String toString() { - return 'LnUrlWithdrawResult.ok(data: $data)'; - } +@override final LnUrlWithdrawSuccessData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlWithdrawResult_OkImpl && - (identical(other.data, data) || other.data == data)); - } +/// Create a copy of LnUrlWithdrawResult +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlWithdrawResult_TimeoutCopyWith get copyWith => _$LnUrlWithdrawResult_TimeoutCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data); - /// Create a copy of LnUrlWithdrawResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlWithdrawResult_OkImplCopyWith<_$LnUrlWithdrawResult_OkImpl> get copyWith => - __$$LnUrlWithdrawResult_OkImplCopyWithImpl<_$LnUrlWithdrawResult_OkImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawResult_Timeout&&(identical(other.data, data) || other.data == data)); } -abstract class LnUrlWithdrawResult_Ok extends LnUrlWithdrawResult { - const factory LnUrlWithdrawResult_Ok({required final LnUrlWithdrawSuccessData data}) = - _$LnUrlWithdrawResult_OkImpl; - const LnUrlWithdrawResult_Ok._() : super._(); - @override - LnUrlWithdrawSuccessData get data; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'LnUrlWithdrawResult.timeout(data: $data)'; +} + - /// Create a copy of LnUrlWithdrawResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlWithdrawResult_OkImplCopyWith<_$LnUrlWithdrawResult_OkImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlWithdrawResult_TimeoutImplCopyWith<$Res> { - factory _$$LnUrlWithdrawResult_TimeoutImplCopyWith( - _$LnUrlWithdrawResult_TimeoutImpl value, - $Res Function(_$LnUrlWithdrawResult_TimeoutImpl) then, - ) = __$$LnUrlWithdrawResult_TimeoutImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlWithdrawSuccessData data}); +abstract mixin class $LnUrlWithdrawResult_TimeoutCopyWith<$Res> implements $LnUrlWithdrawResultCopyWith<$Res> { + factory $LnUrlWithdrawResult_TimeoutCopyWith(LnUrlWithdrawResult_Timeout value, $Res Function(LnUrlWithdrawResult_Timeout) _then) = _$LnUrlWithdrawResult_TimeoutCopyWithImpl; +@useResult +$Res call({ + LnUrlWithdrawSuccessData data +}); + + + + +} +/// @nodoc +class _$LnUrlWithdrawResult_TimeoutCopyWithImpl<$Res> + implements $LnUrlWithdrawResult_TimeoutCopyWith<$Res> { + _$LnUrlWithdrawResult_TimeoutCopyWithImpl(this._self, this._then); + + final LnUrlWithdrawResult_Timeout _self; + final $Res Function(LnUrlWithdrawResult_Timeout) _then; + +/// Create a copy of LnUrlWithdrawResult +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(LnUrlWithdrawResult_Timeout( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlWithdrawSuccessData, + )); } -/// @nodoc -class __$$LnUrlWithdrawResult_TimeoutImplCopyWithImpl<$Res> - extends _$LnUrlWithdrawResultCopyWithImpl<$Res, _$LnUrlWithdrawResult_TimeoutImpl> - implements _$$LnUrlWithdrawResult_TimeoutImplCopyWith<$Res> { - __$$LnUrlWithdrawResult_TimeoutImplCopyWithImpl( - _$LnUrlWithdrawResult_TimeoutImpl _value, - $Res Function(_$LnUrlWithdrawResult_TimeoutImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlWithdrawResult - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$LnUrlWithdrawResult_TimeoutImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlWithdrawSuccessData, - ), - ); - } } /// @nodoc -class _$LnUrlWithdrawResult_TimeoutImpl extends LnUrlWithdrawResult_Timeout { - const _$LnUrlWithdrawResult_TimeoutImpl({required this.data}) : super._(); - @override - final LnUrlWithdrawSuccessData data; +class LnUrlWithdrawResult_ErrorStatus extends LnUrlWithdrawResult { + const LnUrlWithdrawResult_ErrorStatus({required this.data}): super._(); + - @override - String toString() { - return 'LnUrlWithdrawResult.timeout(data: $data)'; - } +@override final LnUrlErrorData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlWithdrawResult_TimeoutImpl && - (identical(other.data, data) || other.data == data)); - } +/// Create a copy of LnUrlWithdrawResult +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlWithdrawResult_ErrorStatusCopyWith get copyWith => _$LnUrlWithdrawResult_ErrorStatusCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data); - /// Create a copy of LnUrlWithdrawResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlWithdrawResult_TimeoutImplCopyWith<_$LnUrlWithdrawResult_TimeoutImpl> get copyWith => - __$$LnUrlWithdrawResult_TimeoutImplCopyWithImpl<_$LnUrlWithdrawResult_TimeoutImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlWithdrawResult_ErrorStatus&&(identical(other.data, data) || other.data == data)); } -abstract class LnUrlWithdrawResult_Timeout extends LnUrlWithdrawResult { - const factory LnUrlWithdrawResult_Timeout({required final LnUrlWithdrawSuccessData data}) = - _$LnUrlWithdrawResult_TimeoutImpl; - const LnUrlWithdrawResult_Timeout._() : super._(); - @override - LnUrlWithdrawSuccessData get data; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'LnUrlWithdrawResult.errorStatus(data: $data)'; +} + - /// Create a copy of LnUrlWithdrawResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlWithdrawResult_TimeoutImplCopyWith<_$LnUrlWithdrawResult_TimeoutImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlWithdrawResult_ErrorStatusImplCopyWith<$Res> { - factory _$$LnUrlWithdrawResult_ErrorStatusImplCopyWith( - _$LnUrlWithdrawResult_ErrorStatusImpl value, - $Res Function(_$LnUrlWithdrawResult_ErrorStatusImpl) then, - ) = __$$LnUrlWithdrawResult_ErrorStatusImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlErrorData data}); -} +abstract mixin class $LnUrlWithdrawResult_ErrorStatusCopyWith<$Res> implements $LnUrlWithdrawResultCopyWith<$Res> { + factory $LnUrlWithdrawResult_ErrorStatusCopyWith(LnUrlWithdrawResult_ErrorStatus value, $Res Function(LnUrlWithdrawResult_ErrorStatus) _then) = _$LnUrlWithdrawResult_ErrorStatusCopyWithImpl; +@useResult +$Res call({ + LnUrlErrorData data +}); + + + +} /// @nodoc -class __$$LnUrlWithdrawResult_ErrorStatusImplCopyWithImpl<$Res> - extends _$LnUrlWithdrawResultCopyWithImpl<$Res, _$LnUrlWithdrawResult_ErrorStatusImpl> - implements _$$LnUrlWithdrawResult_ErrorStatusImplCopyWith<$Res> { - __$$LnUrlWithdrawResult_ErrorStatusImplCopyWithImpl( - _$LnUrlWithdrawResult_ErrorStatusImpl _value, - $Res Function(_$LnUrlWithdrawResult_ErrorStatusImpl) _then, - ) : super(_value, _then); +class _$LnUrlWithdrawResult_ErrorStatusCopyWithImpl<$Res> + implements $LnUrlWithdrawResult_ErrorStatusCopyWith<$Res> { + _$LnUrlWithdrawResult_ErrorStatusCopyWithImpl(this._self, this._then); - /// Create a copy of LnUrlWithdrawResult - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$LnUrlWithdrawResult_ErrorStatusImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlErrorData, - ), - ); - } + final LnUrlWithdrawResult_ErrorStatus _self; + final $Res Function(LnUrlWithdrawResult_ErrorStatus) _then; + +/// Create a copy of LnUrlWithdrawResult +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(LnUrlWithdrawResult_ErrorStatus( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlErrorData, + )); } -/// @nodoc -class _$LnUrlWithdrawResult_ErrorStatusImpl extends LnUrlWithdrawResult_ErrorStatus { - const _$LnUrlWithdrawResult_ErrorStatusImpl({required this.data}) : super._(); - - @override - final LnUrlErrorData data; - - @override - String toString() { - return 'LnUrlWithdrawResult.errorStatus(data: $data)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlWithdrawResult_ErrorStatusImpl && - (identical(other.data, data) || other.data == data)); - } - - @override - int get hashCode => Object.hash(runtimeType, data); - - /// Create a copy of LnUrlWithdrawResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlWithdrawResult_ErrorStatusImplCopyWith<_$LnUrlWithdrawResult_ErrorStatusImpl> get copyWith => - __$$LnUrlWithdrawResult_ErrorStatusImplCopyWithImpl<_$LnUrlWithdrawResult_ErrorStatusImpl>( - this, - _$identity, - ); } -abstract class LnUrlWithdrawResult_ErrorStatus extends LnUrlWithdrawResult { - const factory LnUrlWithdrawResult_ErrorStatus({required final LnUrlErrorData data}) = - _$LnUrlWithdrawResult_ErrorStatusImpl; - const LnUrlWithdrawResult_ErrorStatus._() : super._(); - - @override - LnUrlErrorData get data; - - /// Create a copy of LnUrlWithdrawResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlWithdrawResult_ErrorStatusImplCopyWith<_$LnUrlWithdrawResult_ErrorStatusImpl> get copyWith => - throw _privateConstructorUsedError; -} +// dart format on diff --git a/packages/dart/lib/src/error.dart b/packages/dart/lib/src/error.dart index 806ea37..c82e72e 100644 --- a/packages/dart/lib/src/error.dart +++ b/packages/dart/lib/src/error.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.8.0. +// @generated by `flutter_rust_bridge`@ 2.9.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/packages/dart/lib/src/error.freezed.dart b/packages/dart/lib/src/error.freezed.dart index cebf2da..33f4562 100644 --- a/packages/dart/lib/src/error.freezed.dart +++ b/packages/dart/lib/src/error.freezed.dart @@ -1,3 +1,4 @@ +// dart format width=80 // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint @@ -9,1646 +10,1276 @@ part of 'error.dart'; // FreezedGenerator // ************************************************************************** +// dart format off T _$identity(T value) => value; +/// @nodoc +mixin _$PaymentError { -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); -/// @nodoc -mixin _$PaymentError {} -/// @nodoc -abstract class $PaymentErrorCopyWith<$Res> { - factory $PaymentErrorCopyWith(PaymentError value, $Res Function(PaymentError) then) = - _$PaymentErrorCopyWithImpl<$Res, PaymentError>; + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError); } -/// @nodoc -class _$PaymentErrorCopyWithImpl<$Res, $Val extends PaymentError> implements $PaymentErrorCopyWith<$Res> { - _$PaymentErrorCopyWithImpl(this._value, this._then); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; +@override +int get hashCode => runtimeType.hashCode; - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. +@override +String toString() { + return 'PaymentError()'; } -/// @nodoc -abstract class _$$PaymentError_AlreadyClaimedImplCopyWith<$Res> { - factory _$$PaymentError_AlreadyClaimedImplCopyWith( - _$PaymentError_AlreadyClaimedImpl value, - $Res Function(_$PaymentError_AlreadyClaimedImpl) then, - ) = __$$PaymentError_AlreadyClaimedImplCopyWithImpl<$Res>; + } /// @nodoc -class __$$PaymentError_AlreadyClaimedImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_AlreadyClaimedImpl> - implements _$$PaymentError_AlreadyClaimedImplCopyWith<$Res> { - __$$PaymentError_AlreadyClaimedImplCopyWithImpl( - _$PaymentError_AlreadyClaimedImpl _value, - $Res Function(_$PaymentError_AlreadyClaimedImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. +class $PaymentErrorCopyWith<$Res> { +$PaymentErrorCopyWith(PaymentError _, $Res Function(PaymentError) __); } + /// @nodoc -class _$PaymentError_AlreadyClaimedImpl extends PaymentError_AlreadyClaimed { - const _$PaymentError_AlreadyClaimedImpl() : super._(); - @override - String toString() { - return 'PaymentError.alreadyClaimed()'; - } +class PaymentError_AlreadyClaimed extends PaymentError { + const PaymentError_AlreadyClaimed(): super._(); + - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_AlreadyClaimedImpl); - } - @override - int get hashCode => runtimeType.hashCode; -} -abstract class PaymentError_AlreadyClaimed extends PaymentError { - const factory PaymentError_AlreadyClaimed() = _$PaymentError_AlreadyClaimedImpl; - const PaymentError_AlreadyClaimed._() : super._(); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_AlreadyClaimed); } -/// @nodoc -abstract class _$$PaymentError_AlreadyPaidImplCopyWith<$Res> { - factory _$$PaymentError_AlreadyPaidImplCopyWith( - _$PaymentError_AlreadyPaidImpl value, - $Res Function(_$PaymentError_AlreadyPaidImpl) then, - ) = __$$PaymentError_AlreadyPaidImplCopyWithImpl<$Res>; + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.alreadyClaimed()'; } -/// @nodoc -class __$$PaymentError_AlreadyPaidImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_AlreadyPaidImpl> - implements _$$PaymentError_AlreadyPaidImplCopyWith<$Res> { - __$$PaymentError_AlreadyPaidImplCopyWithImpl( - _$PaymentError_AlreadyPaidImpl _value, - $Res Function(_$PaymentError_AlreadyPaidImpl) _then, - ) : super(_value, _then); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. } + + + /// @nodoc -class _$PaymentError_AlreadyPaidImpl extends PaymentError_AlreadyPaid { - const _$PaymentError_AlreadyPaidImpl() : super._(); - @override - String toString() { - return 'PaymentError.alreadyPaid()'; - } +class PaymentError_AlreadyPaid extends PaymentError { + const PaymentError_AlreadyPaid(): super._(); + + + - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_AlreadyPaidImpl); - } - @override - int get hashCode => runtimeType.hashCode; -} -abstract class PaymentError_AlreadyPaid extends PaymentError { - const factory PaymentError_AlreadyPaid() = _$PaymentError_AlreadyPaidImpl; - const PaymentError_AlreadyPaid._() : super._(); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_AlreadyPaid); } -/// @nodoc -abstract class _$$PaymentError_PaymentInProgressImplCopyWith<$Res> { - factory _$$PaymentError_PaymentInProgressImplCopyWith( - _$PaymentError_PaymentInProgressImpl value, - $Res Function(_$PaymentError_PaymentInProgressImpl) then, - ) = __$$PaymentError_PaymentInProgressImplCopyWithImpl<$Res>; + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.alreadyPaid()'; } -/// @nodoc -class __$$PaymentError_PaymentInProgressImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_PaymentInProgressImpl> - implements _$$PaymentError_PaymentInProgressImplCopyWith<$Res> { - __$$PaymentError_PaymentInProgressImplCopyWithImpl( - _$PaymentError_PaymentInProgressImpl _value, - $Res Function(_$PaymentError_PaymentInProgressImpl) _then, - ) : super(_value, _then); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. } + + + /// @nodoc -class _$PaymentError_PaymentInProgressImpl extends PaymentError_PaymentInProgress { - const _$PaymentError_PaymentInProgressImpl() : super._(); - @override - String toString() { - return 'PaymentError.paymentInProgress()'; - } +class PaymentError_PaymentInProgress extends PaymentError { + const PaymentError_PaymentInProgress(): super._(); + + + - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_PaymentInProgressImpl); - } - @override - int get hashCode => runtimeType.hashCode; -} -abstract class PaymentError_PaymentInProgress extends PaymentError { - const factory PaymentError_PaymentInProgress() = _$PaymentError_PaymentInProgressImpl; - const PaymentError_PaymentInProgress._() : super._(); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_PaymentInProgress); } -/// @nodoc -abstract class _$$PaymentError_AmountOutOfRangeImplCopyWith<$Res> { - factory _$$PaymentError_AmountOutOfRangeImplCopyWith( - _$PaymentError_AmountOutOfRangeImpl value, - $Res Function(_$PaymentError_AmountOutOfRangeImpl) then, - ) = __$$PaymentError_AmountOutOfRangeImplCopyWithImpl<$Res>; + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.paymentInProgress()'; } -/// @nodoc -class __$$PaymentError_AmountOutOfRangeImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_AmountOutOfRangeImpl> - implements _$$PaymentError_AmountOutOfRangeImplCopyWith<$Res> { - __$$PaymentError_AmountOutOfRangeImplCopyWithImpl( - _$PaymentError_AmountOutOfRangeImpl _value, - $Res Function(_$PaymentError_AmountOutOfRangeImpl) _then, - ) : super(_value, _then); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. } + + + /// @nodoc -class _$PaymentError_AmountOutOfRangeImpl extends PaymentError_AmountOutOfRange { - const _$PaymentError_AmountOutOfRangeImpl() : super._(); - @override - String toString() { - return 'PaymentError.amountOutOfRange()'; - } +class PaymentError_AmountOutOfRange extends PaymentError { + const PaymentError_AmountOutOfRange(): super._(); + + - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_AmountOutOfRangeImpl); - } - @override - int get hashCode => runtimeType.hashCode; -} -abstract class PaymentError_AmountOutOfRange extends PaymentError { - const factory PaymentError_AmountOutOfRange() = _$PaymentError_AmountOutOfRangeImpl; - const PaymentError_AmountOutOfRange._() : super._(); + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_AmountOutOfRange); } -/// @nodoc -abstract class _$$PaymentError_AmountMissingImplCopyWith<$Res> { - factory _$$PaymentError_AmountMissingImplCopyWith( - _$PaymentError_AmountMissingImpl value, - $Res Function(_$PaymentError_AmountMissingImpl) then, - ) = __$$PaymentError_AmountMissingImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.amountOutOfRange()'; } -/// @nodoc -class __$$PaymentError_AmountMissingImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_AmountMissingImpl> - implements _$$PaymentError_AmountMissingImplCopyWith<$Res> { - __$$PaymentError_AmountMissingImplCopyWithImpl( - _$PaymentError_AmountMissingImpl _value, - $Res Function(_$PaymentError_AmountMissingImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$PaymentError_AmountMissingImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } + } + + + /// @nodoc -class _$PaymentError_AmountMissingImpl extends PaymentError_AmountMissing { - const _$PaymentError_AmountMissingImpl({required this.err}) : super._(); - @override - final String err; +class PaymentError_AmountMissing extends PaymentError { + const PaymentError_AmountMissing({required this.err}): super._(); + + + final String err; - @override - String toString() { - return 'PaymentError.amountMissing(err: $err)'; - } +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentError_AmountMissingCopyWith get copyWith => _$PaymentError_AmountMissingCopyWithImpl(this, _$identity); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentError_AmountMissingImpl && - (identical(other.err, err) || other.err == err)); - } - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentError_AmountMissingImplCopyWith<_$PaymentError_AmountMissingImpl> get copyWith => - __$$PaymentError_AmountMissingImplCopyWithImpl<_$PaymentError_AmountMissingImpl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_AmountMissing&&(identical(other.err, err) || other.err == err)); } -abstract class PaymentError_AmountMissing extends PaymentError { - const factory PaymentError_AmountMissing({required final String err}) = _$PaymentError_AmountMissingImpl; - const PaymentError_AmountMissing._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentError_AmountMissingImplCopyWith<_$PaymentError_AmountMissingImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PaymentError.amountMissing(err: $err)'; } -/// @nodoc -abstract class _$$PaymentError_AssetErrorImplCopyWith<$Res> { - factory _$$PaymentError_AssetErrorImplCopyWith( - _$PaymentError_AssetErrorImpl value, - $Res Function(_$PaymentError_AssetErrorImpl) then, - ) = __$$PaymentError_AssetErrorImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + } /// @nodoc -class __$$PaymentError_AssetErrorImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_AssetErrorImpl> - implements _$$PaymentError_AssetErrorImplCopyWith<$Res> { - __$$PaymentError_AssetErrorImplCopyWithImpl( - _$PaymentError_AssetErrorImpl _value, - $Res Function(_$PaymentError_AssetErrorImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$PaymentError_AssetErrorImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } +abstract mixin class $PaymentError_AmountMissingCopyWith<$Res> implements $PaymentErrorCopyWith<$Res> { + factory $PaymentError_AmountMissingCopyWith(PaymentError_AmountMissing value, $Res Function(PaymentError_AmountMissing) _then) = _$PaymentError_AmountMissingCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$PaymentError_AmountMissingCopyWithImpl<$Res> + implements $PaymentError_AmountMissingCopyWith<$Res> { + _$PaymentError_AmountMissingCopyWithImpl(this._self, this._then); + + final PaymentError_AmountMissing _self; + final $Res Function(PaymentError_AmountMissing) _then; + +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(PaymentError_AmountMissing( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class _$PaymentError_AssetErrorImpl extends PaymentError_AssetError { - const _$PaymentError_AssetErrorImpl({required this.err}) : super._(); - @override - final String err; +class PaymentError_AssetError extends PaymentError { + const PaymentError_AssetError({required this.err}): super._(); + - @override - String toString() { - return 'PaymentError.assetError(err: $err)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentError_AssetErrorImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentError_AssetErrorCopyWith get copyWith => _$PaymentError_AssetErrorCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentError_AssetErrorImplCopyWith<_$PaymentError_AssetErrorImpl> get copyWith => - __$$PaymentError_AssetErrorImplCopyWithImpl<_$PaymentError_AssetErrorImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_AssetError&&(identical(other.err, err) || other.err == err)); } -abstract class PaymentError_AssetError extends PaymentError { - const factory PaymentError_AssetError({required final String err}) = _$PaymentError_AssetErrorImpl; - const PaymentError_AssetError._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentError_AssetErrorImplCopyWith<_$PaymentError_AssetErrorImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PaymentError.assetError(err: $err)'; } -/// @nodoc -abstract class _$$PaymentError_InvalidNetworkImplCopyWith<$Res> { - factory _$$PaymentError_InvalidNetworkImplCopyWith( - _$PaymentError_InvalidNetworkImpl value, - $Res Function(_$PaymentError_InvalidNetworkImpl) then, - ) = __$$PaymentError_InvalidNetworkImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + } /// @nodoc -class __$$PaymentError_InvalidNetworkImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_InvalidNetworkImpl> - implements _$$PaymentError_InvalidNetworkImplCopyWith<$Res> { - __$$PaymentError_InvalidNetworkImplCopyWithImpl( - _$PaymentError_InvalidNetworkImpl _value, - $Res Function(_$PaymentError_InvalidNetworkImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$PaymentError_InvalidNetworkImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } +abstract mixin class $PaymentError_AssetErrorCopyWith<$Res> implements $PaymentErrorCopyWith<$Res> { + factory $PaymentError_AssetErrorCopyWith(PaymentError_AssetError value, $Res Function(PaymentError_AssetError) _then) = _$PaymentError_AssetErrorCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$PaymentError_AssetErrorCopyWithImpl<$Res> + implements $PaymentError_AssetErrorCopyWith<$Res> { + _$PaymentError_AssetErrorCopyWithImpl(this._self, this._then); + + final PaymentError_AssetError _self; + final $Res Function(PaymentError_AssetError) _then; + +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(PaymentError_AssetError( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class _$PaymentError_InvalidNetworkImpl extends PaymentError_InvalidNetwork { - const _$PaymentError_InvalidNetworkImpl({required this.err}) : super._(); - @override - final String err; +class PaymentError_InvalidNetwork extends PaymentError { + const PaymentError_InvalidNetwork({required this.err}): super._(); + + + final String err; - @override - String toString() { - return 'PaymentError.invalidNetwork(err: $err)'; - } +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentError_InvalidNetworkCopyWith get copyWith => _$PaymentError_InvalidNetworkCopyWithImpl(this, _$identity); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentError_InvalidNetworkImpl && - (identical(other.err, err) || other.err == err)); - } - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentError_InvalidNetworkImplCopyWith<_$PaymentError_InvalidNetworkImpl> get copyWith => - __$$PaymentError_InvalidNetworkImplCopyWithImpl<_$PaymentError_InvalidNetworkImpl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_InvalidNetwork&&(identical(other.err, err) || other.err == err)); } -abstract class PaymentError_InvalidNetwork extends PaymentError { - const factory PaymentError_InvalidNetwork({required final String err}) = _$PaymentError_InvalidNetworkImpl; - const PaymentError_InvalidNetwork._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentError_InvalidNetworkImplCopyWith<_$PaymentError_InvalidNetworkImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PaymentError.invalidNetwork(err: $err)'; } -/// @nodoc -abstract class _$$PaymentError_GenericImplCopyWith<$Res> { - factory _$$PaymentError_GenericImplCopyWith( - _$PaymentError_GenericImpl value, - $Res Function(_$PaymentError_GenericImpl) then, - ) = __$$PaymentError_GenericImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + } /// @nodoc -class __$$PaymentError_GenericImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_GenericImpl> - implements _$$PaymentError_GenericImplCopyWith<$Res> { - __$$PaymentError_GenericImplCopyWithImpl( - _$PaymentError_GenericImpl _value, - $Res Function(_$PaymentError_GenericImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$PaymentError_GenericImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } +abstract mixin class $PaymentError_InvalidNetworkCopyWith<$Res> implements $PaymentErrorCopyWith<$Res> { + factory $PaymentError_InvalidNetworkCopyWith(PaymentError_InvalidNetwork value, $Res Function(PaymentError_InvalidNetwork) _then) = _$PaymentError_InvalidNetworkCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$PaymentError_InvalidNetworkCopyWithImpl<$Res> + implements $PaymentError_InvalidNetworkCopyWith<$Res> { + _$PaymentError_InvalidNetworkCopyWithImpl(this._self, this._then); + + final PaymentError_InvalidNetwork _self; + final $Res Function(PaymentError_InvalidNetwork) _then; + +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(PaymentError_InvalidNetwork( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class _$PaymentError_GenericImpl extends PaymentError_Generic { - const _$PaymentError_GenericImpl({required this.err}) : super._(); - @override - final String err; +class PaymentError_Generic extends PaymentError { + const PaymentError_Generic({required this.err}): super._(); + + + final String err; - @override - String toString() { - return 'PaymentError.generic(err: $err)'; - } +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentError_GenericCopyWith get copyWith => _$PaymentError_GenericCopyWithImpl(this, _$identity); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentError_GenericImpl && - (identical(other.err, err) || other.err == err)); - } - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentError_GenericImplCopyWith<_$PaymentError_GenericImpl> get copyWith => - __$$PaymentError_GenericImplCopyWithImpl<_$PaymentError_GenericImpl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_Generic&&(identical(other.err, err) || other.err == err)); } -abstract class PaymentError_Generic extends PaymentError { - const factory PaymentError_Generic({required final String err}) = _$PaymentError_GenericImpl; - const PaymentError_Generic._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentError_GenericImplCopyWith<_$PaymentError_GenericImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PaymentError.generic(err: $err)'; } -/// @nodoc -abstract class _$$PaymentError_InvalidOrExpiredFeesImplCopyWith<$Res> { - factory _$$PaymentError_InvalidOrExpiredFeesImplCopyWith( - _$PaymentError_InvalidOrExpiredFeesImpl value, - $Res Function(_$PaymentError_InvalidOrExpiredFeesImpl) then, - ) = __$$PaymentError_InvalidOrExpiredFeesImplCopyWithImpl<$Res>; + } /// @nodoc -class __$$PaymentError_InvalidOrExpiredFeesImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_InvalidOrExpiredFeesImpl> - implements _$$PaymentError_InvalidOrExpiredFeesImplCopyWith<$Res> { - __$$PaymentError_InvalidOrExpiredFeesImplCopyWithImpl( - _$PaymentError_InvalidOrExpiredFeesImpl _value, - $Res Function(_$PaymentError_InvalidOrExpiredFeesImpl) _then, - ) : super(_value, _then); +abstract mixin class $PaymentError_GenericCopyWith<$Res> implements $PaymentErrorCopyWith<$Res> { + factory $PaymentError_GenericCopyWith(PaymentError_Generic value, $Res Function(PaymentError_Generic) _then) = _$PaymentError_GenericCopyWithImpl; +@useResult +$Res call({ + String err +}); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. -} -/// @nodoc -class _$PaymentError_InvalidOrExpiredFeesImpl extends PaymentError_InvalidOrExpiredFees { - const _$PaymentError_InvalidOrExpiredFeesImpl() : super._(); - @override - String toString() { - return 'PaymentError.invalidOrExpiredFees()'; - } +} +/// @nodoc +class _$PaymentError_GenericCopyWithImpl<$Res> + implements $PaymentError_GenericCopyWith<$Res> { + _$PaymentError_GenericCopyWithImpl(this._self, this._then); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_InvalidOrExpiredFeesImpl); - } + final PaymentError_Generic _self; + final $Res Function(PaymentError_Generic) _then; - @override - int get hashCode => runtimeType.hashCode; +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(PaymentError_Generic( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -abstract class PaymentError_InvalidOrExpiredFees extends PaymentError { - const factory PaymentError_InvalidOrExpiredFees() = _$PaymentError_InvalidOrExpiredFeesImpl; - const PaymentError_InvalidOrExpiredFees._() : super._(); + } /// @nodoc -abstract class _$$PaymentError_InsufficientFundsImplCopyWith<$Res> { - factory _$$PaymentError_InsufficientFundsImplCopyWith( - _$PaymentError_InsufficientFundsImpl value, - $Res Function(_$PaymentError_InsufficientFundsImpl) then, - ) = __$$PaymentError_InsufficientFundsImplCopyWithImpl<$Res>; + + +class PaymentError_InvalidOrExpiredFees extends PaymentError { + const PaymentError_InvalidOrExpiredFees(): super._(); + + + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_InvalidOrExpiredFees); } -/// @nodoc -class __$$PaymentError_InsufficientFundsImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_InsufficientFundsImpl> - implements _$$PaymentError_InsufficientFundsImplCopyWith<$Res> { - __$$PaymentError_InsufficientFundsImplCopyWithImpl( - _$PaymentError_InsufficientFundsImpl _value, - $Res Function(_$PaymentError_InsufficientFundsImpl) _then, - ) : super(_value, _then); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.invalidOrExpiredFees()'; } + +} + + + + /// @nodoc -class _$PaymentError_InsufficientFundsImpl extends PaymentError_InsufficientFunds { - const _$PaymentError_InsufficientFundsImpl() : super._(); - @override - String toString() { - return 'PaymentError.insufficientFunds()'; - } +class PaymentError_InsufficientFunds extends PaymentError { + const PaymentError_InsufficientFunds(): super._(); + + + - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_InsufficientFundsImpl); - } - @override - int get hashCode => runtimeType.hashCode; -} -abstract class PaymentError_InsufficientFunds extends PaymentError { - const factory PaymentError_InsufficientFunds() = _$PaymentError_InsufficientFundsImpl; - const PaymentError_InsufficientFunds._() : super._(); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_InsufficientFunds); } -/// @nodoc -abstract class _$$PaymentError_InvalidDescriptionImplCopyWith<$Res> { - factory _$$PaymentError_InvalidDescriptionImplCopyWith( - _$PaymentError_InvalidDescriptionImpl value, - $Res Function(_$PaymentError_InvalidDescriptionImpl) then, - ) = __$$PaymentError_InvalidDescriptionImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.insufficientFunds()'; } -/// @nodoc -class __$$PaymentError_InvalidDescriptionImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_InvalidDescriptionImpl> - implements _$$PaymentError_InvalidDescriptionImplCopyWith<$Res> { - __$$PaymentError_InvalidDescriptionImplCopyWithImpl( - _$PaymentError_InvalidDescriptionImpl _value, - $Res Function(_$PaymentError_InvalidDescriptionImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$PaymentError_InvalidDescriptionImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } + } + + + /// @nodoc -class _$PaymentError_InvalidDescriptionImpl extends PaymentError_InvalidDescription { - const _$PaymentError_InvalidDescriptionImpl({required this.err}) : super._(); - @override - final String err; +class PaymentError_InvalidDescription extends PaymentError { + const PaymentError_InvalidDescription({required this.err}): super._(); + + + final String err; - @override - String toString() { - return 'PaymentError.invalidDescription(err: $err)'; - } +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentError_InvalidDescriptionCopyWith get copyWith => _$PaymentError_InvalidDescriptionCopyWithImpl(this, _$identity); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentError_InvalidDescriptionImpl && - (identical(other.err, err) || other.err == err)); - } - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentError_InvalidDescriptionImplCopyWith<_$PaymentError_InvalidDescriptionImpl> get copyWith => - __$$PaymentError_InvalidDescriptionImplCopyWithImpl<_$PaymentError_InvalidDescriptionImpl>( - this, - _$identity, - ); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_InvalidDescription&&(identical(other.err, err) || other.err == err)); } -abstract class PaymentError_InvalidDescription extends PaymentError { - const factory PaymentError_InvalidDescription({required final String err}) = - _$PaymentError_InvalidDescriptionImpl; - const PaymentError_InvalidDescription._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentError_InvalidDescriptionImplCopyWith<_$PaymentError_InvalidDescriptionImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PaymentError.invalidDescription(err: $err)'; } -/// @nodoc -abstract class _$$PaymentError_InvalidInvoiceImplCopyWith<$Res> { - factory _$$PaymentError_InvalidInvoiceImplCopyWith( - _$PaymentError_InvalidInvoiceImpl value, - $Res Function(_$PaymentError_InvalidInvoiceImpl) then, - ) = __$$PaymentError_InvalidInvoiceImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + } /// @nodoc -class __$$PaymentError_InvalidInvoiceImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_InvalidInvoiceImpl> - implements _$$PaymentError_InvalidInvoiceImplCopyWith<$Res> { - __$$PaymentError_InvalidInvoiceImplCopyWithImpl( - _$PaymentError_InvalidInvoiceImpl _value, - $Res Function(_$PaymentError_InvalidInvoiceImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$PaymentError_InvalidInvoiceImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } +abstract mixin class $PaymentError_InvalidDescriptionCopyWith<$Res> implements $PaymentErrorCopyWith<$Res> { + factory $PaymentError_InvalidDescriptionCopyWith(PaymentError_InvalidDescription value, $Res Function(PaymentError_InvalidDescription) _then) = _$PaymentError_InvalidDescriptionCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$PaymentError_InvalidDescriptionCopyWithImpl<$Res> + implements $PaymentError_InvalidDescriptionCopyWith<$Res> { + _$PaymentError_InvalidDescriptionCopyWithImpl(this._self, this._then); + + final PaymentError_InvalidDescription _self; + final $Res Function(PaymentError_InvalidDescription) _then; + +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(PaymentError_InvalidDescription( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class _$PaymentError_InvalidInvoiceImpl extends PaymentError_InvalidInvoice { - const _$PaymentError_InvalidInvoiceImpl({required this.err}) : super._(); - @override - final String err; +class PaymentError_InvalidInvoice extends PaymentError { + const PaymentError_InvalidInvoice({required this.err}): super._(); + - @override - String toString() { - return 'PaymentError.invalidInvoice(err: $err)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentError_InvalidInvoiceImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentError_InvalidInvoiceCopyWith get copyWith => _$PaymentError_InvalidInvoiceCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentError_InvalidInvoiceImplCopyWith<_$PaymentError_InvalidInvoiceImpl> get copyWith => - __$$PaymentError_InvalidInvoiceImplCopyWithImpl<_$PaymentError_InvalidInvoiceImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_InvalidInvoice&&(identical(other.err, err) || other.err == err)); } -abstract class PaymentError_InvalidInvoice extends PaymentError { - const factory PaymentError_InvalidInvoice({required final String err}) = _$PaymentError_InvalidInvoiceImpl; - const PaymentError_InvalidInvoice._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentError_InvalidInvoiceImplCopyWith<_$PaymentError_InvalidInvoiceImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PaymentError.invalidInvoice(err: $err)'; } -/// @nodoc -abstract class _$$PaymentError_InvalidPreimageImplCopyWith<$Res> { - factory _$$PaymentError_InvalidPreimageImplCopyWith( - _$PaymentError_InvalidPreimageImpl value, - $Res Function(_$PaymentError_InvalidPreimageImpl) then, - ) = __$$PaymentError_InvalidPreimageImplCopyWithImpl<$Res>; + } /// @nodoc -class __$$PaymentError_InvalidPreimageImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_InvalidPreimageImpl> - implements _$$PaymentError_InvalidPreimageImplCopyWith<$Res> { - __$$PaymentError_InvalidPreimageImplCopyWithImpl( - _$PaymentError_InvalidPreimageImpl _value, - $Res Function(_$PaymentError_InvalidPreimageImpl) _then, - ) : super(_value, _then); +abstract mixin class $PaymentError_InvalidInvoiceCopyWith<$Res> implements $PaymentErrorCopyWith<$Res> { + factory $PaymentError_InvalidInvoiceCopyWith(PaymentError_InvalidInvoice value, $Res Function(PaymentError_InvalidInvoice) _then) = _$PaymentError_InvalidInvoiceCopyWithImpl; +@useResult +$Res call({ + String err +}); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. -} -/// @nodoc -class _$PaymentError_InvalidPreimageImpl extends PaymentError_InvalidPreimage { - const _$PaymentError_InvalidPreimageImpl() : super._(); - @override - String toString() { - return 'PaymentError.invalidPreimage()'; - } +} +/// @nodoc +class _$PaymentError_InvalidInvoiceCopyWithImpl<$Res> + implements $PaymentError_InvalidInvoiceCopyWith<$Res> { + _$PaymentError_InvalidInvoiceCopyWithImpl(this._self, this._then); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_InvalidPreimageImpl); - } + final PaymentError_InvalidInvoice _self; + final $Res Function(PaymentError_InvalidInvoice) _then; - @override - int get hashCode => runtimeType.hashCode; +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(PaymentError_InvalidInvoice( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -abstract class PaymentError_InvalidPreimage extends PaymentError { - const factory PaymentError_InvalidPreimage() = _$PaymentError_InvalidPreimageImpl; - const PaymentError_InvalidPreimage._() : super._(); + } /// @nodoc -abstract class _$$PaymentError_PairsNotFoundImplCopyWith<$Res> { - factory _$$PaymentError_PairsNotFoundImplCopyWith( - _$PaymentError_PairsNotFoundImpl value, - $Res Function(_$PaymentError_PairsNotFoundImpl) then, - ) = __$$PaymentError_PairsNotFoundImplCopyWithImpl<$Res>; + + +class PaymentError_InvalidPreimage extends PaymentError { + const PaymentError_InvalidPreimage(): super._(); + + + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_InvalidPreimage); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.invalidPreimage()'; } -/// @nodoc -class __$$PaymentError_PairsNotFoundImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_PairsNotFoundImpl> - implements _$$PaymentError_PairsNotFoundImplCopyWith<$Res> { - __$$PaymentError_PairsNotFoundImplCopyWithImpl( - _$PaymentError_PairsNotFoundImpl _value, - $Res Function(_$PaymentError_PairsNotFoundImpl) _then, - ) : super(_value, _then); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. } + + + /// @nodoc -class _$PaymentError_PairsNotFoundImpl extends PaymentError_PairsNotFound { - const _$PaymentError_PairsNotFoundImpl() : super._(); - @override - String toString() { - return 'PaymentError.pairsNotFound()'; - } +class PaymentError_PairsNotFound extends PaymentError { + const PaymentError_PairsNotFound(): super._(); + + - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_PairsNotFoundImpl); - } - @override - int get hashCode => runtimeType.hashCode; -} -abstract class PaymentError_PairsNotFound extends PaymentError { - const factory PaymentError_PairsNotFound() = _$PaymentError_PairsNotFoundImpl; - const PaymentError_PairsNotFound._() : super._(); + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_PairsNotFound); } -/// @nodoc -abstract class _$$PaymentError_PaymentTimeoutImplCopyWith<$Res> { - factory _$$PaymentError_PaymentTimeoutImplCopyWith( - _$PaymentError_PaymentTimeoutImpl value, - $Res Function(_$PaymentError_PaymentTimeoutImpl) then, - ) = __$$PaymentError_PaymentTimeoutImplCopyWithImpl<$Res>; + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.pairsNotFound()'; } -/// @nodoc -class __$$PaymentError_PaymentTimeoutImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_PaymentTimeoutImpl> - implements _$$PaymentError_PaymentTimeoutImplCopyWith<$Res> { - __$$PaymentError_PaymentTimeoutImplCopyWithImpl( - _$PaymentError_PaymentTimeoutImpl _value, - $Res Function(_$PaymentError_PaymentTimeoutImpl) _then, - ) : super(_value, _then); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. } + + + /// @nodoc -class _$PaymentError_PaymentTimeoutImpl extends PaymentError_PaymentTimeout { - const _$PaymentError_PaymentTimeoutImpl() : super._(); - @override - String toString() { - return 'PaymentError.paymentTimeout()'; - } +class PaymentError_PaymentTimeout extends PaymentError { + const PaymentError_PaymentTimeout(): super._(); + - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_PaymentTimeoutImpl); - } - @override - int get hashCode => runtimeType.hashCode; -} -abstract class PaymentError_PaymentTimeout extends PaymentError { - const factory PaymentError_PaymentTimeout() = _$PaymentError_PaymentTimeoutImpl; - const PaymentError_PaymentTimeout._() : super._(); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_PaymentTimeout); } -/// @nodoc -abstract class _$$PaymentError_PersistErrorImplCopyWith<$Res> { - factory _$$PaymentError_PersistErrorImplCopyWith( - _$PaymentError_PersistErrorImpl value, - $Res Function(_$PaymentError_PersistErrorImpl) then, - ) = __$$PaymentError_PersistErrorImplCopyWithImpl<$Res>; + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.paymentTimeout()'; } -/// @nodoc -class __$$PaymentError_PersistErrorImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_PersistErrorImpl> - implements _$$PaymentError_PersistErrorImplCopyWith<$Res> { - __$$PaymentError_PersistErrorImplCopyWithImpl( - _$PaymentError_PersistErrorImpl _value, - $Res Function(_$PaymentError_PersistErrorImpl) _then, - ) : super(_value, _then); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. } + + + /// @nodoc -class _$PaymentError_PersistErrorImpl extends PaymentError_PersistError { - const _$PaymentError_PersistErrorImpl() : super._(); - @override - String toString() { - return 'PaymentError.persistError()'; - } +class PaymentError_PersistError extends PaymentError { + const PaymentError_PersistError(): super._(); + - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_PersistErrorImpl); - } - @override - int get hashCode => runtimeType.hashCode; -} -abstract class PaymentError_PersistError extends PaymentError { - const factory PaymentError_PersistError() = _$PaymentError_PersistErrorImpl; - const PaymentError_PersistError._() : super._(); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_PersistError); } -/// @nodoc -abstract class _$$PaymentError_ReceiveErrorImplCopyWith<$Res> { - factory _$$PaymentError_ReceiveErrorImplCopyWith( - _$PaymentError_ReceiveErrorImpl value, - $Res Function(_$PaymentError_ReceiveErrorImpl) then, - ) = __$$PaymentError_ReceiveErrorImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.persistError()'; } -/// @nodoc -class __$$PaymentError_ReceiveErrorImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_ReceiveErrorImpl> - implements _$$PaymentError_ReceiveErrorImplCopyWith<$Res> { - __$$PaymentError_ReceiveErrorImplCopyWithImpl( - _$PaymentError_ReceiveErrorImpl _value, - $Res Function(_$PaymentError_ReceiveErrorImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$PaymentError_ReceiveErrorImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } + } + + + /// @nodoc -class _$PaymentError_ReceiveErrorImpl extends PaymentError_ReceiveError { - const _$PaymentError_ReceiveErrorImpl({required this.err}) : super._(); - @override - final String err; +class PaymentError_ReceiveError extends PaymentError { + const PaymentError_ReceiveError({required this.err}): super._(); + + + final String err; - @override - String toString() { - return 'PaymentError.receiveError(err: $err)'; - } +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentError_ReceiveErrorCopyWith get copyWith => _$PaymentError_ReceiveErrorCopyWithImpl(this, _$identity); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentError_ReceiveErrorImpl && - (identical(other.err, err) || other.err == err)); - } - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentError_ReceiveErrorImplCopyWith<_$PaymentError_ReceiveErrorImpl> get copyWith => - __$$PaymentError_ReceiveErrorImplCopyWithImpl<_$PaymentError_ReceiveErrorImpl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_ReceiveError&&(identical(other.err, err) || other.err == err)); } -abstract class PaymentError_ReceiveError extends PaymentError { - const factory PaymentError_ReceiveError({required final String err}) = _$PaymentError_ReceiveErrorImpl; - const PaymentError_ReceiveError._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentError_ReceiveErrorImplCopyWith<_$PaymentError_ReceiveErrorImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PaymentError.receiveError(err: $err)'; } -/// @nodoc -abstract class _$$PaymentError_RefundedImplCopyWith<$Res> { - factory _$$PaymentError_RefundedImplCopyWith( - _$PaymentError_RefundedImpl value, - $Res Function(_$PaymentError_RefundedImpl) then, - ) = __$$PaymentError_RefundedImplCopyWithImpl<$Res>; - @useResult - $Res call({String err, String refundTxId}); + } /// @nodoc -class __$$PaymentError_RefundedImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_RefundedImpl> - implements _$$PaymentError_RefundedImplCopyWith<$Res> { - __$$PaymentError_RefundedImplCopyWithImpl( - _$PaymentError_RefundedImpl _value, - $Res Function(_$PaymentError_RefundedImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null, Object? refundTxId = null}) { - return _then( - _$PaymentError_RefundedImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - refundTxId: - null == refundTxId - ? _value.refundTxId - : refundTxId // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } +abstract mixin class $PaymentError_ReceiveErrorCopyWith<$Res> implements $PaymentErrorCopyWith<$Res> { + factory $PaymentError_ReceiveErrorCopyWith(PaymentError_ReceiveError value, $Res Function(PaymentError_ReceiveError) _then) = _$PaymentError_ReceiveErrorCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$PaymentError_ReceiveErrorCopyWithImpl<$Res> + implements $PaymentError_ReceiveErrorCopyWith<$Res> { + _$PaymentError_ReceiveErrorCopyWithImpl(this._self, this._then); + + final PaymentError_ReceiveError _self; + final $Res Function(PaymentError_ReceiveError) _then; + +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(PaymentError_ReceiveError( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class _$PaymentError_RefundedImpl extends PaymentError_Refunded { - const _$PaymentError_RefundedImpl({required this.err, required this.refundTxId}) : super._(); - @override - final String err; - @override - final String refundTxId; +class PaymentError_Refunded extends PaymentError { + const PaymentError_Refunded({required this.err, required this.refundTxId}): super._(); + + + final String err; + final String refundTxId; - @override - String toString() { - return 'PaymentError.refunded(err: $err, refundTxId: $refundTxId)'; - } +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentError_RefundedCopyWith get copyWith => _$PaymentError_RefundedCopyWithImpl(this, _$identity); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentError_RefundedImpl && - (identical(other.err, err) || other.err == err) && - (identical(other.refundTxId, refundTxId) || other.refundTxId == refundTxId)); - } - @override - int get hashCode => Object.hash(runtimeType, err, refundTxId); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentError_RefundedImplCopyWith<_$PaymentError_RefundedImpl> get copyWith => - __$$PaymentError_RefundedImplCopyWithImpl<_$PaymentError_RefundedImpl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_Refunded&&(identical(other.err, err) || other.err == err)&&(identical(other.refundTxId, refundTxId) || other.refundTxId == refundTxId)); } -abstract class PaymentError_Refunded extends PaymentError { - const factory PaymentError_Refunded({required final String err, required final String refundTxId}) = - _$PaymentError_RefundedImpl; - const PaymentError_Refunded._() : super._(); - String get err; - String get refundTxId; +@override +int get hashCode => Object.hash(runtimeType,err,refundTxId); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentError_RefundedImplCopyWith<_$PaymentError_RefundedImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PaymentError.refunded(err: $err, refundTxId: $refundTxId)'; } -/// @nodoc -abstract class _$$PaymentError_SelfTransferNotSupportedImplCopyWith<$Res> { - factory _$$PaymentError_SelfTransferNotSupportedImplCopyWith( - _$PaymentError_SelfTransferNotSupportedImpl value, - $Res Function(_$PaymentError_SelfTransferNotSupportedImpl) then, - ) = __$$PaymentError_SelfTransferNotSupportedImplCopyWithImpl<$Res>; + } /// @nodoc -class __$$PaymentError_SelfTransferNotSupportedImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_SelfTransferNotSupportedImpl> - implements _$$PaymentError_SelfTransferNotSupportedImplCopyWith<$Res> { - __$$PaymentError_SelfTransferNotSupportedImplCopyWithImpl( - _$PaymentError_SelfTransferNotSupportedImpl _value, - $Res Function(_$PaymentError_SelfTransferNotSupportedImpl) _then, - ) : super(_value, _then); +abstract mixin class $PaymentError_RefundedCopyWith<$Res> implements $PaymentErrorCopyWith<$Res> { + factory $PaymentError_RefundedCopyWith(PaymentError_Refunded value, $Res Function(PaymentError_Refunded) _then) = _$PaymentError_RefundedCopyWithImpl; +@useResult +$Res call({ + String err, String refundTxId +}); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. -} -/// @nodoc -class _$PaymentError_SelfTransferNotSupportedImpl extends PaymentError_SelfTransferNotSupported { - const _$PaymentError_SelfTransferNotSupportedImpl() : super._(); - @override - String toString() { - return 'PaymentError.selfTransferNotSupported()'; - } +} +/// @nodoc +class _$PaymentError_RefundedCopyWithImpl<$Res> + implements $PaymentError_RefundedCopyWith<$Res> { + _$PaymentError_RefundedCopyWithImpl(this._self, this._then); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$PaymentError_SelfTransferNotSupportedImpl); - } + final PaymentError_Refunded _self; + final $Res Function(PaymentError_Refunded) _then; - @override - int get hashCode => runtimeType.hashCode; +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,Object? refundTxId = null,}) { + return _then(PaymentError_Refunded( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String,refundTxId: null == refundTxId ? _self.refundTxId : refundTxId // ignore: cast_nullable_to_non_nullable +as String, + )); } -abstract class PaymentError_SelfTransferNotSupported extends PaymentError { - const factory PaymentError_SelfTransferNotSupported() = _$PaymentError_SelfTransferNotSupportedImpl; - const PaymentError_SelfTransferNotSupported._() : super._(); + } /// @nodoc -abstract class _$$PaymentError_SendErrorImplCopyWith<$Res> { - factory _$$PaymentError_SendErrorImplCopyWith( - _$PaymentError_SendErrorImpl value, - $Res Function(_$PaymentError_SendErrorImpl) then, - ) = __$$PaymentError_SendErrorImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + + +class PaymentError_SelfTransferNotSupported extends PaymentError { + const PaymentError_SelfTransferNotSupported(): super._(); + + + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_SelfTransferNotSupported); } -/// @nodoc -class __$$PaymentError_SendErrorImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_SendErrorImpl> - implements _$$PaymentError_SendErrorImplCopyWith<$Res> { - __$$PaymentError_SendErrorImplCopyWithImpl( - _$PaymentError_SendErrorImpl _value, - $Res Function(_$PaymentError_SendErrorImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$PaymentError_SendErrorImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PaymentError.selfTransferNotSupported()'; +} + + } + + + /// @nodoc -class _$PaymentError_SendErrorImpl extends PaymentError_SendError { - const _$PaymentError_SendErrorImpl({required this.err}) : super._(); - @override - final String err; +class PaymentError_SendError extends PaymentError { + const PaymentError_SendError({required this.err}): super._(); + - @override - String toString() { - return 'PaymentError.sendError(err: $err)'; - } + final String err; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentError_SendErrorImpl && - (identical(other.err, err) || other.err == err)); - } +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentError_SendErrorCopyWith get copyWith => _$PaymentError_SendErrorCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentError_SendErrorImplCopyWith<_$PaymentError_SendErrorImpl> get copyWith => - __$$PaymentError_SendErrorImplCopyWithImpl<_$PaymentError_SendErrorImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_SendError&&(identical(other.err, err) || other.err == err)); } -abstract class PaymentError_SendError extends PaymentError { - const factory PaymentError_SendError({required final String err}) = _$PaymentError_SendErrorImpl; - const PaymentError_SendError._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentError_SendErrorImplCopyWith<_$PaymentError_SendErrorImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PaymentError.sendError(err: $err)'; } -/// @nodoc -abstract class _$$PaymentError_SignerErrorImplCopyWith<$Res> { - factory _$$PaymentError_SignerErrorImplCopyWith( - _$PaymentError_SignerErrorImpl value, - $Res Function(_$PaymentError_SignerErrorImpl) then, - ) = __$$PaymentError_SignerErrorImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + } /// @nodoc -class __$$PaymentError_SignerErrorImplCopyWithImpl<$Res> - extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_SignerErrorImpl> - implements _$$PaymentError_SignerErrorImplCopyWith<$Res> { - __$$PaymentError_SignerErrorImplCopyWithImpl( - _$PaymentError_SignerErrorImpl _value, - $Res Function(_$PaymentError_SignerErrorImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$PaymentError_SignerErrorImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } +abstract mixin class $PaymentError_SendErrorCopyWith<$Res> implements $PaymentErrorCopyWith<$Res> { + factory $PaymentError_SendErrorCopyWith(PaymentError_SendError value, $Res Function(PaymentError_SendError) _then) = _$PaymentError_SendErrorCopyWithImpl; +@useResult +$Res call({ + String err +}); + + + + +} +/// @nodoc +class _$PaymentError_SendErrorCopyWithImpl<$Res> + implements $PaymentError_SendErrorCopyWith<$Res> { + _$PaymentError_SendErrorCopyWithImpl(this._self, this._then); + + final PaymentError_SendError _self; + final $Res Function(PaymentError_SendError) _then; + +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(PaymentError_SendError( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class _$PaymentError_SignerErrorImpl extends PaymentError_SignerError { - const _$PaymentError_SignerErrorImpl({required this.err}) : super._(); - @override - final String err; +class PaymentError_SignerError extends PaymentError { + const PaymentError_SignerError({required this.err}): super._(); + + + final String err; - @override - String toString() { - return 'PaymentError.signerError(err: $err)'; - } +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentError_SignerErrorCopyWith get copyWith => _$PaymentError_SignerErrorCopyWithImpl(this, _$identity); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentError_SignerErrorImpl && - (identical(other.err, err) || other.err == err)); - } - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentError_SignerErrorImplCopyWith<_$PaymentError_SignerErrorImpl> get copyWith => - __$$PaymentError_SignerErrorImplCopyWithImpl<_$PaymentError_SignerErrorImpl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentError_SignerError&&(identical(other.err, err) || other.err == err)); } -abstract class PaymentError_SignerError extends PaymentError { - const factory PaymentError_SignerError({required final String err}) = _$PaymentError_SignerErrorImpl; - const PaymentError_SignerError._() : super._(); - String get err; +@override +int get hashCode => Object.hash(runtimeType,err); - /// Create a copy of PaymentError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentError_SignerErrorImplCopyWith<_$PaymentError_SignerErrorImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PaymentError.signerError(err: $err)'; } -/// @nodoc -mixin _$SdkError {} -/// @nodoc -abstract class $SdkErrorCopyWith<$Res> { - factory $SdkErrorCopyWith(SdkError value, $Res Function(SdkError) then) = - _$SdkErrorCopyWithImpl<$Res, SdkError>; } /// @nodoc -class _$SdkErrorCopyWithImpl<$Res, $Val extends SdkError> implements $SdkErrorCopyWith<$Res> { - _$SdkErrorCopyWithImpl(this._value, this._then); +abstract mixin class $PaymentError_SignerErrorCopyWith<$Res> implements $PaymentErrorCopyWith<$Res> { + factory $PaymentError_SignerErrorCopyWith(PaymentError_SignerError value, $Res Function(PaymentError_SignerError) _then) = _$PaymentError_SignerErrorCopyWithImpl; +@useResult +$Res call({ + String err +}); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of SdkError - /// with the given fields replaced by the non-null parameter values. -} + +} /// @nodoc -abstract class _$$SdkError_AlreadyStartedImplCopyWith<$Res> { - factory _$$SdkError_AlreadyStartedImplCopyWith( - _$SdkError_AlreadyStartedImpl value, - $Res Function(_$SdkError_AlreadyStartedImpl) then, - ) = __$$SdkError_AlreadyStartedImplCopyWithImpl<$Res>; +class _$PaymentError_SignerErrorCopyWithImpl<$Res> + implements $PaymentError_SignerErrorCopyWith<$Res> { + _$PaymentError_SignerErrorCopyWithImpl(this._self, this._then); + + final PaymentError_SignerError _self; + final $Res Function(PaymentError_SignerError) _then; + +/// Create a copy of PaymentError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(PaymentError_SignerError( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$SdkError_AlreadyStartedImplCopyWithImpl<$Res> - extends _$SdkErrorCopyWithImpl<$Res, _$SdkError_AlreadyStartedImpl> - implements _$$SdkError_AlreadyStartedImplCopyWith<$Res> { - __$$SdkError_AlreadyStartedImplCopyWithImpl( - _$SdkError_AlreadyStartedImpl _value, - $Res Function(_$SdkError_AlreadyStartedImpl) _then, - ) : super(_value, _then); - /// Create a copy of SdkError - /// with the given fields replaced by the non-null parameter values. } /// @nodoc +mixin _$SdkError { -class _$SdkError_AlreadyStartedImpl extends SdkError_AlreadyStarted { - const _$SdkError_AlreadyStartedImpl() : super._(); - @override - String toString() { - return 'SdkError.alreadyStarted()'; - } - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && other is _$SdkError_AlreadyStartedImpl); - } - @override - int get hashCode => runtimeType.hashCode; + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkError); } -abstract class SdkError_AlreadyStarted extends SdkError { - const factory SdkError_AlreadyStarted() = _$SdkError_AlreadyStartedImpl; - const SdkError_AlreadyStarted._() : super._(); + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'SdkError()'; } -/// @nodoc -abstract class _$$SdkError_GenericImplCopyWith<$Res> { - factory _$$SdkError_GenericImplCopyWith( - _$SdkError_GenericImpl value, - $Res Function(_$SdkError_GenericImpl) then, - ) = __$$SdkError_GenericImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + } /// @nodoc -class __$$SdkError_GenericImplCopyWithImpl<$Res> extends _$SdkErrorCopyWithImpl<$Res, _$SdkError_GenericImpl> - implements _$$SdkError_GenericImplCopyWith<$Res> { - __$$SdkError_GenericImplCopyWithImpl( - _$SdkError_GenericImpl _value, - $Res Function(_$SdkError_GenericImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SdkError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$SdkError_GenericImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } +class $SdkErrorCopyWith<$Res> { +$SdkErrorCopyWith(SdkError _, $Res Function(SdkError) __); } + /// @nodoc -class _$SdkError_GenericImpl extends SdkError_Generic { - const _$SdkError_GenericImpl({required this.err}) : super._(); - @override - final String err; +class SdkError_AlreadyStarted extends SdkError { + const SdkError_AlreadyStarted(): super._(); + + + - @override - String toString() { - return 'SdkError.generic(err: $err)'; - } - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SdkError_GenericImpl && - (identical(other.err, err) || other.err == err)); - } - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of SdkError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SdkError_GenericImplCopyWith<_$SdkError_GenericImpl> get copyWith => - __$$SdkError_GenericImplCopyWithImpl<_$SdkError_GenericImpl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkError_AlreadyStarted); } -abstract class SdkError_Generic extends SdkError { - const factory SdkError_Generic({required final String err}) = _$SdkError_GenericImpl; - const SdkError_Generic._() : super._(); - String get err; +@override +int get hashCode => runtimeType.hashCode; - /// Create a copy of SdkError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SdkError_GenericImplCopyWith<_$SdkError_GenericImpl> get copyWith => throw _privateConstructorUsedError; +@override +String toString() { + return 'SdkError.alreadyStarted()'; } -/// @nodoc -abstract class _$$SdkError_NotStartedImplCopyWith<$Res> { - factory _$$SdkError_NotStartedImplCopyWith( - _$SdkError_NotStartedImpl value, - $Res Function(_$SdkError_NotStartedImpl) then, - ) = __$$SdkError_NotStartedImplCopyWithImpl<$Res>; + } + + + /// @nodoc -class __$$SdkError_NotStartedImplCopyWithImpl<$Res> - extends _$SdkErrorCopyWithImpl<$Res, _$SdkError_NotStartedImpl> - implements _$$SdkError_NotStartedImplCopyWith<$Res> { - __$$SdkError_NotStartedImplCopyWithImpl( - _$SdkError_NotStartedImpl _value, - $Res Function(_$SdkError_NotStartedImpl) _then, - ) : super(_value, _then); - /// Create a copy of SdkError - /// with the given fields replaced by the non-null parameter values. + +class SdkError_Generic extends SdkError { + const SdkError_Generic({required this.err}): super._(); + + + final String err; + +/// Create a copy of SdkError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SdkError_GenericCopyWith get copyWith => _$SdkError_GenericCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkError_Generic&&(identical(other.err, err) || other.err == err)); +} + + +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'SdkError.generic(err: $err)'; +} + + } /// @nodoc +abstract mixin class $SdkError_GenericCopyWith<$Res> implements $SdkErrorCopyWith<$Res> { + factory $SdkError_GenericCopyWith(SdkError_Generic value, $Res Function(SdkError_Generic) _then) = _$SdkError_GenericCopyWithImpl; +@useResult +$Res call({ + String err +}); -class _$SdkError_NotStartedImpl extends SdkError_NotStarted { - const _$SdkError_NotStartedImpl() : super._(); - @override - String toString() { - return 'SdkError.notStarted()'; - } - @override - bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType && other is _$SdkError_NotStartedImpl); - } - @override - int get hashCode => runtimeType.hashCode; } +/// @nodoc +class _$SdkError_GenericCopyWithImpl<$Res> + implements $SdkError_GenericCopyWith<$Res> { + _$SdkError_GenericCopyWithImpl(this._self, this._then); + + final SdkError_Generic _self; + final $Res Function(SdkError_Generic) _then; -abstract class SdkError_NotStarted extends SdkError { - const factory SdkError_NotStarted() = _$SdkError_NotStartedImpl; - const SdkError_NotStarted._() : super._(); +/// Create a copy of SdkError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(SdkError_Generic( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -abstract class _$$SdkError_ServiceConnectivityImplCopyWith<$Res> { - factory _$$SdkError_ServiceConnectivityImplCopyWith( - _$SdkError_ServiceConnectivityImpl value, - $Res Function(_$SdkError_ServiceConnectivityImpl) then, - ) = __$$SdkError_ServiceConnectivityImplCopyWithImpl<$Res>; - @useResult - $Res call({String err}); + } /// @nodoc -class __$$SdkError_ServiceConnectivityImplCopyWithImpl<$Res> - extends _$SdkErrorCopyWithImpl<$Res, _$SdkError_ServiceConnectivityImpl> - implements _$$SdkError_ServiceConnectivityImplCopyWith<$Res> { - __$$SdkError_ServiceConnectivityImplCopyWithImpl( - _$SdkError_ServiceConnectivityImpl _value, - $Res Function(_$SdkError_ServiceConnectivityImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SdkError - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? err = null}) { - return _then( - _$SdkError_ServiceConnectivityImpl( - err: - null == err - ? _value.err - : err // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } + + +class SdkError_NotStarted extends SdkError { + const SdkError_NotStarted(): super._(); + + + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkError_NotStarted); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'SdkError.notStarted()'; } + +} + + + + /// @nodoc -class _$SdkError_ServiceConnectivityImpl extends SdkError_ServiceConnectivity { - const _$SdkError_ServiceConnectivityImpl({required this.err}) : super._(); - @override - final String err; +class SdkError_ServiceConnectivity extends SdkError { + const SdkError_ServiceConnectivity({required this.err}): super._(); + + + final String err; + +/// Create a copy of SdkError +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SdkError_ServiceConnectivityCopyWith get copyWith => _$SdkError_ServiceConnectivityCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkError_ServiceConnectivity&&(identical(other.err, err) || other.err == err)); +} + + +@override +int get hashCode => Object.hash(runtimeType,err); + +@override +String toString() { + return 'SdkError.serviceConnectivity(err: $err)'; +} + + +} + +/// @nodoc +abstract mixin class $SdkError_ServiceConnectivityCopyWith<$Res> implements $SdkErrorCopyWith<$Res> { + factory $SdkError_ServiceConnectivityCopyWith(SdkError_ServiceConnectivity value, $Res Function(SdkError_ServiceConnectivity) _then) = _$SdkError_ServiceConnectivityCopyWithImpl; +@useResult +$Res call({ + String err +}); - @override - String toString() { - return 'SdkError.serviceConnectivity(err: $err)'; - } - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SdkError_ServiceConnectivityImpl && - (identical(other.err, err) || other.err == err)); - } - @override - int get hashCode => Object.hash(runtimeType, err); - /// Create a copy of SdkError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SdkError_ServiceConnectivityImplCopyWith<_$SdkError_ServiceConnectivityImpl> get copyWith => - __$$SdkError_ServiceConnectivityImplCopyWithImpl<_$SdkError_ServiceConnectivityImpl>(this, _$identity); } +/// @nodoc +class _$SdkError_ServiceConnectivityCopyWithImpl<$Res> + implements $SdkError_ServiceConnectivityCopyWith<$Res> { + _$SdkError_ServiceConnectivityCopyWithImpl(this._self, this._then); -abstract class SdkError_ServiceConnectivity extends SdkError { - const factory SdkError_ServiceConnectivity({required final String err}) = - _$SdkError_ServiceConnectivityImpl; - const SdkError_ServiceConnectivity._() : super._(); + final SdkError_ServiceConnectivity _self; + final $Res Function(SdkError_ServiceConnectivity) _then; + +/// Create a copy of SdkError +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? err = null,}) { + return _then(SdkError_ServiceConnectivity( +err: null == err ? _self.err : err // ignore: cast_nullable_to_non_nullable +as String, + )); +} - String get err; - /// Create a copy of SdkError - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SdkError_ServiceConnectivityImplCopyWith<_$SdkError_ServiceConnectivityImpl> get copyWith => - throw _privateConstructorUsedError; } + +// dart format on diff --git a/packages/dart/lib/src/frb_generated.dart b/packages/dart/lib/src/frb_generated.dart index 222caca..0f7a429 100644 --- a/packages/dart/lib/src/frb_generated.dart +++ b/packages/dart/lib/src/frb_generated.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.8.0. +// @generated by `flutter_rust_bridge`@ 2.9.0. // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field @@ -50,7 +50,7 @@ class RustLib extends BaseEntrypoint { ExternalLibraryLoaderConfig get defaultExternalLibraryLoaderConfig => kDefaultExternalLibraryLoaderConfig; @override - String get codegenVersion => '2.8.0'; + String get codegenVersion => '2.9.0'; @override int get rustContentHash => 1264782025; diff --git a/packages/dart/lib/src/frb_generated.io.dart b/packages/dart/lib/src/frb_generated.io.dart index 87ccddb..ae5ebf9 100644 --- a/packages/dart/lib/src/frb_generated.io.dart +++ b/packages/dart/lib/src/frb_generated.io.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.8.0. +// @generated by `flutter_rust_bridge`@ 2.9.0. // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field diff --git a/packages/dart/lib/src/model.dart b/packages/dart/lib/src/model.dart index bfdacda..5e57cb0 100644 --- a/packages/dart/lib/src/model.dart +++ b/packages/dart/lib/src/model.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.8.0. +// @generated by `flutter_rust_bridge`@ 2.9.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/packages/dart/lib/src/model.freezed.dart b/packages/dart/lib/src/model.freezed.dart index ba22669..edfa988 100644 --- a/packages/dart/lib/src/model.freezed.dart +++ b/packages/dart/lib/src/model.freezed.dart @@ -1,3 +1,4 @@ +// dart format width=80 // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint @@ -9,2999 +10,2122 @@ part of 'model.dart'; // FreezedGenerator // ************************************************************************** +// dart format off T _$identity(T value) => value; - -final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', -); - /// @nodoc -mixin _$GetPaymentRequest {} +mixin _$GetPaymentRequest { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is GetPaymentRequest); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'GetPaymentRequest()'; +} + -/// @nodoc -abstract class $GetPaymentRequestCopyWith<$Res> { - factory $GetPaymentRequestCopyWith(GetPaymentRequest value, $Res Function(GetPaymentRequest) then) = - _$GetPaymentRequestCopyWithImpl<$Res, GetPaymentRequest>; } /// @nodoc -class _$GetPaymentRequestCopyWithImpl<$Res, $Val extends GetPaymentRequest> - implements $GetPaymentRequestCopyWith<$Res> { - _$GetPaymentRequestCopyWithImpl(this._value, this._then); +class $GetPaymentRequestCopyWith<$Res> { +$GetPaymentRequestCopyWith(GetPaymentRequest _, $Res Function(GetPaymentRequest) __); +} + + +/// @nodoc + + +class GetPaymentRequest_PaymentHash extends GetPaymentRequest { + const GetPaymentRequest_PaymentHash({required this.paymentHash}): super._(); + + + final String paymentHash; + +/// Create a copy of GetPaymentRequest +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$GetPaymentRequest_PaymentHashCopyWith get copyWith => _$GetPaymentRequest_PaymentHashCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is GetPaymentRequest_PaymentHash&&(identical(other.paymentHash, paymentHash) || other.paymentHash == paymentHash)); +} + + +@override +int get hashCode => Object.hash(runtimeType,paymentHash); + +@override +String toString() { + return 'GetPaymentRequest.paymentHash(paymentHash: $paymentHash)'; +} - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of GetPaymentRequest - /// with the given fields replaced by the non-null parameter values. } /// @nodoc -abstract class _$$GetPaymentRequest_PaymentHashImplCopyWith<$Res> { - factory _$$GetPaymentRequest_PaymentHashImplCopyWith( - _$GetPaymentRequest_PaymentHashImpl value, - $Res Function(_$GetPaymentRequest_PaymentHashImpl) then, - ) = __$$GetPaymentRequest_PaymentHashImplCopyWithImpl<$Res>; - @useResult - $Res call({String paymentHash}); +abstract mixin class $GetPaymentRequest_PaymentHashCopyWith<$Res> implements $GetPaymentRequestCopyWith<$Res> { + factory $GetPaymentRequest_PaymentHashCopyWith(GetPaymentRequest_PaymentHash value, $Res Function(GetPaymentRequest_PaymentHash) _then) = _$GetPaymentRequest_PaymentHashCopyWithImpl; +@useResult +$Res call({ + String paymentHash +}); + + + + +} +/// @nodoc +class _$GetPaymentRequest_PaymentHashCopyWithImpl<$Res> + implements $GetPaymentRequest_PaymentHashCopyWith<$Res> { + _$GetPaymentRequest_PaymentHashCopyWithImpl(this._self, this._then); + + final GetPaymentRequest_PaymentHash _self; + final $Res Function(GetPaymentRequest_PaymentHash) _then; + +/// Create a copy of GetPaymentRequest +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? paymentHash = null,}) { + return _then(GetPaymentRequest_PaymentHash( +paymentHash: null == paymentHash ? _self.paymentHash : paymentHash // ignore: cast_nullable_to_non_nullable +as String, + )); } -/// @nodoc -class __$$GetPaymentRequest_PaymentHashImplCopyWithImpl<$Res> - extends _$GetPaymentRequestCopyWithImpl<$Res, _$GetPaymentRequest_PaymentHashImpl> - implements _$$GetPaymentRequest_PaymentHashImplCopyWith<$Res> { - __$$GetPaymentRequest_PaymentHashImplCopyWithImpl( - _$GetPaymentRequest_PaymentHashImpl _value, - $Res Function(_$GetPaymentRequest_PaymentHashImpl) _then, - ) : super(_value, _then); - /// Create a copy of GetPaymentRequest - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? paymentHash = null}) { - return _then( - _$GetPaymentRequest_PaymentHashImpl( - paymentHash: - null == paymentHash - ? _value.paymentHash - : paymentHash // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$GetPaymentRequest_PaymentHashImpl extends GetPaymentRequest_PaymentHash { - const _$GetPaymentRequest_PaymentHashImpl({required this.paymentHash}) : super._(); - @override - final String paymentHash; +class GetPaymentRequest_SwapId extends GetPaymentRequest { + const GetPaymentRequest_SwapId({required this.swapId}): super._(); + - @override - String toString() { - return 'GetPaymentRequest.paymentHash(paymentHash: $paymentHash)'; - } + final String swapId; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$GetPaymentRequest_PaymentHashImpl && - (identical(other.paymentHash, paymentHash) || other.paymentHash == paymentHash)); - } +/// Create a copy of GetPaymentRequest +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$GetPaymentRequest_SwapIdCopyWith get copyWith => _$GetPaymentRequest_SwapIdCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, paymentHash); - /// Create a copy of GetPaymentRequest - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$GetPaymentRequest_PaymentHashImplCopyWith<_$GetPaymentRequest_PaymentHashImpl> get copyWith => - __$$GetPaymentRequest_PaymentHashImplCopyWithImpl<_$GetPaymentRequest_PaymentHashImpl>( - this, - _$identity, - ); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is GetPaymentRequest_SwapId&&(identical(other.swapId, swapId) || other.swapId == swapId)); } -abstract class GetPaymentRequest_PaymentHash extends GetPaymentRequest { - const factory GetPaymentRequest_PaymentHash({required final String paymentHash}) = - _$GetPaymentRequest_PaymentHashImpl; - const GetPaymentRequest_PaymentHash._() : super._(); - String get paymentHash; +@override +int get hashCode => Object.hash(runtimeType,swapId); + +@override +String toString() { + return 'GetPaymentRequest.swapId(swapId: $swapId)'; +} + - /// Create a copy of GetPaymentRequest - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$GetPaymentRequest_PaymentHashImplCopyWith<_$GetPaymentRequest_PaymentHashImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$GetPaymentRequest_SwapIdImplCopyWith<$Res> { - factory _$$GetPaymentRequest_SwapIdImplCopyWith( - _$GetPaymentRequest_SwapIdImpl value, - $Res Function(_$GetPaymentRequest_SwapIdImpl) then, - ) = __$$GetPaymentRequest_SwapIdImplCopyWithImpl<$Res>; - @useResult - $Res call({String swapId}); +abstract mixin class $GetPaymentRequest_SwapIdCopyWith<$Res> implements $GetPaymentRequestCopyWith<$Res> { + factory $GetPaymentRequest_SwapIdCopyWith(GetPaymentRequest_SwapId value, $Res Function(GetPaymentRequest_SwapId) _then) = _$GetPaymentRequest_SwapIdCopyWithImpl; +@useResult +$Res call({ + String swapId +}); + + + + +} +/// @nodoc +class _$GetPaymentRequest_SwapIdCopyWithImpl<$Res> + implements $GetPaymentRequest_SwapIdCopyWith<$Res> { + _$GetPaymentRequest_SwapIdCopyWithImpl(this._self, this._then); + + final GetPaymentRequest_SwapId _self; + final $Res Function(GetPaymentRequest_SwapId) _then; + +/// Create a copy of GetPaymentRequest +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? swapId = null,}) { + return _then(GetPaymentRequest_SwapId( +swapId: null == swapId ? _self.swapId : swapId // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + } /// @nodoc -class __$$GetPaymentRequest_SwapIdImplCopyWithImpl<$Res> - extends _$GetPaymentRequestCopyWithImpl<$Res, _$GetPaymentRequest_SwapIdImpl> - implements _$$GetPaymentRequest_SwapIdImplCopyWith<$Res> { - __$$GetPaymentRequest_SwapIdImplCopyWithImpl( - _$GetPaymentRequest_SwapIdImpl _value, - $Res Function(_$GetPaymentRequest_SwapIdImpl) _then, - ) : super(_value, _then); +mixin _$ListPaymentDetails { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is ListPaymentDetails); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'ListPaymentDetails()'; +} + + +} + +/// @nodoc +class $ListPaymentDetailsCopyWith<$Res> { +$ListPaymentDetailsCopyWith(ListPaymentDetails _, $Res Function(ListPaymentDetails) __); +} + + +/// @nodoc + + +class ListPaymentDetails_Liquid extends ListPaymentDetails { + const ListPaymentDetails_Liquid({this.assetId, this.destination}): super._(); + + +/// Optional asset id + final String? assetId; +/// Optional BIP21 URI or address + final String? destination; + +/// Create a copy of ListPaymentDetails +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$ListPaymentDetails_LiquidCopyWith get copyWith => _$ListPaymentDetails_LiquidCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is ListPaymentDetails_Liquid&&(identical(other.assetId, assetId) || other.assetId == assetId)&&(identical(other.destination, destination) || other.destination == destination)); +} + + +@override +int get hashCode => Object.hash(runtimeType,assetId,destination); + +@override +String toString() { + return 'ListPaymentDetails.liquid(assetId: $assetId, destination: $destination)'; +} + + +} + +/// @nodoc +abstract mixin class $ListPaymentDetails_LiquidCopyWith<$Res> implements $ListPaymentDetailsCopyWith<$Res> { + factory $ListPaymentDetails_LiquidCopyWith(ListPaymentDetails_Liquid value, $Res Function(ListPaymentDetails_Liquid) _then) = _$ListPaymentDetails_LiquidCopyWithImpl; +@useResult +$Res call({ + String? assetId, String? destination +}); + + + + +} +/// @nodoc +class _$ListPaymentDetails_LiquidCopyWithImpl<$Res> + implements $ListPaymentDetails_LiquidCopyWith<$Res> { + _$ListPaymentDetails_LiquidCopyWithImpl(this._self, this._then); + + final ListPaymentDetails_Liquid _self; + final $Res Function(ListPaymentDetails_Liquid) _then; + +/// Create a copy of ListPaymentDetails +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? assetId = freezed,Object? destination = freezed,}) { + return _then(ListPaymentDetails_Liquid( +assetId: freezed == assetId ? _self.assetId : assetId // ignore: cast_nullable_to_non_nullable +as String?,destination: freezed == destination ? _self.destination : destination // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + - /// Create a copy of GetPaymentRequest - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? swapId = null}) { - return _then( - _$GetPaymentRequest_SwapIdImpl( - swapId: - null == swapId - ? _value.swapId - : swapId // ignore: cast_nullable_to_non_nullable - as String, - ), - ); - } } /// @nodoc -class _$GetPaymentRequest_SwapIdImpl extends GetPaymentRequest_SwapId { - const _$GetPaymentRequest_SwapIdImpl({required this.swapId}) : super._(); - @override - final String swapId; +class ListPaymentDetails_Bitcoin extends ListPaymentDetails { + const ListPaymentDetails_Bitcoin({this.address}): super._(); + - @override - String toString() { - return 'GetPaymentRequest.swapId(swapId: $swapId)'; - } +/// Optional address + final String? address; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$GetPaymentRequest_SwapIdImpl && - (identical(other.swapId, swapId) || other.swapId == swapId)); - } +/// Create a copy of ListPaymentDetails +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$ListPaymentDetails_BitcoinCopyWith get copyWith => _$ListPaymentDetails_BitcoinCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, swapId); - /// Create a copy of GetPaymentRequest - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$GetPaymentRequest_SwapIdImplCopyWith<_$GetPaymentRequest_SwapIdImpl> get copyWith => - __$$GetPaymentRequest_SwapIdImplCopyWithImpl<_$GetPaymentRequest_SwapIdImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is ListPaymentDetails_Bitcoin&&(identical(other.address, address) || other.address == address)); } -abstract class GetPaymentRequest_SwapId extends GetPaymentRequest { - const factory GetPaymentRequest_SwapId({required final String swapId}) = _$GetPaymentRequest_SwapIdImpl; - const GetPaymentRequest_SwapId._() : super._(); - String get swapId; +@override +int get hashCode => Object.hash(runtimeType,address); + +@override +String toString() { + return 'ListPaymentDetails.bitcoin(address: $address)'; +} + - /// Create a copy of GetPaymentRequest - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$GetPaymentRequest_SwapIdImplCopyWith<_$GetPaymentRequest_SwapIdImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -mixin _$ListPaymentDetails {} +abstract mixin class $ListPaymentDetails_BitcoinCopyWith<$Res> implements $ListPaymentDetailsCopyWith<$Res> { + factory $ListPaymentDetails_BitcoinCopyWith(ListPaymentDetails_Bitcoin value, $Res Function(ListPaymentDetails_Bitcoin) _then) = _$ListPaymentDetails_BitcoinCopyWithImpl; +@useResult +$Res call({ + String? address +}); + + + +} /// @nodoc -abstract class $ListPaymentDetailsCopyWith<$Res> { - factory $ListPaymentDetailsCopyWith(ListPaymentDetails value, $Res Function(ListPaymentDetails) then) = - _$ListPaymentDetailsCopyWithImpl<$Res, ListPaymentDetails>; +class _$ListPaymentDetails_BitcoinCopyWithImpl<$Res> + implements $ListPaymentDetails_BitcoinCopyWith<$Res> { + _$ListPaymentDetails_BitcoinCopyWithImpl(this._self, this._then); + + final ListPaymentDetails_Bitcoin _self; + final $Res Function(ListPaymentDetails_Bitcoin) _then; + +/// Create a copy of ListPaymentDetails +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? address = freezed,}) { + return _then(ListPaymentDetails_Bitcoin( +address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable +as String?, + )); } -/// @nodoc -class _$ListPaymentDetailsCopyWithImpl<$Res, $Val extends ListPaymentDetails> - implements $ListPaymentDetailsCopyWith<$Res> { - _$ListPaymentDetailsCopyWithImpl(this._value, this._then); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of ListPaymentDetails - /// with the given fields replaced by the non-null parameter values. -} - -/// @nodoc -abstract class _$$ListPaymentDetails_LiquidImplCopyWith<$Res> { - factory _$$ListPaymentDetails_LiquidImplCopyWith( - _$ListPaymentDetails_LiquidImpl value, - $Res Function(_$ListPaymentDetails_LiquidImpl) then, - ) = __$$ListPaymentDetails_LiquidImplCopyWithImpl<$Res>; - @useResult - $Res call({String? assetId, String? destination}); -} - -/// @nodoc -class __$$ListPaymentDetails_LiquidImplCopyWithImpl<$Res> - extends _$ListPaymentDetailsCopyWithImpl<$Res, _$ListPaymentDetails_LiquidImpl> - implements _$$ListPaymentDetails_LiquidImplCopyWith<$Res> { - __$$ListPaymentDetails_LiquidImplCopyWithImpl( - _$ListPaymentDetails_LiquidImpl _value, - $Res Function(_$ListPaymentDetails_LiquidImpl) _then, - ) : super(_value, _then); - - /// Create a copy of ListPaymentDetails - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? assetId = freezed, Object? destination = freezed}) { - return _then( - _$ListPaymentDetails_LiquidImpl( - assetId: - freezed == assetId - ? _value.assetId - : assetId // ignore: cast_nullable_to_non_nullable - as String?, - destination: - freezed == destination - ? _value.destination - : destination // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } -} - -/// @nodoc - -class _$ListPaymentDetails_LiquidImpl extends ListPaymentDetails_Liquid { - const _$ListPaymentDetails_LiquidImpl({this.assetId, this.destination}) : super._(); - - /// Optional asset id - @override - final String? assetId; - - /// Optional BIP21 URI or address - @override - final String? destination; - - @override - String toString() { - return 'ListPaymentDetails.liquid(assetId: $assetId, destination: $destination)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$ListPaymentDetails_LiquidImpl && - (identical(other.assetId, assetId) || other.assetId == assetId) && - (identical(other.destination, destination) || other.destination == destination)); - } - - @override - int get hashCode => Object.hash(runtimeType, assetId, destination); - - /// Create a copy of ListPaymentDetails - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$ListPaymentDetails_LiquidImplCopyWith<_$ListPaymentDetails_LiquidImpl> get copyWith => - __$$ListPaymentDetails_LiquidImplCopyWithImpl<_$ListPaymentDetails_LiquidImpl>(this, _$identity); -} - -abstract class ListPaymentDetails_Liquid extends ListPaymentDetails { - const factory ListPaymentDetails_Liquid({final String? assetId, final String? destination}) = - _$ListPaymentDetails_LiquidImpl; - const ListPaymentDetails_Liquid._() : super._(); - - /// Optional asset id - String? get assetId; - - /// Optional BIP21 URI or address - String? get destination; - - /// Create a copy of ListPaymentDetails - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$ListPaymentDetails_LiquidImplCopyWith<_$ListPaymentDetails_LiquidImpl> get copyWith => - throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$ListPaymentDetails_BitcoinImplCopyWith<$Res> { - factory _$$ListPaymentDetails_BitcoinImplCopyWith( - _$ListPaymentDetails_BitcoinImpl value, - $Res Function(_$ListPaymentDetails_BitcoinImpl) then, - ) = __$$ListPaymentDetails_BitcoinImplCopyWithImpl<$Res>; - @useResult - $Res call({String? address}); -} - -/// @nodoc -class __$$ListPaymentDetails_BitcoinImplCopyWithImpl<$Res> - extends _$ListPaymentDetailsCopyWithImpl<$Res, _$ListPaymentDetails_BitcoinImpl> - implements _$$ListPaymentDetails_BitcoinImplCopyWith<$Res> { - __$$ListPaymentDetails_BitcoinImplCopyWithImpl( - _$ListPaymentDetails_BitcoinImpl _value, - $Res Function(_$ListPaymentDetails_BitcoinImpl) _then, - ) : super(_value, _then); - - /// Create a copy of ListPaymentDetails - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? address = freezed}) { - return _then( - _$ListPaymentDetails_BitcoinImpl( - address: - freezed == address - ? _value.address - : address // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } -} - -/// @nodoc - -class _$ListPaymentDetails_BitcoinImpl extends ListPaymentDetails_Bitcoin { - const _$ListPaymentDetails_BitcoinImpl({this.address}) : super._(); - - /// Optional address - @override - final String? address; - - @override - String toString() { - return 'ListPaymentDetails.bitcoin(address: $address)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$ListPaymentDetails_BitcoinImpl && - (identical(other.address, address) || other.address == address)); - } - - @override - int get hashCode => Object.hash(runtimeType, address); - - /// Create a copy of ListPaymentDetails - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$ListPaymentDetails_BitcoinImplCopyWith<_$ListPaymentDetails_BitcoinImpl> get copyWith => - __$$ListPaymentDetails_BitcoinImplCopyWithImpl<_$ListPaymentDetails_BitcoinImpl>(this, _$identity); -} - -abstract class ListPaymentDetails_Bitcoin extends ListPaymentDetails { - const factory ListPaymentDetails_Bitcoin({final String? address}) = _$ListPaymentDetails_BitcoinImpl; - const ListPaymentDetails_Bitcoin._() : super._(); - - /// Optional address - String? get address; - - /// Create a copy of ListPaymentDetails - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$ListPaymentDetails_BitcoinImplCopyWith<_$ListPaymentDetails_BitcoinImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc mixin _$LnUrlPayResult { - Object get data => throw _privateConstructorUsedError; + + Object get data; + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayResult&&const DeepCollectionEquality().equals(other.data, data)); +} + + +@override +int get hashCode => Object.hash(runtimeType,const DeepCollectionEquality().hash(data)); + +@override +String toString() { + return 'LnUrlPayResult(data: $data)'; +} + + } /// @nodoc -abstract class $LnUrlPayResultCopyWith<$Res> { - factory $LnUrlPayResultCopyWith(LnUrlPayResult value, $Res Function(LnUrlPayResult) then) = - _$LnUrlPayResultCopyWithImpl<$Res, LnUrlPayResult>; +class $LnUrlPayResultCopyWith<$Res> { +$LnUrlPayResultCopyWith(LnUrlPayResult _, $Res Function(LnUrlPayResult) __); +} + + +/// @nodoc + + +class LnUrlPayResult_EndpointSuccess extends LnUrlPayResult { + const LnUrlPayResult_EndpointSuccess({required this.data}): super._(); + + +@override final LnUrlPaySuccessData data; + +/// Create a copy of LnUrlPayResult +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayResult_EndpointSuccessCopyWith get copyWith => _$LnUrlPayResult_EndpointSuccessCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayResult_EndpointSuccess&&(identical(other.data, data) || other.data == data)); +} + + +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'LnUrlPayResult.endpointSuccess(data: $data)'; +} + + } /// @nodoc -class _$LnUrlPayResultCopyWithImpl<$Res, $Val extends LnUrlPayResult> - implements $LnUrlPayResultCopyWith<$Res> { - _$LnUrlPayResultCopyWithImpl(this._value, this._then); +abstract mixin class $LnUrlPayResult_EndpointSuccessCopyWith<$Res> implements $LnUrlPayResultCopyWith<$Res> { + factory $LnUrlPayResult_EndpointSuccessCopyWith(LnUrlPayResult_EndpointSuccess value, $Res Function(LnUrlPayResult_EndpointSuccess) _then) = _$LnUrlPayResult_EndpointSuccessCopyWithImpl; +@useResult +$Res call({ + LnUrlPaySuccessData data +}); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of LnUrlPayResult - /// with the given fields replaced by the non-null parameter values. + + +} +/// @nodoc +class _$LnUrlPayResult_EndpointSuccessCopyWithImpl<$Res> + implements $LnUrlPayResult_EndpointSuccessCopyWith<$Res> { + _$LnUrlPayResult_EndpointSuccessCopyWithImpl(this._self, this._then); + + final LnUrlPayResult_EndpointSuccess _self; + final $Res Function(LnUrlPayResult_EndpointSuccess) _then; + +/// Create a copy of LnUrlPayResult +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(LnUrlPayResult_EndpointSuccess( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlPaySuccessData, + )); } -/// @nodoc -abstract class _$$LnUrlPayResult_EndpointSuccessImplCopyWith<$Res> { - factory _$$LnUrlPayResult_EndpointSuccessImplCopyWith( - _$LnUrlPayResult_EndpointSuccessImpl value, - $Res Function(_$LnUrlPayResult_EndpointSuccessImpl) then, - ) = __$$LnUrlPayResult_EndpointSuccessImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlPaySuccessData data}); -} -/// @nodoc -class __$$LnUrlPayResult_EndpointSuccessImplCopyWithImpl<$Res> - extends _$LnUrlPayResultCopyWithImpl<$Res, _$LnUrlPayResult_EndpointSuccessImpl> - implements _$$LnUrlPayResult_EndpointSuccessImplCopyWith<$Res> { - __$$LnUrlPayResult_EndpointSuccessImplCopyWithImpl( - _$LnUrlPayResult_EndpointSuccessImpl _value, - $Res Function(_$LnUrlPayResult_EndpointSuccessImpl) _then, - ) : super(_value, _then); - - /// Create a copy of LnUrlPayResult - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$LnUrlPayResult_EndpointSuccessImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlPaySuccessData, - ), - ); - } } /// @nodoc -class _$LnUrlPayResult_EndpointSuccessImpl extends LnUrlPayResult_EndpointSuccess { - const _$LnUrlPayResult_EndpointSuccessImpl({required this.data}) : super._(); - @override - final LnUrlPaySuccessData data; +class LnUrlPayResult_EndpointError extends LnUrlPayResult { + const LnUrlPayResult_EndpointError({required this.data}): super._(); + - @override - String toString() { - return 'LnUrlPayResult.endpointSuccess(data: $data)'; - } +@override final LnUrlErrorData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayResult_EndpointSuccessImpl && - (identical(other.data, data) || other.data == data)); - } +/// Create a copy of LnUrlPayResult +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayResult_EndpointErrorCopyWith get copyWith => _$LnUrlPayResult_EndpointErrorCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data); - /// Create a copy of LnUrlPayResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayResult_EndpointSuccessImplCopyWith<_$LnUrlPayResult_EndpointSuccessImpl> get copyWith => - __$$LnUrlPayResult_EndpointSuccessImplCopyWithImpl<_$LnUrlPayResult_EndpointSuccessImpl>( - this, - _$identity, - ); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayResult_EndpointError&&(identical(other.data, data) || other.data == data)); } -abstract class LnUrlPayResult_EndpointSuccess extends LnUrlPayResult { - const factory LnUrlPayResult_EndpointSuccess({required final LnUrlPaySuccessData data}) = - _$LnUrlPayResult_EndpointSuccessImpl; - const LnUrlPayResult_EndpointSuccess._() : super._(); - @override - LnUrlPaySuccessData get data; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'LnUrlPayResult.endpointError(data: $data)'; +} + - /// Create a copy of LnUrlPayResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayResult_EndpointSuccessImplCopyWith<_$LnUrlPayResult_EndpointSuccessImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlPayResult_EndpointErrorImplCopyWith<$Res> { - factory _$$LnUrlPayResult_EndpointErrorImplCopyWith( - _$LnUrlPayResult_EndpointErrorImpl value, - $Res Function(_$LnUrlPayResult_EndpointErrorImpl) then, - ) = __$$LnUrlPayResult_EndpointErrorImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlErrorData data}); +abstract mixin class $LnUrlPayResult_EndpointErrorCopyWith<$Res> implements $LnUrlPayResultCopyWith<$Res> { + factory $LnUrlPayResult_EndpointErrorCopyWith(LnUrlPayResult_EndpointError value, $Res Function(LnUrlPayResult_EndpointError) _then) = _$LnUrlPayResult_EndpointErrorCopyWithImpl; +@useResult +$Res call({ + LnUrlErrorData data +}); + + + + +} +/// @nodoc +class _$LnUrlPayResult_EndpointErrorCopyWithImpl<$Res> + implements $LnUrlPayResult_EndpointErrorCopyWith<$Res> { + _$LnUrlPayResult_EndpointErrorCopyWithImpl(this._self, this._then); + + final LnUrlPayResult_EndpointError _self; + final $Res Function(LnUrlPayResult_EndpointError) _then; + +/// Create a copy of LnUrlPayResult +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(LnUrlPayResult_EndpointError( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlErrorData, + )); } -/// @nodoc -class __$$LnUrlPayResult_EndpointErrorImplCopyWithImpl<$Res> - extends _$LnUrlPayResultCopyWithImpl<$Res, _$LnUrlPayResult_EndpointErrorImpl> - implements _$$LnUrlPayResult_EndpointErrorImplCopyWith<$Res> { - __$$LnUrlPayResult_EndpointErrorImplCopyWithImpl( - _$LnUrlPayResult_EndpointErrorImpl _value, - $Res Function(_$LnUrlPayResult_EndpointErrorImpl) _then, - ) : super(_value, _then); - /// Create a copy of LnUrlPayResult - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$LnUrlPayResult_EndpointErrorImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlErrorData, - ), - ); - } } /// @nodoc -class _$LnUrlPayResult_EndpointErrorImpl extends LnUrlPayResult_EndpointError { - const _$LnUrlPayResult_EndpointErrorImpl({required this.data}) : super._(); - @override - final LnUrlErrorData data; +class LnUrlPayResult_PayError extends LnUrlPayResult { + const LnUrlPayResult_PayError({required this.data}): super._(); + - @override - String toString() { - return 'LnUrlPayResult.endpointError(data: $data)'; - } +@override final LnUrlPayErrorData data; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayResult_EndpointErrorImpl && - (identical(other.data, data) || other.data == data)); - } +/// Create a copy of LnUrlPayResult +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LnUrlPayResult_PayErrorCopyWith get copyWith => _$LnUrlPayResult_PayErrorCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data); - /// Create a copy of LnUrlPayResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayResult_EndpointErrorImplCopyWith<_$LnUrlPayResult_EndpointErrorImpl> get copyWith => - __$$LnUrlPayResult_EndpointErrorImplCopyWithImpl<_$LnUrlPayResult_EndpointErrorImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LnUrlPayResult_PayError&&(identical(other.data, data) || other.data == data)); } -abstract class LnUrlPayResult_EndpointError extends LnUrlPayResult { - const factory LnUrlPayResult_EndpointError({required final LnUrlErrorData data}) = - _$LnUrlPayResult_EndpointErrorImpl; - const LnUrlPayResult_EndpointError._() : super._(); - @override - LnUrlErrorData get data; +@override +int get hashCode => Object.hash(runtimeType,data); + +@override +String toString() { + return 'LnUrlPayResult.payError(data: $data)'; +} + - /// Create a copy of LnUrlPayResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayResult_EndpointErrorImplCopyWith<_$LnUrlPayResult_EndpointErrorImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$LnUrlPayResult_PayErrorImplCopyWith<$Res> { - factory _$$LnUrlPayResult_PayErrorImplCopyWith( - _$LnUrlPayResult_PayErrorImpl value, - $Res Function(_$LnUrlPayResult_PayErrorImpl) then, - ) = __$$LnUrlPayResult_PayErrorImplCopyWithImpl<$Res>; - @useResult - $Res call({LnUrlPayErrorData data}); +abstract mixin class $LnUrlPayResult_PayErrorCopyWith<$Res> implements $LnUrlPayResultCopyWith<$Res> { + factory $LnUrlPayResult_PayErrorCopyWith(LnUrlPayResult_PayError value, $Res Function(LnUrlPayResult_PayError) _then) = _$LnUrlPayResult_PayErrorCopyWithImpl; +@useResult +$Res call({ + LnUrlPayErrorData data +}); + + + + +} +/// @nodoc +class _$LnUrlPayResult_PayErrorCopyWithImpl<$Res> + implements $LnUrlPayResult_PayErrorCopyWith<$Res> { + _$LnUrlPayResult_PayErrorCopyWithImpl(this._self, this._then); + + final LnUrlPayResult_PayError _self; + final $Res Function(LnUrlPayResult_PayError) _then; + +/// Create a copy of LnUrlPayResult +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? data = null,}) { + return _then(LnUrlPayResult_PayError( +data: null == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as LnUrlPayErrorData, + )); +} + + } /// @nodoc -class __$$LnUrlPayResult_PayErrorImplCopyWithImpl<$Res> - extends _$LnUrlPayResultCopyWithImpl<$Res, _$LnUrlPayResult_PayErrorImpl> - implements _$$LnUrlPayResult_PayErrorImplCopyWith<$Res> { - __$$LnUrlPayResult_PayErrorImplCopyWithImpl( - _$LnUrlPayResult_PayErrorImpl _value, - $Res Function(_$LnUrlPayResult_PayErrorImpl) _then, - ) : super(_value, _then); +mixin _$PayAmount { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PayAmount); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'PayAmount()'; +} + + +} + +/// @nodoc +class $PayAmountCopyWith<$Res> { +$PayAmountCopyWith(PayAmount _, $Res Function(PayAmount) __); +} + + +/// @nodoc + + +class PayAmount_Bitcoin extends PayAmount { + const PayAmount_Bitcoin({required this.receiverAmountSat}): super._(); + + + final BigInt receiverAmountSat; + +/// Create a copy of PayAmount +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PayAmount_BitcoinCopyWith get copyWith => _$PayAmount_BitcoinCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PayAmount_Bitcoin&&(identical(other.receiverAmountSat, receiverAmountSat) || other.receiverAmountSat == receiverAmountSat)); +} + + +@override +int get hashCode => Object.hash(runtimeType,receiverAmountSat); + +@override +String toString() { + return 'PayAmount.bitcoin(receiverAmountSat: $receiverAmountSat)'; +} + + +} + +/// @nodoc +abstract mixin class $PayAmount_BitcoinCopyWith<$Res> implements $PayAmountCopyWith<$Res> { + factory $PayAmount_BitcoinCopyWith(PayAmount_Bitcoin value, $Res Function(PayAmount_Bitcoin) _then) = _$PayAmount_BitcoinCopyWithImpl; +@useResult +$Res call({ + BigInt receiverAmountSat +}); + + + + +} +/// @nodoc +class _$PayAmount_BitcoinCopyWithImpl<$Res> + implements $PayAmount_BitcoinCopyWith<$Res> { + _$PayAmount_BitcoinCopyWithImpl(this._self, this._then); + + final PayAmount_Bitcoin _self; + final $Res Function(PayAmount_Bitcoin) _then; + +/// Create a copy of PayAmount +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? receiverAmountSat = null,}) { + return _then(PayAmount_Bitcoin( +receiverAmountSat: null == receiverAmountSat ? _self.receiverAmountSat : receiverAmountSat // ignore: cast_nullable_to_non_nullable +as BigInt, + )); +} + - /// Create a copy of LnUrlPayResult - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? data = null}) { - return _then( - _$LnUrlPayResult_PayErrorImpl( - data: - null == data - ? _value.data - : data // ignore: cast_nullable_to_non_nullable - as LnUrlPayErrorData, - ), - ); - } } /// @nodoc -class _$LnUrlPayResult_PayErrorImpl extends LnUrlPayResult_PayError { - const _$LnUrlPayResult_PayErrorImpl({required this.data}) : super._(); - @override - final LnUrlPayErrorData data; +class PayAmount_Asset extends PayAmount { + const PayAmount_Asset({required this.assetId, required this.receiverAmount}): super._(); + - @override - String toString() { - return 'LnUrlPayResult.payError(data: $data)'; - } + final String assetId; + final double receiverAmount; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$LnUrlPayResult_PayErrorImpl && - (identical(other.data, data) || other.data == data)); - } +/// Create a copy of PayAmount +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PayAmount_AssetCopyWith get copyWith => _$PayAmount_AssetCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, data); - /// Create a copy of LnUrlPayResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$LnUrlPayResult_PayErrorImplCopyWith<_$LnUrlPayResult_PayErrorImpl> get copyWith => - __$$LnUrlPayResult_PayErrorImplCopyWithImpl<_$LnUrlPayResult_PayErrorImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PayAmount_Asset&&(identical(other.assetId, assetId) || other.assetId == assetId)&&(identical(other.receiverAmount, receiverAmount) || other.receiverAmount == receiverAmount)); } -abstract class LnUrlPayResult_PayError extends LnUrlPayResult { - const factory LnUrlPayResult_PayError({required final LnUrlPayErrorData data}) = - _$LnUrlPayResult_PayErrorImpl; - const LnUrlPayResult_PayError._() : super._(); - @override - LnUrlPayErrorData get data; +@override +int get hashCode => Object.hash(runtimeType,assetId,receiverAmount); + +@override +String toString() { + return 'PayAmount.asset(assetId: $assetId, receiverAmount: $receiverAmount)'; +} + - /// Create a copy of LnUrlPayResult - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$LnUrlPayResult_PayErrorImplCopyWith<_$LnUrlPayResult_PayErrorImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -mixin _$PayAmount {} +abstract mixin class $PayAmount_AssetCopyWith<$Res> implements $PayAmountCopyWith<$Res> { + factory $PayAmount_AssetCopyWith(PayAmount_Asset value, $Res Function(PayAmount_Asset) _then) = _$PayAmount_AssetCopyWithImpl; +@useResult +$Res call({ + String assetId, double receiverAmount +}); + + + +} /// @nodoc -abstract class $PayAmountCopyWith<$Res> { - factory $PayAmountCopyWith(PayAmount value, $Res Function(PayAmount) then) = - _$PayAmountCopyWithImpl<$Res, PayAmount>; +class _$PayAmount_AssetCopyWithImpl<$Res> + implements $PayAmount_AssetCopyWith<$Res> { + _$PayAmount_AssetCopyWithImpl(this._self, this._then); + + final PayAmount_Asset _self; + final $Res Function(PayAmount_Asset) _then; + +/// Create a copy of PayAmount +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? assetId = null,Object? receiverAmount = null,}) { + return _then(PayAmount_Asset( +assetId: null == assetId ? _self.assetId : assetId // ignore: cast_nullable_to_non_nullable +as String,receiverAmount: null == receiverAmount ? _self.receiverAmount : receiverAmount // ignore: cast_nullable_to_non_nullable +as double, + )); } -/// @nodoc -class _$PayAmountCopyWithImpl<$Res, $Val extends PayAmount> implements $PayAmountCopyWith<$Res> { - _$PayAmountCopyWithImpl(this._value, this._then); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of PayAmount - /// with the given fields replaced by the non-null parameter values. -} - -/// @nodoc -abstract class _$$PayAmount_BitcoinImplCopyWith<$Res> { - factory _$$PayAmount_BitcoinImplCopyWith( - _$PayAmount_BitcoinImpl value, - $Res Function(_$PayAmount_BitcoinImpl) then, - ) = __$$PayAmount_BitcoinImplCopyWithImpl<$Res>; - @useResult - $Res call({BigInt receiverAmountSat}); -} - -/// @nodoc -class __$$PayAmount_BitcoinImplCopyWithImpl<$Res> - extends _$PayAmountCopyWithImpl<$Res, _$PayAmount_BitcoinImpl> - implements _$$PayAmount_BitcoinImplCopyWith<$Res> { - __$$PayAmount_BitcoinImplCopyWithImpl( - _$PayAmount_BitcoinImpl _value, - $Res Function(_$PayAmount_BitcoinImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PayAmount - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? receiverAmountSat = null}) { - return _then( - _$PayAmount_BitcoinImpl( - receiverAmountSat: - null == receiverAmountSat - ? _value.receiverAmountSat - : receiverAmountSat // ignore: cast_nullable_to_non_nullable - as BigInt, - ), - ); - } } /// @nodoc -class _$PayAmount_BitcoinImpl extends PayAmount_Bitcoin { - const _$PayAmount_BitcoinImpl({required this.receiverAmountSat}) : super._(); - @override - final BigInt receiverAmountSat; +class PayAmount_Drain extends PayAmount { + const PayAmount_Drain(): super._(); + - @override - String toString() { - return 'PayAmount.bitcoin(receiverAmountSat: $receiverAmountSat)'; - } - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PayAmount_BitcoinImpl && - (identical(other.receiverAmountSat, receiverAmountSat) || - other.receiverAmountSat == receiverAmountSat)); - } - @override - int get hashCode => Object.hash(runtimeType, receiverAmountSat); - /// Create a copy of PayAmount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PayAmount_BitcoinImplCopyWith<_$PayAmount_BitcoinImpl> get copyWith => - __$$PayAmount_BitcoinImplCopyWithImpl<_$PayAmount_BitcoinImpl>(this, _$identity); + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PayAmount_Drain); } -abstract class PayAmount_Bitcoin extends PayAmount { - const factory PayAmount_Bitcoin({required final BigInt receiverAmountSat}) = _$PayAmount_BitcoinImpl; - const PayAmount_Bitcoin._() : super._(); - BigInt get receiverAmountSat; +@override +int get hashCode => runtimeType.hashCode; - /// Create a copy of PayAmount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PayAmount_BitcoinImplCopyWith<_$PayAmount_BitcoinImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'PayAmount.drain()'; } -/// @nodoc -abstract class _$$PayAmount_AssetImplCopyWith<$Res> { - factory _$$PayAmount_AssetImplCopyWith( - _$PayAmount_AssetImpl value, - $Res Function(_$PayAmount_AssetImpl) then, - ) = __$$PayAmount_AssetImplCopyWithImpl<$Res>; - @useResult - $Res call({String assetId, double receiverAmount}); + } -/// @nodoc -class __$$PayAmount_AssetImplCopyWithImpl<$Res> extends _$PayAmountCopyWithImpl<$Res, _$PayAmount_AssetImpl> - implements _$$PayAmount_AssetImplCopyWith<$Res> { - __$$PayAmount_AssetImplCopyWithImpl( - _$PayAmount_AssetImpl _value, - $Res Function(_$PayAmount_AssetImpl) _then, - ) : super(_value, _then); - /// Create a copy of PayAmount - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? assetId = null, Object? receiverAmount = null}) { - return _then( - _$PayAmount_AssetImpl( - assetId: - null == assetId - ? _value.assetId - : assetId // ignore: cast_nullable_to_non_nullable - as String, - receiverAmount: - null == receiverAmount - ? _value.receiverAmount - : receiverAmount // ignore: cast_nullable_to_non_nullable - as double, - ), - ); - } -} -/// @nodoc - -class _$PayAmount_AssetImpl extends PayAmount_Asset { - const _$PayAmount_AssetImpl({required this.assetId, required this.receiverAmount}) : super._(); - - @override - final String assetId; - @override - final double receiverAmount; - - @override - String toString() { - return 'PayAmount.asset(assetId: $assetId, receiverAmount: $receiverAmount)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PayAmount_AssetImpl && - (identical(other.assetId, assetId) || other.assetId == assetId) && - (identical(other.receiverAmount, receiverAmount) || other.receiverAmount == receiverAmount)); - } - - @override - int get hashCode => Object.hash(runtimeType, assetId, receiverAmount); - - /// Create a copy of PayAmount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PayAmount_AssetImplCopyWith<_$PayAmount_AssetImpl> get copyWith => - __$$PayAmount_AssetImplCopyWithImpl<_$PayAmount_AssetImpl>(this, _$identity); -} - -abstract class PayAmount_Asset extends PayAmount { - const factory PayAmount_Asset({required final String assetId, required final double receiverAmount}) = - _$PayAmount_AssetImpl; - const PayAmount_Asset._() : super._(); - - String get assetId; - double get receiverAmount; - - /// Create a copy of PayAmount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PayAmount_AssetImplCopyWith<_$PayAmount_AssetImpl> get copyWith => throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$PayAmount_DrainImplCopyWith<$Res> { - factory _$$PayAmount_DrainImplCopyWith( - _$PayAmount_DrainImpl value, - $Res Function(_$PayAmount_DrainImpl) then, - ) = __$$PayAmount_DrainImplCopyWithImpl<$Res>; -} - -/// @nodoc -class __$$PayAmount_DrainImplCopyWithImpl<$Res> extends _$PayAmountCopyWithImpl<$Res, _$PayAmount_DrainImpl> - implements _$$PayAmount_DrainImplCopyWith<$Res> { - __$$PayAmount_DrainImplCopyWithImpl( - _$PayAmount_DrainImpl _value, - $Res Function(_$PayAmount_DrainImpl) _then, - ) : super(_value, _then); - - /// Create a copy of PayAmount - /// with the given fields replaced by the non-null parameter values. -} - -/// @nodoc - -class _$PayAmount_DrainImpl extends PayAmount_Drain { - const _$PayAmount_DrainImpl() : super._(); - - @override - String toString() { - return 'PayAmount.drain()'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType && other is _$PayAmount_DrainImpl); - } - - @override - int get hashCode => runtimeType.hashCode; -} - -abstract class PayAmount_Drain extends PayAmount { - const factory PayAmount_Drain() = _$PayAmount_DrainImpl; - const PayAmount_Drain._() : super._(); -} /// @nodoc mixin _$PaymentDetails { - /// Represents the invoice description - String get description => throw _privateConstructorUsedError; - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $PaymentDetailsCopyWith get copyWith => throw _privateConstructorUsedError; +/// Represents the invoice description + String get description; +/// Create a copy of PaymentDetails +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentDetailsCopyWith get copyWith => _$PaymentDetailsCopyWithImpl(this as PaymentDetails, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentDetails&&(identical(other.description, description) || other.description == description)); +} + + +@override +int get hashCode => Object.hash(runtimeType,description); + +@override +String toString() { + return 'PaymentDetails(description: $description)'; +} + + } /// @nodoc -abstract class $PaymentDetailsCopyWith<$Res> { - factory $PaymentDetailsCopyWith(PaymentDetails value, $Res Function(PaymentDetails) then) = - _$PaymentDetailsCopyWithImpl<$Res, PaymentDetails>; - @useResult - $Res call({String description}); -} +abstract mixin class $PaymentDetailsCopyWith<$Res> { + factory $PaymentDetailsCopyWith(PaymentDetails value, $Res Function(PaymentDetails) _then) = _$PaymentDetailsCopyWithImpl; +@useResult +$Res call({ + String description +}); + + + +} /// @nodoc -class _$PaymentDetailsCopyWithImpl<$Res, $Val extends PaymentDetails> +class _$PaymentDetailsCopyWithImpl<$Res> implements $PaymentDetailsCopyWith<$Res> { - _$PaymentDetailsCopyWithImpl(this._value, this._then); + _$PaymentDetailsCopyWithImpl(this._self, this._then); + + final PaymentDetails _self; + final $Res Function(PaymentDetails) _then; + +/// Create a copy of PaymentDetails +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? description = null,}) { + return _then(_self.copyWith( +description: null == description ? _self.description : description // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// @nodoc + + +class PaymentDetails_Lightning extends PaymentDetails { + const PaymentDetails_Lightning({required this.swapId, required this.description, required this.liquidExpirationBlockheight, this.preimage, this.invoice, this.bolt12Offer, this.paymentHash, this.destinationPubkey, this.lnurlInfo, this.bip353Address, this.claimTxId, this.refundTxId, this.refundTxAmountSat}): super._(); + + + final String swapId; +/// Represents the invoice description +@override final String description; +/// The height of the block at which the swap will no longer be valid + final int liquidExpirationBlockheight; +/// The preimage of the paid invoice (proof of payment). + final String? preimage; +/// Represents the Bolt11/Bolt12 invoice associated with a payment +/// In the case of a Send payment, this is the invoice paid by the swapper +/// In the case of a Receive payment, this is the invoice paid by the user + final String? invoice; + final String? bolt12Offer; +/// The payment hash of the invoice + final String? paymentHash; +/// The invoice destination/payee pubkey + final String? destinationPubkey; +/// The payment LNURL info + final LnUrlInfo? lnurlInfo; +/// The BIP353 address used to resolve this payment + final String? bip353Address; +/// For a Receive payment, this is the claim tx id in case it has already been broadcast + final String? claimTxId; +/// For a Send swap which was refunded, this is the refund tx id + final String? refundTxId; +/// For a Send swap which was refunded, this is the refund amount + final BigInt? refundTxAmountSat; + +/// Create a copy of PaymentDetails +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentDetails_LightningCopyWith get copyWith => _$PaymentDetails_LightningCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentDetails_Lightning&&(identical(other.swapId, swapId) || other.swapId == swapId)&&(identical(other.description, description) || other.description == description)&&(identical(other.liquidExpirationBlockheight, liquidExpirationBlockheight) || other.liquidExpirationBlockheight == liquidExpirationBlockheight)&&(identical(other.preimage, preimage) || other.preimage == preimage)&&(identical(other.invoice, invoice) || other.invoice == invoice)&&(identical(other.bolt12Offer, bolt12Offer) || other.bolt12Offer == bolt12Offer)&&(identical(other.paymentHash, paymentHash) || other.paymentHash == paymentHash)&&(identical(other.destinationPubkey, destinationPubkey) || other.destinationPubkey == destinationPubkey)&&(identical(other.lnurlInfo, lnurlInfo) || other.lnurlInfo == lnurlInfo)&&(identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)&&(identical(other.claimTxId, claimTxId) || other.claimTxId == claimTxId)&&(identical(other.refundTxId, refundTxId) || other.refundTxId == refundTxId)&&(identical(other.refundTxAmountSat, refundTxAmountSat) || other.refundTxAmountSat == refundTxAmountSat)); +} + + +@override +int get hashCode => Object.hash(runtimeType,swapId,description,liquidExpirationBlockheight,preimage,invoice,bolt12Offer,paymentHash,destinationPubkey,lnurlInfo,bip353Address,claimTxId,refundTxId,refundTxAmountSat); + +@override +String toString() { + return 'PaymentDetails.lightning(swapId: $swapId, description: $description, liquidExpirationBlockheight: $liquidExpirationBlockheight, preimage: $preimage, invoice: $invoice, bolt12Offer: $bolt12Offer, paymentHash: $paymentHash, destinationPubkey: $destinationPubkey, lnurlInfo: $lnurlInfo, bip353Address: $bip353Address, claimTxId: $claimTxId, refundTxId: $refundTxId, refundTxAmountSat: $refundTxAmountSat)'; +} - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? description = null}) { - return _then( - _value.copyWith( - description: - null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - ) - as $Val, - ); - } } /// @nodoc -abstract class _$$PaymentDetails_LightningImplCopyWith<$Res> implements $PaymentDetailsCopyWith<$Res> { - factory _$$PaymentDetails_LightningImplCopyWith( - _$PaymentDetails_LightningImpl value, - $Res Function(_$PaymentDetails_LightningImpl) then, - ) = __$$PaymentDetails_LightningImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String swapId, - String description, - int liquidExpirationBlockheight, - String? preimage, - String? invoice, - String? bolt12Offer, - String? paymentHash, - String? destinationPubkey, - LnUrlInfo? lnurlInfo, - String? bip353Address, - String? claimTxId, - String? refundTxId, - BigInt? refundTxAmountSat, - }); +abstract mixin class $PaymentDetails_LightningCopyWith<$Res> implements $PaymentDetailsCopyWith<$Res> { + factory $PaymentDetails_LightningCopyWith(PaymentDetails_Lightning value, $Res Function(PaymentDetails_Lightning) _then) = _$PaymentDetails_LightningCopyWithImpl; +@override @useResult +$Res call({ + String swapId, String description, int liquidExpirationBlockheight, String? preimage, String? invoice, String? bolt12Offer, String? paymentHash, String? destinationPubkey, LnUrlInfo? lnurlInfo, String? bip353Address, String? claimTxId, String? refundTxId, BigInt? refundTxAmountSat +}); + + + + +} +/// @nodoc +class _$PaymentDetails_LightningCopyWithImpl<$Res> + implements $PaymentDetails_LightningCopyWith<$Res> { + _$PaymentDetails_LightningCopyWithImpl(this._self, this._then); + + final PaymentDetails_Lightning _self; + final $Res Function(PaymentDetails_Lightning) _then; + +/// Create a copy of PaymentDetails +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? swapId = null,Object? description = null,Object? liquidExpirationBlockheight = null,Object? preimage = freezed,Object? invoice = freezed,Object? bolt12Offer = freezed,Object? paymentHash = freezed,Object? destinationPubkey = freezed,Object? lnurlInfo = freezed,Object? bip353Address = freezed,Object? claimTxId = freezed,Object? refundTxId = freezed,Object? refundTxAmountSat = freezed,}) { + return _then(PaymentDetails_Lightning( +swapId: null == swapId ? _self.swapId : swapId // ignore: cast_nullable_to_non_nullable +as String,description: null == description ? _self.description : description // ignore: cast_nullable_to_non_nullable +as String,liquidExpirationBlockheight: null == liquidExpirationBlockheight ? _self.liquidExpirationBlockheight : liquidExpirationBlockheight // ignore: cast_nullable_to_non_nullable +as int,preimage: freezed == preimage ? _self.preimage : preimage // ignore: cast_nullable_to_non_nullable +as String?,invoice: freezed == invoice ? _self.invoice : invoice // ignore: cast_nullable_to_non_nullable +as String?,bolt12Offer: freezed == bolt12Offer ? _self.bolt12Offer : bolt12Offer // ignore: cast_nullable_to_non_nullable +as String?,paymentHash: freezed == paymentHash ? _self.paymentHash : paymentHash // ignore: cast_nullable_to_non_nullable +as String?,destinationPubkey: freezed == destinationPubkey ? _self.destinationPubkey : destinationPubkey // ignore: cast_nullable_to_non_nullable +as String?,lnurlInfo: freezed == lnurlInfo ? _self.lnurlInfo : lnurlInfo // ignore: cast_nullable_to_non_nullable +as LnUrlInfo?,bip353Address: freezed == bip353Address ? _self.bip353Address : bip353Address // ignore: cast_nullable_to_non_nullable +as String?,claimTxId: freezed == claimTxId ? _self.claimTxId : claimTxId // ignore: cast_nullable_to_non_nullable +as String?,refundTxId: freezed == refundTxId ? _self.refundTxId : refundTxId // ignore: cast_nullable_to_non_nullable +as String?,refundTxAmountSat: freezed == refundTxAmountSat ? _self.refundTxAmountSat : refundTxAmountSat // ignore: cast_nullable_to_non_nullable +as BigInt?, + )); } -/// @nodoc -class __$$PaymentDetails_LightningImplCopyWithImpl<$Res> - extends _$PaymentDetailsCopyWithImpl<$Res, _$PaymentDetails_LightningImpl> - implements _$$PaymentDetails_LightningImplCopyWith<$Res> { - __$$PaymentDetails_LightningImplCopyWithImpl( - _$PaymentDetails_LightningImpl _value, - $Res Function(_$PaymentDetails_LightningImpl) _then, - ) : super(_value, _then); - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? swapId = null, - Object? description = null, - Object? liquidExpirationBlockheight = null, - Object? preimage = freezed, - Object? invoice = freezed, - Object? bolt12Offer = freezed, - Object? paymentHash = freezed, - Object? destinationPubkey = freezed, - Object? lnurlInfo = freezed, - Object? bip353Address = freezed, - Object? claimTxId = freezed, - Object? refundTxId = freezed, - Object? refundTxAmountSat = freezed, - }) { - return _then( - _$PaymentDetails_LightningImpl( - swapId: - null == swapId - ? _value.swapId - : swapId // ignore: cast_nullable_to_non_nullable - as String, - description: - null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - liquidExpirationBlockheight: - null == liquidExpirationBlockheight - ? _value.liquidExpirationBlockheight - : liquidExpirationBlockheight // ignore: cast_nullable_to_non_nullable - as int, - preimage: - freezed == preimage - ? _value.preimage - : preimage // ignore: cast_nullable_to_non_nullable - as String?, - invoice: - freezed == invoice - ? _value.invoice - : invoice // ignore: cast_nullable_to_non_nullable - as String?, - bolt12Offer: - freezed == bolt12Offer - ? _value.bolt12Offer - : bolt12Offer // ignore: cast_nullable_to_non_nullable - as String?, - paymentHash: - freezed == paymentHash - ? _value.paymentHash - : paymentHash // ignore: cast_nullable_to_non_nullable - as String?, - destinationPubkey: - freezed == destinationPubkey - ? _value.destinationPubkey - : destinationPubkey // ignore: cast_nullable_to_non_nullable - as String?, - lnurlInfo: - freezed == lnurlInfo - ? _value.lnurlInfo - : lnurlInfo // ignore: cast_nullable_to_non_nullable - as LnUrlInfo?, - bip353Address: - freezed == bip353Address - ? _value.bip353Address - : bip353Address // ignore: cast_nullable_to_non_nullable - as String?, - claimTxId: - freezed == claimTxId - ? _value.claimTxId - : claimTxId // ignore: cast_nullable_to_non_nullable - as String?, - refundTxId: - freezed == refundTxId - ? _value.refundTxId - : refundTxId // ignore: cast_nullable_to_non_nullable - as String?, - refundTxAmountSat: - freezed == refundTxAmountSat - ? _value.refundTxAmountSat - : refundTxAmountSat // ignore: cast_nullable_to_non_nullable - as BigInt?, - ), - ); - } } /// @nodoc -class _$PaymentDetails_LightningImpl extends PaymentDetails_Lightning { - const _$PaymentDetails_LightningImpl({ - required this.swapId, - required this.description, - required this.liquidExpirationBlockheight, - this.preimage, - this.invoice, - this.bolt12Offer, - this.paymentHash, - this.destinationPubkey, - this.lnurlInfo, - this.bip353Address, - this.claimTxId, - this.refundTxId, - this.refundTxAmountSat, - }) : super._(); - @override - final String swapId; +class PaymentDetails_Liquid extends PaymentDetails { + const PaymentDetails_Liquid({required this.destination, required this.description, required this.assetId, this.assetInfo, this.lnurlInfo, this.bip353Address}): super._(); + - /// Represents the invoice description - @override - final String description; +/// Represents either a Liquid BIP21 URI or pure address + final String destination; +/// Represents the BIP21 `message` field +@override final String description; +/// The asset id + final String assetId; +/// The asset info derived from the [AssetMetadata] + final AssetInfo? assetInfo; +/// The payment LNURL info + final LnUrlInfo? lnurlInfo; +/// The BIP353 address used to resolve this payment + final String? bip353Address; - /// The height of the block at which the swap will no longer be valid - @override - final int liquidExpirationBlockheight; +/// Create a copy of PaymentDetails +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentDetails_LiquidCopyWith get copyWith => _$PaymentDetails_LiquidCopyWithImpl(this, _$identity); - /// The preimage of the paid invoice (proof of payment). - @override - final String? preimage; - /// Represents the Bolt11/Bolt12 invoice associated with a payment - /// In the case of a Send payment, this is the invoice paid by the swapper - /// In the case of a Receive payment, this is the invoice paid by the user - @override - final String? invoice; - @override - final String? bolt12Offer; - /// The payment hash of the invoice - @override - final String? paymentHash; - - /// The invoice destination/payee pubkey - @override - final String? destinationPubkey; - - /// The payment LNURL info - @override - final LnUrlInfo? lnurlInfo; - - /// The BIP353 address used to resolve this payment - @override - final String? bip353Address; - - /// For a Receive payment, this is the claim tx id in case it has already been broadcast - @override - final String? claimTxId; - - /// For a Send swap which was refunded, this is the refund tx id - @override - final String? refundTxId; - - /// For a Send swap which was refunded, this is the refund amount - @override - final BigInt? refundTxAmountSat; - - @override - String toString() { - return 'PaymentDetails.lightning(swapId: $swapId, description: $description, liquidExpirationBlockheight: $liquidExpirationBlockheight, preimage: $preimage, invoice: $invoice, bolt12Offer: $bolt12Offer, paymentHash: $paymentHash, destinationPubkey: $destinationPubkey, lnurlInfo: $lnurlInfo, bip353Address: $bip353Address, claimTxId: $claimTxId, refundTxId: $refundTxId, refundTxAmountSat: $refundTxAmountSat)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentDetails_LightningImpl && - (identical(other.swapId, swapId) || other.swapId == swapId) && - (identical(other.description, description) || other.description == description) && - (identical(other.liquidExpirationBlockheight, liquidExpirationBlockheight) || - other.liquidExpirationBlockheight == liquidExpirationBlockheight) && - (identical(other.preimage, preimage) || other.preimage == preimage) && - (identical(other.invoice, invoice) || other.invoice == invoice) && - (identical(other.bolt12Offer, bolt12Offer) || other.bolt12Offer == bolt12Offer) && - (identical(other.paymentHash, paymentHash) || other.paymentHash == paymentHash) && - (identical(other.destinationPubkey, destinationPubkey) || - other.destinationPubkey == destinationPubkey) && - (identical(other.lnurlInfo, lnurlInfo) || other.lnurlInfo == lnurlInfo) && - (identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address) && - (identical(other.claimTxId, claimTxId) || other.claimTxId == claimTxId) && - (identical(other.refundTxId, refundTxId) || other.refundTxId == refundTxId) && - (identical(other.refundTxAmountSat, refundTxAmountSat) || - other.refundTxAmountSat == refundTxAmountSat)); - } - - @override - int get hashCode => Object.hash( - runtimeType, - swapId, - description, - liquidExpirationBlockheight, - preimage, - invoice, - bolt12Offer, - paymentHash, - destinationPubkey, - lnurlInfo, - bip353Address, - claimTxId, - refundTxId, - refundTxAmountSat, - ); - - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentDetails_LightningImplCopyWith<_$PaymentDetails_LightningImpl> get copyWith => - __$$PaymentDetails_LightningImplCopyWithImpl<_$PaymentDetails_LightningImpl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentDetails_Liquid&&(identical(other.destination, destination) || other.destination == destination)&&(identical(other.description, description) || other.description == description)&&(identical(other.assetId, assetId) || other.assetId == assetId)&&(identical(other.assetInfo, assetInfo) || other.assetInfo == assetInfo)&&(identical(other.lnurlInfo, lnurlInfo) || other.lnurlInfo == lnurlInfo)&&(identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); } -abstract class PaymentDetails_Lightning extends PaymentDetails { - const factory PaymentDetails_Lightning({ - required final String swapId, - required final String description, - required final int liquidExpirationBlockheight, - final String? preimage, - final String? invoice, - final String? bolt12Offer, - final String? paymentHash, - final String? destinationPubkey, - final LnUrlInfo? lnurlInfo, - final String? bip353Address, - final String? claimTxId, - final String? refundTxId, - final BigInt? refundTxAmountSat, - }) = _$PaymentDetails_LightningImpl; - const PaymentDetails_Lightning._() : super._(); - String get swapId; +@override +int get hashCode => Object.hash(runtimeType,destination,description,assetId,assetInfo,lnurlInfo,bip353Address); - /// Represents the invoice description - @override - String get description; +@override +String toString() { + return 'PaymentDetails.liquid(destination: $destination, description: $description, assetId: $assetId, assetInfo: $assetInfo, lnurlInfo: $lnurlInfo, bip353Address: $bip353Address)'; +} - /// The height of the block at which the swap will no longer be valid - int get liquidExpirationBlockheight; - /// The preimage of the paid invoice (proof of payment). - String? get preimage; - - /// Represents the Bolt11/Bolt12 invoice associated with a payment - /// In the case of a Send payment, this is the invoice paid by the swapper - /// In the case of a Receive payment, this is the invoice paid by the user - String? get invoice; - String? get bolt12Offer; - - /// The payment hash of the invoice - String? get paymentHash; - - /// The invoice destination/payee pubkey - String? get destinationPubkey; - - /// The payment LNURL info - LnUrlInfo? get lnurlInfo; - - /// The BIP353 address used to resolve this payment - String? get bip353Address; - - /// For a Receive payment, this is the claim tx id in case it has already been broadcast - String? get claimTxId; - - /// For a Send swap which was refunded, this is the refund tx id - String? get refundTxId; - - /// For a Send swap which was refunded, this is the refund amount - BigInt? get refundTxAmountSat; - - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentDetails_LightningImplCopyWith<_$PaymentDetails_LightningImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$PaymentDetails_LiquidImplCopyWith<$Res> implements $PaymentDetailsCopyWith<$Res> { - factory _$$PaymentDetails_LiquidImplCopyWith( - _$PaymentDetails_LiquidImpl value, - $Res Function(_$PaymentDetails_LiquidImpl) then, - ) = __$$PaymentDetails_LiquidImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String destination, - String description, - String assetId, - AssetInfo? assetInfo, - LnUrlInfo? lnurlInfo, - String? bip353Address, - }); +abstract mixin class $PaymentDetails_LiquidCopyWith<$Res> implements $PaymentDetailsCopyWith<$Res> { + factory $PaymentDetails_LiquidCopyWith(PaymentDetails_Liquid value, $Res Function(PaymentDetails_Liquid) _then) = _$PaymentDetails_LiquidCopyWithImpl; +@override @useResult +$Res call({ + String destination, String description, String assetId, AssetInfo? assetInfo, LnUrlInfo? lnurlInfo, String? bip353Address +}); + + + + +} +/// @nodoc +class _$PaymentDetails_LiquidCopyWithImpl<$Res> + implements $PaymentDetails_LiquidCopyWith<$Res> { + _$PaymentDetails_LiquidCopyWithImpl(this._self, this._then); + + final PaymentDetails_Liquid _self; + final $Res Function(PaymentDetails_Liquid) _then; + +/// Create a copy of PaymentDetails +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? destination = null,Object? description = null,Object? assetId = null,Object? assetInfo = freezed,Object? lnurlInfo = freezed,Object? bip353Address = freezed,}) { + return _then(PaymentDetails_Liquid( +destination: null == destination ? _self.destination : destination // ignore: cast_nullable_to_non_nullable +as String,description: null == description ? _self.description : description // ignore: cast_nullable_to_non_nullable +as String,assetId: null == assetId ? _self.assetId : assetId // ignore: cast_nullable_to_non_nullable +as String,assetInfo: freezed == assetInfo ? _self.assetInfo : assetInfo // ignore: cast_nullable_to_non_nullable +as AssetInfo?,lnurlInfo: freezed == lnurlInfo ? _self.lnurlInfo : lnurlInfo // ignore: cast_nullable_to_non_nullable +as LnUrlInfo?,bip353Address: freezed == bip353Address ? _self.bip353Address : bip353Address // ignore: cast_nullable_to_non_nullable +as String?, + )); } -/// @nodoc -class __$$PaymentDetails_LiquidImplCopyWithImpl<$Res> - extends _$PaymentDetailsCopyWithImpl<$Res, _$PaymentDetails_LiquidImpl> - implements _$$PaymentDetails_LiquidImplCopyWith<$Res> { - __$$PaymentDetails_LiquidImplCopyWithImpl( - _$PaymentDetails_LiquidImpl _value, - $Res Function(_$PaymentDetails_LiquidImpl) _then, - ) : super(_value, _then); - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? destination = null, - Object? description = null, - Object? assetId = null, - Object? assetInfo = freezed, - Object? lnurlInfo = freezed, - Object? bip353Address = freezed, - }) { - return _then( - _$PaymentDetails_LiquidImpl( - destination: - null == destination - ? _value.destination - : destination // ignore: cast_nullable_to_non_nullable - as String, - description: - null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - assetId: - null == assetId - ? _value.assetId - : assetId // ignore: cast_nullable_to_non_nullable - as String, - assetInfo: - freezed == assetInfo - ? _value.assetInfo - : assetInfo // ignore: cast_nullable_to_non_nullable - as AssetInfo?, - lnurlInfo: - freezed == lnurlInfo - ? _value.lnurlInfo - : lnurlInfo // ignore: cast_nullable_to_non_nullable - as LnUrlInfo?, - bip353Address: - freezed == bip353Address - ? _value.bip353Address - : bip353Address // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc -class _$PaymentDetails_LiquidImpl extends PaymentDetails_Liquid { - const _$PaymentDetails_LiquidImpl({ - required this.destination, - required this.description, - required this.assetId, - this.assetInfo, - this.lnurlInfo, - this.bip353Address, - }) : super._(); - /// Represents either a Liquid BIP21 URI or pure address - @override - final String destination; +class PaymentDetails_Bitcoin extends PaymentDetails { + const PaymentDetails_Bitcoin({required this.swapId, required this.description, required this.autoAcceptedFees, this.liquidExpirationBlockheight, this.bitcoinExpirationBlockheight, this.claimTxId, this.refundTxId, this.refundTxAmountSat}): super._(); + - /// Represents the BIP21 `message` field - @override - final String description; + final String swapId; +/// Represents the invoice description +@override final String description; +/// For an amountless receive swap, this indicates if fees were automatically accepted. +/// Fees are auto accepted when the swapper proposes fees that are within the initial +/// estimate, plus the `onchain_fee_rate_leeway_sat_per_vbyte` set in the [Config], if any. + final bool autoAcceptedFees; +/// The height of the Liquid block at which the swap will no longer be valid +/// It should always be populated in case of an outgoing chain swap + final int? liquidExpirationBlockheight; +/// The height of the Bitcoin block at which the swap will no longer be valid +/// It should always be populated in case of an incoming chain swap + final int? bitcoinExpirationBlockheight; +/// The claim tx id in case it has already been broadcast + final String? claimTxId; +/// For a Send swap which was refunded, this is the refund tx id + final String? refundTxId; +/// For a Send swap which was refunded, this is the refund amount + final BigInt? refundTxAmountSat; - /// The asset id - @override - final String assetId; +/// Create a copy of PaymentDetails +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$PaymentDetails_BitcoinCopyWith get copyWith => _$PaymentDetails_BitcoinCopyWithImpl(this, _$identity); - /// The asset info derived from the [AssetMetadata] - @override - final AssetInfo? assetInfo; - /// The payment LNURL info - @override - final LnUrlInfo? lnurlInfo; - /// The BIP353 address used to resolve this payment - @override - final String? bip353Address; - - @override - String toString() { - return 'PaymentDetails.liquid(destination: $destination, description: $description, assetId: $assetId, assetInfo: $assetInfo, lnurlInfo: $lnurlInfo, bip353Address: $bip353Address)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentDetails_LiquidImpl && - (identical(other.destination, destination) || other.destination == destination) && - (identical(other.description, description) || other.description == description) && - (identical(other.assetId, assetId) || other.assetId == assetId) && - (identical(other.assetInfo, assetInfo) || other.assetInfo == assetInfo) && - (identical(other.lnurlInfo, lnurlInfo) || other.lnurlInfo == lnurlInfo) && - (identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); - } - - @override - int get hashCode => - Object.hash(runtimeType, destination, description, assetId, assetInfo, lnurlInfo, bip353Address); - - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentDetails_LiquidImplCopyWith<_$PaymentDetails_LiquidImpl> get copyWith => - __$$PaymentDetails_LiquidImplCopyWithImpl<_$PaymentDetails_LiquidImpl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is PaymentDetails_Bitcoin&&(identical(other.swapId, swapId) || other.swapId == swapId)&&(identical(other.description, description) || other.description == description)&&(identical(other.autoAcceptedFees, autoAcceptedFees) || other.autoAcceptedFees == autoAcceptedFees)&&(identical(other.liquidExpirationBlockheight, liquidExpirationBlockheight) || other.liquidExpirationBlockheight == liquidExpirationBlockheight)&&(identical(other.bitcoinExpirationBlockheight, bitcoinExpirationBlockheight) || other.bitcoinExpirationBlockheight == bitcoinExpirationBlockheight)&&(identical(other.claimTxId, claimTxId) || other.claimTxId == claimTxId)&&(identical(other.refundTxId, refundTxId) || other.refundTxId == refundTxId)&&(identical(other.refundTxAmountSat, refundTxAmountSat) || other.refundTxAmountSat == refundTxAmountSat)); } -abstract class PaymentDetails_Liquid extends PaymentDetails { - const factory PaymentDetails_Liquid({ - required final String destination, - required final String description, - required final String assetId, - final AssetInfo? assetInfo, - final LnUrlInfo? lnurlInfo, - final String? bip353Address, - }) = _$PaymentDetails_LiquidImpl; - const PaymentDetails_Liquid._() : super._(); - /// Represents either a Liquid BIP21 URI or pure address - String get destination; +@override +int get hashCode => Object.hash(runtimeType,swapId,description,autoAcceptedFees,liquidExpirationBlockheight,bitcoinExpirationBlockheight,claimTxId,refundTxId,refundTxAmountSat); - /// Represents the BIP21 `message` field - @override - String get description; +@override +String toString() { + return 'PaymentDetails.bitcoin(swapId: $swapId, description: $description, autoAcceptedFees: $autoAcceptedFees, liquidExpirationBlockheight: $liquidExpirationBlockheight, bitcoinExpirationBlockheight: $bitcoinExpirationBlockheight, claimTxId: $claimTxId, refundTxId: $refundTxId, refundTxAmountSat: $refundTxAmountSat)'; +} - /// The asset id - String get assetId; - /// The asset info derived from the [AssetMetadata] - AssetInfo? get assetInfo; - - /// The payment LNURL info - LnUrlInfo? get lnurlInfo; - - /// The BIP353 address used to resolve this payment - String? get bip353Address; - - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentDetails_LiquidImplCopyWith<_$PaymentDetails_LiquidImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$PaymentDetails_BitcoinImplCopyWith<$Res> implements $PaymentDetailsCopyWith<$Res> { - factory _$$PaymentDetails_BitcoinImplCopyWith( - _$PaymentDetails_BitcoinImpl value, - $Res Function(_$PaymentDetails_BitcoinImpl) then, - ) = __$$PaymentDetails_BitcoinImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({ - String swapId, - String description, - bool autoAcceptedFees, - int? liquidExpirationBlockheight, - int? bitcoinExpirationBlockheight, - String? claimTxId, - String? refundTxId, - BigInt? refundTxAmountSat, - }); +abstract mixin class $PaymentDetails_BitcoinCopyWith<$Res> implements $PaymentDetailsCopyWith<$Res> { + factory $PaymentDetails_BitcoinCopyWith(PaymentDetails_Bitcoin value, $Res Function(PaymentDetails_Bitcoin) _then) = _$PaymentDetails_BitcoinCopyWithImpl; +@override @useResult +$Res call({ + String swapId, String description, bool autoAcceptedFees, int? liquidExpirationBlockheight, int? bitcoinExpirationBlockheight, String? claimTxId, String? refundTxId, BigInt? refundTxAmountSat +}); + + + + +} +/// @nodoc +class _$PaymentDetails_BitcoinCopyWithImpl<$Res> + implements $PaymentDetails_BitcoinCopyWith<$Res> { + _$PaymentDetails_BitcoinCopyWithImpl(this._self, this._then); + + final PaymentDetails_Bitcoin _self; + final $Res Function(PaymentDetails_Bitcoin) _then; + +/// Create a copy of PaymentDetails +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? swapId = null,Object? description = null,Object? autoAcceptedFees = null,Object? liquidExpirationBlockheight = freezed,Object? bitcoinExpirationBlockheight = freezed,Object? claimTxId = freezed,Object? refundTxId = freezed,Object? refundTxAmountSat = freezed,}) { + return _then(PaymentDetails_Bitcoin( +swapId: null == swapId ? _self.swapId : swapId // ignore: cast_nullable_to_non_nullable +as String,description: null == description ? _self.description : description // ignore: cast_nullable_to_non_nullable +as String,autoAcceptedFees: null == autoAcceptedFees ? _self.autoAcceptedFees : autoAcceptedFees // ignore: cast_nullable_to_non_nullable +as bool,liquidExpirationBlockheight: freezed == liquidExpirationBlockheight ? _self.liquidExpirationBlockheight : liquidExpirationBlockheight // ignore: cast_nullable_to_non_nullable +as int?,bitcoinExpirationBlockheight: freezed == bitcoinExpirationBlockheight ? _self.bitcoinExpirationBlockheight : bitcoinExpirationBlockheight // ignore: cast_nullable_to_non_nullable +as int?,claimTxId: freezed == claimTxId ? _self.claimTxId : claimTxId // ignore: cast_nullable_to_non_nullable +as String?,refundTxId: freezed == refundTxId ? _self.refundTxId : refundTxId // ignore: cast_nullable_to_non_nullable +as String?,refundTxAmountSat: freezed == refundTxAmountSat ? _self.refundTxAmountSat : refundTxAmountSat // ignore: cast_nullable_to_non_nullable +as BigInt?, + )); +} + + } /// @nodoc -class __$$PaymentDetails_BitcoinImplCopyWithImpl<$Res> - extends _$PaymentDetailsCopyWithImpl<$Res, _$PaymentDetails_BitcoinImpl> - implements _$$PaymentDetails_BitcoinImplCopyWith<$Res> { - __$$PaymentDetails_BitcoinImplCopyWithImpl( - _$PaymentDetails_BitcoinImpl _value, - $Res Function(_$PaymentDetails_BitcoinImpl) _then, - ) : super(_value, _then); +mixin _$ReceiveAmount { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is ReceiveAmount); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'ReceiveAmount()'; +} + + +} + +/// @nodoc +class $ReceiveAmountCopyWith<$Res> { +$ReceiveAmountCopyWith(ReceiveAmount _, $Res Function(ReceiveAmount) __); +} + + +/// @nodoc + + +class ReceiveAmount_Bitcoin extends ReceiveAmount { + const ReceiveAmount_Bitcoin({required this.payerAmountSat}): super._(); + + + final BigInt payerAmountSat; + +/// Create a copy of ReceiveAmount +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$ReceiveAmount_BitcoinCopyWith get copyWith => _$ReceiveAmount_BitcoinCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is ReceiveAmount_Bitcoin&&(identical(other.payerAmountSat, payerAmountSat) || other.payerAmountSat == payerAmountSat)); +} + + +@override +int get hashCode => Object.hash(runtimeType,payerAmountSat); + +@override +String toString() { + return 'ReceiveAmount.bitcoin(payerAmountSat: $payerAmountSat)'; +} + + +} + +/// @nodoc +abstract mixin class $ReceiveAmount_BitcoinCopyWith<$Res> implements $ReceiveAmountCopyWith<$Res> { + factory $ReceiveAmount_BitcoinCopyWith(ReceiveAmount_Bitcoin value, $Res Function(ReceiveAmount_Bitcoin) _then) = _$ReceiveAmount_BitcoinCopyWithImpl; +@useResult +$Res call({ + BigInt payerAmountSat +}); + + + + +} +/// @nodoc +class _$ReceiveAmount_BitcoinCopyWithImpl<$Res> + implements $ReceiveAmount_BitcoinCopyWith<$Res> { + _$ReceiveAmount_BitcoinCopyWithImpl(this._self, this._then); + + final ReceiveAmount_Bitcoin _self; + final $Res Function(ReceiveAmount_Bitcoin) _then; + +/// Create a copy of ReceiveAmount +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? payerAmountSat = null,}) { + return _then(ReceiveAmount_Bitcoin( +payerAmountSat: null == payerAmountSat ? _self.payerAmountSat : payerAmountSat // ignore: cast_nullable_to_non_nullable +as BigInt, + )); +} + - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({ - Object? swapId = null, - Object? description = null, - Object? autoAcceptedFees = null, - Object? liquidExpirationBlockheight = freezed, - Object? bitcoinExpirationBlockheight = freezed, - Object? claimTxId = freezed, - Object? refundTxId = freezed, - Object? refundTxAmountSat = freezed, - }) { - return _then( - _$PaymentDetails_BitcoinImpl( - swapId: - null == swapId - ? _value.swapId - : swapId // ignore: cast_nullable_to_non_nullable - as String, - description: - null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - autoAcceptedFees: - null == autoAcceptedFees - ? _value.autoAcceptedFees - : autoAcceptedFees // ignore: cast_nullable_to_non_nullable - as bool, - liquidExpirationBlockheight: - freezed == liquidExpirationBlockheight - ? _value.liquidExpirationBlockheight - : liquidExpirationBlockheight // ignore: cast_nullable_to_non_nullable - as int?, - bitcoinExpirationBlockheight: - freezed == bitcoinExpirationBlockheight - ? _value.bitcoinExpirationBlockheight - : bitcoinExpirationBlockheight // ignore: cast_nullable_to_non_nullable - as int?, - claimTxId: - freezed == claimTxId - ? _value.claimTxId - : claimTxId // ignore: cast_nullable_to_non_nullable - as String?, - refundTxId: - freezed == refundTxId - ? _value.refundTxId - : refundTxId // ignore: cast_nullable_to_non_nullable - as String?, - refundTxAmountSat: - freezed == refundTxAmountSat - ? _value.refundTxAmountSat - : refundTxAmountSat // ignore: cast_nullable_to_non_nullable - as BigInt?, - ), - ); - } } /// @nodoc -class _$PaymentDetails_BitcoinImpl extends PaymentDetails_Bitcoin { - const _$PaymentDetails_BitcoinImpl({ - required this.swapId, - required this.description, - required this.autoAcceptedFees, - this.liquidExpirationBlockheight, - this.bitcoinExpirationBlockheight, - this.claimTxId, - this.refundTxId, - this.refundTxAmountSat, - }) : super._(); - @override - final String swapId; +class ReceiveAmount_Asset extends ReceiveAmount { + const ReceiveAmount_Asset({required this.assetId, this.payerAmount}): super._(); + - /// Represents the invoice description - @override - final String description; + final String assetId; + final double? payerAmount; - /// For an amountless receive swap, this indicates if fees were automatically accepted. - /// Fees are auto accepted when the swapper proposes fees that are within the initial - /// estimate, plus the `onchain_fee_rate_leeway_sat_per_vbyte` set in the [Config], if any. - @override - final bool autoAcceptedFees; +/// Create a copy of ReceiveAmount +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$ReceiveAmount_AssetCopyWith get copyWith => _$ReceiveAmount_AssetCopyWithImpl(this, _$identity); - /// The height of the Liquid block at which the swap will no longer be valid - /// It should always be populated in case of an outgoing chain swap - @override - final int? liquidExpirationBlockheight; - /// The height of the Bitcoin block at which the swap will no longer be valid - /// It should always be populated in case of an incoming chain swap - @override - final int? bitcoinExpirationBlockheight; - /// The claim tx id in case it has already been broadcast - @override - final String? claimTxId; - - /// For a Send swap which was refunded, this is the refund tx id - @override - final String? refundTxId; - - /// For a Send swap which was refunded, this is the refund amount - @override - final BigInt? refundTxAmountSat; - - @override - String toString() { - return 'PaymentDetails.bitcoin(swapId: $swapId, description: $description, autoAcceptedFees: $autoAcceptedFees, liquidExpirationBlockheight: $liquidExpirationBlockheight, bitcoinExpirationBlockheight: $bitcoinExpirationBlockheight, claimTxId: $claimTxId, refundTxId: $refundTxId, refundTxAmountSat: $refundTxAmountSat)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$PaymentDetails_BitcoinImpl && - (identical(other.swapId, swapId) || other.swapId == swapId) && - (identical(other.description, description) || other.description == description) && - (identical(other.autoAcceptedFees, autoAcceptedFees) || - other.autoAcceptedFees == autoAcceptedFees) && - (identical(other.liquidExpirationBlockheight, liquidExpirationBlockheight) || - other.liquidExpirationBlockheight == liquidExpirationBlockheight) && - (identical(other.bitcoinExpirationBlockheight, bitcoinExpirationBlockheight) || - other.bitcoinExpirationBlockheight == bitcoinExpirationBlockheight) && - (identical(other.claimTxId, claimTxId) || other.claimTxId == claimTxId) && - (identical(other.refundTxId, refundTxId) || other.refundTxId == refundTxId) && - (identical(other.refundTxAmountSat, refundTxAmountSat) || - other.refundTxAmountSat == refundTxAmountSat)); - } - - @override - int get hashCode => Object.hash( - runtimeType, - swapId, - description, - autoAcceptedFees, - liquidExpirationBlockheight, - bitcoinExpirationBlockheight, - claimTxId, - refundTxId, - refundTxAmountSat, - ); - - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$PaymentDetails_BitcoinImplCopyWith<_$PaymentDetails_BitcoinImpl> get copyWith => - __$$PaymentDetails_BitcoinImplCopyWithImpl<_$PaymentDetails_BitcoinImpl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is ReceiveAmount_Asset&&(identical(other.assetId, assetId) || other.assetId == assetId)&&(identical(other.payerAmount, payerAmount) || other.payerAmount == payerAmount)); } -abstract class PaymentDetails_Bitcoin extends PaymentDetails { - const factory PaymentDetails_Bitcoin({ - required final String swapId, - required final String description, - required final bool autoAcceptedFees, - final int? liquidExpirationBlockheight, - final int? bitcoinExpirationBlockheight, - final String? claimTxId, - final String? refundTxId, - final BigInt? refundTxAmountSat, - }) = _$PaymentDetails_BitcoinImpl; - const PaymentDetails_Bitcoin._() : super._(); - String get swapId; +@override +int get hashCode => Object.hash(runtimeType,assetId,payerAmount); - /// Represents the invoice description - @override - String get description; +@override +String toString() { + return 'ReceiveAmount.asset(assetId: $assetId, payerAmount: $payerAmount)'; +} - /// For an amountless receive swap, this indicates if fees were automatically accepted. - /// Fees are auto accepted when the swapper proposes fees that are within the initial - /// estimate, plus the `onchain_fee_rate_leeway_sat_per_vbyte` set in the [Config], if any. - bool get autoAcceptedFees; - /// The height of the Liquid block at which the swap will no longer be valid - /// It should always be populated in case of an outgoing chain swap - int? get liquidExpirationBlockheight; - - /// The height of the Bitcoin block at which the swap will no longer be valid - /// It should always be populated in case of an incoming chain swap - int? get bitcoinExpirationBlockheight; - - /// The claim tx id in case it has already been broadcast - String? get claimTxId; - - /// For a Send swap which was refunded, this is the refund tx id - String? get refundTxId; - - /// For a Send swap which was refunded, this is the refund amount - BigInt? get refundTxAmountSat; - - /// Create a copy of PaymentDetails - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$PaymentDetails_BitcoinImplCopyWith<_$PaymentDetails_BitcoinImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -mixin _$ReceiveAmount {} +abstract mixin class $ReceiveAmount_AssetCopyWith<$Res> implements $ReceiveAmountCopyWith<$Res> { + factory $ReceiveAmount_AssetCopyWith(ReceiveAmount_Asset value, $Res Function(ReceiveAmount_Asset) _then) = _$ReceiveAmount_AssetCopyWithImpl; +@useResult +$Res call({ + String assetId, double? payerAmount +}); + + + +} /// @nodoc -abstract class $ReceiveAmountCopyWith<$Res> { - factory $ReceiveAmountCopyWith(ReceiveAmount value, $Res Function(ReceiveAmount) then) = - _$ReceiveAmountCopyWithImpl<$Res, ReceiveAmount>; +class _$ReceiveAmount_AssetCopyWithImpl<$Res> + implements $ReceiveAmount_AssetCopyWith<$Res> { + _$ReceiveAmount_AssetCopyWithImpl(this._self, this._then); + + final ReceiveAmount_Asset _self; + final $Res Function(ReceiveAmount_Asset) _then; + +/// Create a copy of ReceiveAmount +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? assetId = null,Object? payerAmount = freezed,}) { + return _then(ReceiveAmount_Asset( +assetId: null == assetId ? _self.assetId : assetId // ignore: cast_nullable_to_non_nullable +as String,payerAmount: freezed == payerAmount ? _self.payerAmount : payerAmount // ignore: cast_nullable_to_non_nullable +as double?, + )); +} + + } /// @nodoc -class _$ReceiveAmountCopyWithImpl<$Res, $Val extends ReceiveAmount> implements $ReceiveAmountCopyWith<$Res> { - _$ReceiveAmountCopyWithImpl(this._value, this._then); +mixin _$SdkEvent { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkEvent); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'SdkEvent()'; +} - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of ReceiveAmount - /// with the given fields replaced by the non-null parameter values. } /// @nodoc -abstract class _$$ReceiveAmount_BitcoinImplCopyWith<$Res> { - factory _$$ReceiveAmount_BitcoinImplCopyWith( - _$ReceiveAmount_BitcoinImpl value, - $Res Function(_$ReceiveAmount_BitcoinImpl) then, - ) = __$$ReceiveAmount_BitcoinImplCopyWithImpl<$Res>; - @useResult - $Res call({BigInt payerAmountSat}); +class $SdkEventCopyWith<$Res> { +$SdkEventCopyWith(SdkEvent _, $Res Function(SdkEvent) __); +} + + +/// @nodoc + + +class SdkEvent_PaymentFailed extends SdkEvent { + const SdkEvent_PaymentFailed({required this.details}): super._(); + + + final Payment details; + +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SdkEvent_PaymentFailedCopyWith get copyWith => _$SdkEvent_PaymentFailedCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkEvent_PaymentFailed&&(identical(other.details, details) || other.details == details)); +} + + +@override +int get hashCode => Object.hash(runtimeType,details); + +@override +String toString() { + return 'SdkEvent.paymentFailed(details: $details)'; +} + + } /// @nodoc -class __$$ReceiveAmount_BitcoinImplCopyWithImpl<$Res> - extends _$ReceiveAmountCopyWithImpl<$Res, _$ReceiveAmount_BitcoinImpl> - implements _$$ReceiveAmount_BitcoinImplCopyWith<$Res> { - __$$ReceiveAmount_BitcoinImplCopyWithImpl( - _$ReceiveAmount_BitcoinImpl _value, - $Res Function(_$ReceiveAmount_BitcoinImpl) _then, - ) : super(_value, _then); +abstract mixin class $SdkEvent_PaymentFailedCopyWith<$Res> implements $SdkEventCopyWith<$Res> { + factory $SdkEvent_PaymentFailedCopyWith(SdkEvent_PaymentFailed value, $Res Function(SdkEvent_PaymentFailed) _then) = _$SdkEvent_PaymentFailedCopyWithImpl; +@useResult +$Res call({ + Payment details +}); + + + + +} +/// @nodoc +class _$SdkEvent_PaymentFailedCopyWithImpl<$Res> + implements $SdkEvent_PaymentFailedCopyWith<$Res> { + _$SdkEvent_PaymentFailedCopyWithImpl(this._self, this._then); + + final SdkEvent_PaymentFailed _self; + final $Res Function(SdkEvent_PaymentFailed) _then; + +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? details = null,}) { + return _then(SdkEvent_PaymentFailed( +details: null == details ? _self.details : details // ignore: cast_nullable_to_non_nullable +as Payment, + )); +} + - /// Create a copy of ReceiveAmount - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? payerAmountSat = null}) { - return _then( - _$ReceiveAmount_BitcoinImpl( - payerAmountSat: - null == payerAmountSat - ? _value.payerAmountSat - : payerAmountSat // ignore: cast_nullable_to_non_nullable - as BigInt, - ), - ); - } } /// @nodoc -class _$ReceiveAmount_BitcoinImpl extends ReceiveAmount_Bitcoin { - const _$ReceiveAmount_BitcoinImpl({required this.payerAmountSat}) : super._(); - @override - final BigInt payerAmountSat; +class SdkEvent_PaymentPending extends SdkEvent { + const SdkEvent_PaymentPending({required this.details}): super._(); + - @override - String toString() { - return 'ReceiveAmount.bitcoin(payerAmountSat: $payerAmountSat)'; - } + final Payment details; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$ReceiveAmount_BitcoinImpl && - (identical(other.payerAmountSat, payerAmountSat) || other.payerAmountSat == payerAmountSat)); - } +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SdkEvent_PaymentPendingCopyWith get copyWith => _$SdkEvent_PaymentPendingCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, payerAmountSat); - /// Create a copy of ReceiveAmount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$ReceiveAmount_BitcoinImplCopyWith<_$ReceiveAmount_BitcoinImpl> get copyWith => - __$$ReceiveAmount_BitcoinImplCopyWithImpl<_$ReceiveAmount_BitcoinImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkEvent_PaymentPending&&(identical(other.details, details) || other.details == details)); } -abstract class ReceiveAmount_Bitcoin extends ReceiveAmount { - const factory ReceiveAmount_Bitcoin({required final BigInt payerAmountSat}) = _$ReceiveAmount_BitcoinImpl; - const ReceiveAmount_Bitcoin._() : super._(); - BigInt get payerAmountSat; +@override +int get hashCode => Object.hash(runtimeType,details); + +@override +String toString() { + return 'SdkEvent.paymentPending(details: $details)'; +} + - /// Create a copy of ReceiveAmount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$ReceiveAmount_BitcoinImplCopyWith<_$ReceiveAmount_BitcoinImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$ReceiveAmount_AssetImplCopyWith<$Res> { - factory _$$ReceiveAmount_AssetImplCopyWith( - _$ReceiveAmount_AssetImpl value, - $Res Function(_$ReceiveAmount_AssetImpl) then, - ) = __$$ReceiveAmount_AssetImplCopyWithImpl<$Res>; - @useResult - $Res call({String assetId, double? payerAmount}); +abstract mixin class $SdkEvent_PaymentPendingCopyWith<$Res> implements $SdkEventCopyWith<$Res> { + factory $SdkEvent_PaymentPendingCopyWith(SdkEvent_PaymentPending value, $Res Function(SdkEvent_PaymentPending) _then) = _$SdkEvent_PaymentPendingCopyWithImpl; +@useResult +$Res call({ + Payment details +}); + + + + +} +/// @nodoc +class _$SdkEvent_PaymentPendingCopyWithImpl<$Res> + implements $SdkEvent_PaymentPendingCopyWith<$Res> { + _$SdkEvent_PaymentPendingCopyWithImpl(this._self, this._then); + + final SdkEvent_PaymentPending _self; + final $Res Function(SdkEvent_PaymentPending) _then; + +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? details = null,}) { + return _then(SdkEvent_PaymentPending( +details: null == details ? _self.details : details // ignore: cast_nullable_to_non_nullable +as Payment, + )); } -/// @nodoc -class __$$ReceiveAmount_AssetImplCopyWithImpl<$Res> - extends _$ReceiveAmountCopyWithImpl<$Res, _$ReceiveAmount_AssetImpl> - implements _$$ReceiveAmount_AssetImplCopyWith<$Res> { - __$$ReceiveAmount_AssetImplCopyWithImpl( - _$ReceiveAmount_AssetImpl _value, - $Res Function(_$ReceiveAmount_AssetImpl) _then, - ) : super(_value, _then); - /// Create a copy of ReceiveAmount - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? assetId = null, Object? payerAmount = freezed}) { - return _then( - _$ReceiveAmount_AssetImpl( - assetId: - null == assetId - ? _value.assetId - : assetId // ignore: cast_nullable_to_non_nullable - as String, - payerAmount: - freezed == payerAmount - ? _value.payerAmount - : payerAmount // ignore: cast_nullable_to_non_nullable - as double?, - ), - ); - } } /// @nodoc -class _$ReceiveAmount_AssetImpl extends ReceiveAmount_Asset { - const _$ReceiveAmount_AssetImpl({required this.assetId, this.payerAmount}) : super._(); - @override - final String assetId; - @override - final double? payerAmount; +class SdkEvent_PaymentRefundable extends SdkEvent { + const SdkEvent_PaymentRefundable({required this.details}): super._(); + - @override - String toString() { - return 'ReceiveAmount.asset(assetId: $assetId, payerAmount: $payerAmount)'; - } + final Payment details; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$ReceiveAmount_AssetImpl && - (identical(other.assetId, assetId) || other.assetId == assetId) && - (identical(other.payerAmount, payerAmount) || other.payerAmount == payerAmount)); - } +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SdkEvent_PaymentRefundableCopyWith get copyWith => _$SdkEvent_PaymentRefundableCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, assetId, payerAmount); - /// Create a copy of ReceiveAmount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$ReceiveAmount_AssetImplCopyWith<_$ReceiveAmount_AssetImpl> get copyWith => - __$$ReceiveAmount_AssetImplCopyWithImpl<_$ReceiveAmount_AssetImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkEvent_PaymentRefundable&&(identical(other.details, details) || other.details == details)); } -abstract class ReceiveAmount_Asset extends ReceiveAmount { - const factory ReceiveAmount_Asset({required final String assetId, final double? payerAmount}) = - _$ReceiveAmount_AssetImpl; - const ReceiveAmount_Asset._() : super._(); - String get assetId; - double? get payerAmount; +@override +int get hashCode => Object.hash(runtimeType,details); + +@override +String toString() { + return 'SdkEvent.paymentRefundable(details: $details)'; +} + - /// Create a copy of ReceiveAmount - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$ReceiveAmount_AssetImplCopyWith<_$ReceiveAmount_AssetImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -mixin _$SdkEvent {} +abstract mixin class $SdkEvent_PaymentRefundableCopyWith<$Res> implements $SdkEventCopyWith<$Res> { + factory $SdkEvent_PaymentRefundableCopyWith(SdkEvent_PaymentRefundable value, $Res Function(SdkEvent_PaymentRefundable) _then) = _$SdkEvent_PaymentRefundableCopyWithImpl; +@useResult +$Res call({ + Payment details +}); + + + +} /// @nodoc -abstract class $SdkEventCopyWith<$Res> { - factory $SdkEventCopyWith(SdkEvent value, $Res Function(SdkEvent) then) = - _$SdkEventCopyWithImpl<$Res, SdkEvent>; +class _$SdkEvent_PaymentRefundableCopyWithImpl<$Res> + implements $SdkEvent_PaymentRefundableCopyWith<$Res> { + _$SdkEvent_PaymentRefundableCopyWithImpl(this._self, this._then); + + final SdkEvent_PaymentRefundable _self; + final $Res Function(SdkEvent_PaymentRefundable) _then; + +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? details = null,}) { + return _then(SdkEvent_PaymentRefundable( +details: null == details ? _self.details : details // ignore: cast_nullable_to_non_nullable +as Payment, + )); } -/// @nodoc -class _$SdkEventCopyWithImpl<$Res, $Val extends SdkEvent> implements $SdkEventCopyWith<$Res> { - _$SdkEventCopyWithImpl(this._value, this._then); - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. -} - -/// @nodoc -abstract class _$$SdkEvent_PaymentFailedImplCopyWith<$Res> { - factory _$$SdkEvent_PaymentFailedImplCopyWith( - _$SdkEvent_PaymentFailedImpl value, - $Res Function(_$SdkEvent_PaymentFailedImpl) then, - ) = __$$SdkEvent_PaymentFailedImplCopyWithImpl<$Res>; - @useResult - $Res call({Payment details}); -} - -/// @nodoc -class __$$SdkEvent_PaymentFailedImplCopyWithImpl<$Res> - extends _$SdkEventCopyWithImpl<$Res, _$SdkEvent_PaymentFailedImpl> - implements _$$SdkEvent_PaymentFailedImplCopyWith<$Res> { - __$$SdkEvent_PaymentFailedImplCopyWithImpl( - _$SdkEvent_PaymentFailedImpl _value, - $Res Function(_$SdkEvent_PaymentFailedImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? details = null}) { - return _then( - _$SdkEvent_PaymentFailedImpl( - details: - null == details - ? _value.details - : details // ignore: cast_nullable_to_non_nullable - as Payment, - ), - ); - } } /// @nodoc -class _$SdkEvent_PaymentFailedImpl extends SdkEvent_PaymentFailed { - const _$SdkEvent_PaymentFailedImpl({required this.details}) : super._(); - @override - final Payment details; +class SdkEvent_PaymentRefunded extends SdkEvent { + const SdkEvent_PaymentRefunded({required this.details}): super._(); + - @override - String toString() { - return 'SdkEvent.paymentFailed(details: $details)'; - } + final Payment details; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SdkEvent_PaymentFailedImpl && - (identical(other.details, details) || other.details == details)); - } +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SdkEvent_PaymentRefundedCopyWith get copyWith => _$SdkEvent_PaymentRefundedCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, details); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SdkEvent_PaymentFailedImplCopyWith<_$SdkEvent_PaymentFailedImpl> get copyWith => - __$$SdkEvent_PaymentFailedImplCopyWithImpl<_$SdkEvent_PaymentFailedImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkEvent_PaymentRefunded&&(identical(other.details, details) || other.details == details)); } -abstract class SdkEvent_PaymentFailed extends SdkEvent { - const factory SdkEvent_PaymentFailed({required final Payment details}) = _$SdkEvent_PaymentFailedImpl; - const SdkEvent_PaymentFailed._() : super._(); - Payment get details; +@override +int get hashCode => Object.hash(runtimeType,details); + +@override +String toString() { + return 'SdkEvent.paymentRefunded(details: $details)'; +} + - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SdkEvent_PaymentFailedImplCopyWith<_$SdkEvent_PaymentFailedImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$SdkEvent_PaymentPendingImplCopyWith<$Res> { - factory _$$SdkEvent_PaymentPendingImplCopyWith( - _$SdkEvent_PaymentPendingImpl value, - $Res Function(_$SdkEvent_PaymentPendingImpl) then, - ) = __$$SdkEvent_PaymentPendingImplCopyWithImpl<$Res>; - @useResult - $Res call({Payment details}); +abstract mixin class $SdkEvent_PaymentRefundedCopyWith<$Res> implements $SdkEventCopyWith<$Res> { + factory $SdkEvent_PaymentRefundedCopyWith(SdkEvent_PaymentRefunded value, $Res Function(SdkEvent_PaymentRefunded) _then) = _$SdkEvent_PaymentRefundedCopyWithImpl; +@useResult +$Res call({ + Payment details +}); + + + + +} +/// @nodoc +class _$SdkEvent_PaymentRefundedCopyWithImpl<$Res> + implements $SdkEvent_PaymentRefundedCopyWith<$Res> { + _$SdkEvent_PaymentRefundedCopyWithImpl(this._self, this._then); + + final SdkEvent_PaymentRefunded _self; + final $Res Function(SdkEvent_PaymentRefunded) _then; + +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? details = null,}) { + return _then(SdkEvent_PaymentRefunded( +details: null == details ? _self.details : details // ignore: cast_nullable_to_non_nullable +as Payment, + )); } -/// @nodoc -class __$$SdkEvent_PaymentPendingImplCopyWithImpl<$Res> - extends _$SdkEventCopyWithImpl<$Res, _$SdkEvent_PaymentPendingImpl> - implements _$$SdkEvent_PaymentPendingImplCopyWith<$Res> { - __$$SdkEvent_PaymentPendingImplCopyWithImpl( - _$SdkEvent_PaymentPendingImpl _value, - $Res Function(_$SdkEvent_PaymentPendingImpl) _then, - ) : super(_value, _then); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? details = null}) { - return _then( - _$SdkEvent_PaymentPendingImpl( - details: - null == details - ? _value.details - : details // ignore: cast_nullable_to_non_nullable - as Payment, - ), - ); - } } /// @nodoc -class _$SdkEvent_PaymentPendingImpl extends SdkEvent_PaymentPending { - const _$SdkEvent_PaymentPendingImpl({required this.details}) : super._(); - @override - final Payment details; +class SdkEvent_PaymentRefundPending extends SdkEvent { + const SdkEvent_PaymentRefundPending({required this.details}): super._(); + - @override - String toString() { - return 'SdkEvent.paymentPending(details: $details)'; - } + final Payment details; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SdkEvent_PaymentPendingImpl && - (identical(other.details, details) || other.details == details)); - } +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SdkEvent_PaymentRefundPendingCopyWith get copyWith => _$SdkEvent_PaymentRefundPendingCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, details); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SdkEvent_PaymentPendingImplCopyWith<_$SdkEvent_PaymentPendingImpl> get copyWith => - __$$SdkEvent_PaymentPendingImplCopyWithImpl<_$SdkEvent_PaymentPendingImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkEvent_PaymentRefundPending&&(identical(other.details, details) || other.details == details)); } -abstract class SdkEvent_PaymentPending extends SdkEvent { - const factory SdkEvent_PaymentPending({required final Payment details}) = _$SdkEvent_PaymentPendingImpl; - const SdkEvent_PaymentPending._() : super._(); - Payment get details; +@override +int get hashCode => Object.hash(runtimeType,details); + +@override +String toString() { + return 'SdkEvent.paymentRefundPending(details: $details)'; +} + - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SdkEvent_PaymentPendingImplCopyWith<_$SdkEvent_PaymentPendingImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$SdkEvent_PaymentRefundableImplCopyWith<$Res> { - factory _$$SdkEvent_PaymentRefundableImplCopyWith( - _$SdkEvent_PaymentRefundableImpl value, - $Res Function(_$SdkEvent_PaymentRefundableImpl) then, - ) = __$$SdkEvent_PaymentRefundableImplCopyWithImpl<$Res>; - @useResult - $Res call({Payment details}); +abstract mixin class $SdkEvent_PaymentRefundPendingCopyWith<$Res> implements $SdkEventCopyWith<$Res> { + factory $SdkEvent_PaymentRefundPendingCopyWith(SdkEvent_PaymentRefundPending value, $Res Function(SdkEvent_PaymentRefundPending) _then) = _$SdkEvent_PaymentRefundPendingCopyWithImpl; +@useResult +$Res call({ + Payment details +}); + + + + +} +/// @nodoc +class _$SdkEvent_PaymentRefundPendingCopyWithImpl<$Res> + implements $SdkEvent_PaymentRefundPendingCopyWith<$Res> { + _$SdkEvent_PaymentRefundPendingCopyWithImpl(this._self, this._then); + + final SdkEvent_PaymentRefundPending _self; + final $Res Function(SdkEvent_PaymentRefundPending) _then; + +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? details = null,}) { + return _then(SdkEvent_PaymentRefundPending( +details: null == details ? _self.details : details // ignore: cast_nullable_to_non_nullable +as Payment, + )); } -/// @nodoc -class __$$SdkEvent_PaymentRefundableImplCopyWithImpl<$Res> - extends _$SdkEventCopyWithImpl<$Res, _$SdkEvent_PaymentRefundableImpl> - implements _$$SdkEvent_PaymentRefundableImplCopyWith<$Res> { - __$$SdkEvent_PaymentRefundableImplCopyWithImpl( - _$SdkEvent_PaymentRefundableImpl _value, - $Res Function(_$SdkEvent_PaymentRefundableImpl) _then, - ) : super(_value, _then); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? details = null}) { - return _then( - _$SdkEvent_PaymentRefundableImpl( - details: - null == details - ? _value.details - : details // ignore: cast_nullable_to_non_nullable - as Payment, - ), - ); - } } /// @nodoc -class _$SdkEvent_PaymentRefundableImpl extends SdkEvent_PaymentRefundable { - const _$SdkEvent_PaymentRefundableImpl({required this.details}) : super._(); - @override - final Payment details; +class SdkEvent_PaymentSucceeded extends SdkEvent { + const SdkEvent_PaymentSucceeded({required this.details}): super._(); + - @override - String toString() { - return 'SdkEvent.paymentRefundable(details: $details)'; - } + final Payment details; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SdkEvent_PaymentRefundableImpl && - (identical(other.details, details) || other.details == details)); - } +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SdkEvent_PaymentSucceededCopyWith get copyWith => _$SdkEvent_PaymentSucceededCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, details); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SdkEvent_PaymentRefundableImplCopyWith<_$SdkEvent_PaymentRefundableImpl> get copyWith => - __$$SdkEvent_PaymentRefundableImplCopyWithImpl<_$SdkEvent_PaymentRefundableImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkEvent_PaymentSucceeded&&(identical(other.details, details) || other.details == details)); } -abstract class SdkEvent_PaymentRefundable extends SdkEvent { - const factory SdkEvent_PaymentRefundable({required final Payment details}) = - _$SdkEvent_PaymentRefundableImpl; - const SdkEvent_PaymentRefundable._() : super._(); - Payment get details; +@override +int get hashCode => Object.hash(runtimeType,details); + +@override +String toString() { + return 'SdkEvent.paymentSucceeded(details: $details)'; +} + - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SdkEvent_PaymentRefundableImplCopyWith<_$SdkEvent_PaymentRefundableImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$SdkEvent_PaymentRefundedImplCopyWith<$Res> { - factory _$$SdkEvent_PaymentRefundedImplCopyWith( - _$SdkEvent_PaymentRefundedImpl value, - $Res Function(_$SdkEvent_PaymentRefundedImpl) then, - ) = __$$SdkEvent_PaymentRefundedImplCopyWithImpl<$Res>; - @useResult - $Res call({Payment details}); +abstract mixin class $SdkEvent_PaymentSucceededCopyWith<$Res> implements $SdkEventCopyWith<$Res> { + factory $SdkEvent_PaymentSucceededCopyWith(SdkEvent_PaymentSucceeded value, $Res Function(SdkEvent_PaymentSucceeded) _then) = _$SdkEvent_PaymentSucceededCopyWithImpl; +@useResult +$Res call({ + Payment details +}); + + + + +} +/// @nodoc +class _$SdkEvent_PaymentSucceededCopyWithImpl<$Res> + implements $SdkEvent_PaymentSucceededCopyWith<$Res> { + _$SdkEvent_PaymentSucceededCopyWithImpl(this._self, this._then); + + final SdkEvent_PaymentSucceeded _self; + final $Res Function(SdkEvent_PaymentSucceeded) _then; + +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? details = null,}) { + return _then(SdkEvent_PaymentSucceeded( +details: null == details ? _self.details : details // ignore: cast_nullable_to_non_nullable +as Payment, + )); } -/// @nodoc -class __$$SdkEvent_PaymentRefundedImplCopyWithImpl<$Res> - extends _$SdkEventCopyWithImpl<$Res, _$SdkEvent_PaymentRefundedImpl> - implements _$$SdkEvent_PaymentRefundedImplCopyWith<$Res> { - __$$SdkEvent_PaymentRefundedImplCopyWithImpl( - _$SdkEvent_PaymentRefundedImpl _value, - $Res Function(_$SdkEvent_PaymentRefundedImpl) _then, - ) : super(_value, _then); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? details = null}) { - return _then( - _$SdkEvent_PaymentRefundedImpl( - details: - null == details - ? _value.details - : details // ignore: cast_nullable_to_non_nullable - as Payment, - ), - ); - } } /// @nodoc -class _$SdkEvent_PaymentRefundedImpl extends SdkEvent_PaymentRefunded { - const _$SdkEvent_PaymentRefundedImpl({required this.details}) : super._(); - @override - final Payment details; +class SdkEvent_PaymentWaitingConfirmation extends SdkEvent { + const SdkEvent_PaymentWaitingConfirmation({required this.details}): super._(); + - @override - String toString() { - return 'SdkEvent.paymentRefunded(details: $details)'; - } + final Payment details; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SdkEvent_PaymentRefundedImpl && - (identical(other.details, details) || other.details == details)); - } +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SdkEvent_PaymentWaitingConfirmationCopyWith get copyWith => _$SdkEvent_PaymentWaitingConfirmationCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, details); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SdkEvent_PaymentRefundedImplCopyWith<_$SdkEvent_PaymentRefundedImpl> get copyWith => - __$$SdkEvent_PaymentRefundedImplCopyWithImpl<_$SdkEvent_PaymentRefundedImpl>(this, _$identity); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkEvent_PaymentWaitingConfirmation&&(identical(other.details, details) || other.details == details)); } -abstract class SdkEvent_PaymentRefunded extends SdkEvent { - const factory SdkEvent_PaymentRefunded({required final Payment details}) = _$SdkEvent_PaymentRefundedImpl; - const SdkEvent_PaymentRefunded._() : super._(); - Payment get details; +@override +int get hashCode => Object.hash(runtimeType,details); + +@override +String toString() { + return 'SdkEvent.paymentWaitingConfirmation(details: $details)'; +} + - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SdkEvent_PaymentRefundedImplCopyWith<_$SdkEvent_PaymentRefundedImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$SdkEvent_PaymentRefundPendingImplCopyWith<$Res> { - factory _$$SdkEvent_PaymentRefundPendingImplCopyWith( - _$SdkEvent_PaymentRefundPendingImpl value, - $Res Function(_$SdkEvent_PaymentRefundPendingImpl) then, - ) = __$$SdkEvent_PaymentRefundPendingImplCopyWithImpl<$Res>; - @useResult - $Res call({Payment details}); +abstract mixin class $SdkEvent_PaymentWaitingConfirmationCopyWith<$Res> implements $SdkEventCopyWith<$Res> { + factory $SdkEvent_PaymentWaitingConfirmationCopyWith(SdkEvent_PaymentWaitingConfirmation value, $Res Function(SdkEvent_PaymentWaitingConfirmation) _then) = _$SdkEvent_PaymentWaitingConfirmationCopyWithImpl; +@useResult +$Res call({ + Payment details +}); + + + + +} +/// @nodoc +class _$SdkEvent_PaymentWaitingConfirmationCopyWithImpl<$Res> + implements $SdkEvent_PaymentWaitingConfirmationCopyWith<$Res> { + _$SdkEvent_PaymentWaitingConfirmationCopyWithImpl(this._self, this._then); + + final SdkEvent_PaymentWaitingConfirmation _self; + final $Res Function(SdkEvent_PaymentWaitingConfirmation) _then; + +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? details = null,}) { + return _then(SdkEvent_PaymentWaitingConfirmation( +details: null == details ? _self.details : details // ignore: cast_nullable_to_non_nullable +as Payment, + )); } -/// @nodoc -class __$$SdkEvent_PaymentRefundPendingImplCopyWithImpl<$Res> - extends _$SdkEventCopyWithImpl<$Res, _$SdkEvent_PaymentRefundPendingImpl> - implements _$$SdkEvent_PaymentRefundPendingImplCopyWith<$Res> { - __$$SdkEvent_PaymentRefundPendingImplCopyWithImpl( - _$SdkEvent_PaymentRefundPendingImpl _value, - $Res Function(_$SdkEvent_PaymentRefundPendingImpl) _then, - ) : super(_value, _then); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? details = null}) { - return _then( - _$SdkEvent_PaymentRefundPendingImpl( - details: - null == details - ? _value.details - : details // ignore: cast_nullable_to_non_nullable - as Payment, - ), - ); - } } /// @nodoc -class _$SdkEvent_PaymentRefundPendingImpl extends SdkEvent_PaymentRefundPending { - const _$SdkEvent_PaymentRefundPendingImpl({required this.details}) : super._(); - @override - final Payment details; +class SdkEvent_PaymentWaitingFeeAcceptance extends SdkEvent { + const SdkEvent_PaymentWaitingFeeAcceptance({required this.details}): super._(); + - @override - String toString() { - return 'SdkEvent.paymentRefundPending(details: $details)'; - } + final Payment details; - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SdkEvent_PaymentRefundPendingImpl && - (identical(other.details, details) || other.details == details)); - } +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SdkEvent_PaymentWaitingFeeAcceptanceCopyWith get copyWith => _$SdkEvent_PaymentWaitingFeeAcceptanceCopyWithImpl(this, _$identity); - @override - int get hashCode => Object.hash(runtimeType, details); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SdkEvent_PaymentRefundPendingImplCopyWith<_$SdkEvent_PaymentRefundPendingImpl> get copyWith => - __$$SdkEvent_PaymentRefundPendingImplCopyWithImpl<_$SdkEvent_PaymentRefundPendingImpl>( - this, - _$identity, - ); + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkEvent_PaymentWaitingFeeAcceptance&&(identical(other.details, details) || other.details == details)); } -abstract class SdkEvent_PaymentRefundPending extends SdkEvent { - const factory SdkEvent_PaymentRefundPending({required final Payment details}) = - _$SdkEvent_PaymentRefundPendingImpl; - const SdkEvent_PaymentRefundPending._() : super._(); - Payment get details; +@override +int get hashCode => Object.hash(runtimeType,details); + +@override +String toString() { + return 'SdkEvent.paymentWaitingFeeAcceptance(details: $details)'; +} + - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SdkEvent_PaymentRefundPendingImplCopyWith<_$SdkEvent_PaymentRefundPendingImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$SdkEvent_PaymentSucceededImplCopyWith<$Res> { - factory _$$SdkEvent_PaymentSucceededImplCopyWith( - _$SdkEvent_PaymentSucceededImpl value, - $Res Function(_$SdkEvent_PaymentSucceededImpl) then, - ) = __$$SdkEvent_PaymentSucceededImplCopyWithImpl<$Res>; - @useResult - $Res call({Payment details}); +abstract mixin class $SdkEvent_PaymentWaitingFeeAcceptanceCopyWith<$Res> implements $SdkEventCopyWith<$Res> { + factory $SdkEvent_PaymentWaitingFeeAcceptanceCopyWith(SdkEvent_PaymentWaitingFeeAcceptance value, $Res Function(SdkEvent_PaymentWaitingFeeAcceptance) _then) = _$SdkEvent_PaymentWaitingFeeAcceptanceCopyWithImpl; +@useResult +$Res call({ + Payment details +}); + + + + +} +/// @nodoc +class _$SdkEvent_PaymentWaitingFeeAcceptanceCopyWithImpl<$Res> + implements $SdkEvent_PaymentWaitingFeeAcceptanceCopyWith<$Res> { + _$SdkEvent_PaymentWaitingFeeAcceptanceCopyWithImpl(this._self, this._then); + + final SdkEvent_PaymentWaitingFeeAcceptance _self; + final $Res Function(SdkEvent_PaymentWaitingFeeAcceptance) _then; + +/// Create a copy of SdkEvent +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? details = null,}) { + return _then(SdkEvent_PaymentWaitingFeeAcceptance( +details: null == details ? _self.details : details // ignore: cast_nullable_to_non_nullable +as Payment, + )); } -/// @nodoc -class __$$SdkEvent_PaymentSucceededImplCopyWithImpl<$Res> - extends _$SdkEventCopyWithImpl<$Res, _$SdkEvent_PaymentSucceededImpl> - implements _$$SdkEvent_PaymentSucceededImplCopyWith<$Res> { - __$$SdkEvent_PaymentSucceededImplCopyWithImpl( - _$SdkEvent_PaymentSucceededImpl _value, - $Res Function(_$SdkEvent_PaymentSucceededImpl) _then, - ) : super(_value, _then); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? details = null}) { - return _then( - _$SdkEvent_PaymentSucceededImpl( - details: - null == details - ? _value.details - : details // ignore: cast_nullable_to_non_nullable - as Payment, - ), - ); - } } /// @nodoc -class _$SdkEvent_PaymentSucceededImpl extends SdkEvent_PaymentSucceeded { - const _$SdkEvent_PaymentSucceededImpl({required this.details}) : super._(); - @override - final Payment details; +class SdkEvent_Synced extends SdkEvent { + const SdkEvent_Synced(): super._(); + - @override - String toString() { - return 'SdkEvent.paymentSucceeded(details: $details)'; - } - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SdkEvent_PaymentSucceededImpl && - (identical(other.details, details) || other.details == details)); - } - @override - int get hashCode => Object.hash(runtimeType, details); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SdkEvent_PaymentSucceededImplCopyWith<_$SdkEvent_PaymentSucceededImpl> get copyWith => - __$$SdkEvent_PaymentSucceededImplCopyWithImpl<_$SdkEvent_PaymentSucceededImpl>(this, _$identity); + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SdkEvent_Synced); } -abstract class SdkEvent_PaymentSucceeded extends SdkEvent { - const factory SdkEvent_PaymentSucceeded({required final Payment details}) = _$SdkEvent_PaymentSucceededImpl; - const SdkEvent_PaymentSucceeded._() : super._(); - Payment get details; +@override +int get hashCode => runtimeType.hashCode; - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SdkEvent_PaymentSucceededImplCopyWith<_$SdkEvent_PaymentSucceededImpl> get copyWith => - throw _privateConstructorUsedError; +@override +String toString() { + return 'SdkEvent.synced()'; } -/// @nodoc -abstract class _$$SdkEvent_PaymentWaitingConfirmationImplCopyWith<$Res> { - factory _$$SdkEvent_PaymentWaitingConfirmationImplCopyWith( - _$SdkEvent_PaymentWaitingConfirmationImpl value, - $Res Function(_$SdkEvent_PaymentWaitingConfirmationImpl) then, - ) = __$$SdkEvent_PaymentWaitingConfirmationImplCopyWithImpl<$Res>; - @useResult - $Res call({Payment details}); + } -/// @nodoc -class __$$SdkEvent_PaymentWaitingConfirmationImplCopyWithImpl<$Res> - extends _$SdkEventCopyWithImpl<$Res, _$SdkEvent_PaymentWaitingConfirmationImpl> - implements _$$SdkEvent_PaymentWaitingConfirmationImplCopyWith<$Res> { - __$$SdkEvent_PaymentWaitingConfirmationImplCopyWithImpl( - _$SdkEvent_PaymentWaitingConfirmationImpl _value, - $Res Function(_$SdkEvent_PaymentWaitingConfirmationImpl) _then, - ) : super(_value, _then); - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? details = null}) { - return _then( - _$SdkEvent_PaymentWaitingConfirmationImpl( - details: - null == details - ? _value.details - : details // ignore: cast_nullable_to_non_nullable - as Payment, - ), - ); - } -} -/// @nodoc - -class _$SdkEvent_PaymentWaitingConfirmationImpl extends SdkEvent_PaymentWaitingConfirmation { - const _$SdkEvent_PaymentWaitingConfirmationImpl({required this.details}) : super._(); - - @override - final Payment details; - - @override - String toString() { - return 'SdkEvent.paymentWaitingConfirmation(details: $details)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SdkEvent_PaymentWaitingConfirmationImpl && - (identical(other.details, details) || other.details == details)); - } - - @override - int get hashCode => Object.hash(runtimeType, details); - - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SdkEvent_PaymentWaitingConfirmationImplCopyWith<_$SdkEvent_PaymentWaitingConfirmationImpl> - get copyWith => - __$$SdkEvent_PaymentWaitingConfirmationImplCopyWithImpl<_$SdkEvent_PaymentWaitingConfirmationImpl>( - this, - _$identity, - ); -} - -abstract class SdkEvent_PaymentWaitingConfirmation extends SdkEvent { - const factory SdkEvent_PaymentWaitingConfirmation({required final Payment details}) = - _$SdkEvent_PaymentWaitingConfirmationImpl; - const SdkEvent_PaymentWaitingConfirmation._() : super._(); - - Payment get details; - - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SdkEvent_PaymentWaitingConfirmationImplCopyWith<_$SdkEvent_PaymentWaitingConfirmationImpl> - get copyWith => throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$SdkEvent_PaymentWaitingFeeAcceptanceImplCopyWith<$Res> { - factory _$$SdkEvent_PaymentWaitingFeeAcceptanceImplCopyWith( - _$SdkEvent_PaymentWaitingFeeAcceptanceImpl value, - $Res Function(_$SdkEvent_PaymentWaitingFeeAcceptanceImpl) then, - ) = __$$SdkEvent_PaymentWaitingFeeAcceptanceImplCopyWithImpl<$Res>; - @useResult - $Res call({Payment details}); -} - -/// @nodoc -class __$$SdkEvent_PaymentWaitingFeeAcceptanceImplCopyWithImpl<$Res> - extends _$SdkEventCopyWithImpl<$Res, _$SdkEvent_PaymentWaitingFeeAcceptanceImpl> - implements _$$SdkEvent_PaymentWaitingFeeAcceptanceImplCopyWith<$Res> { - __$$SdkEvent_PaymentWaitingFeeAcceptanceImplCopyWithImpl( - _$SdkEvent_PaymentWaitingFeeAcceptanceImpl _value, - $Res Function(_$SdkEvent_PaymentWaitingFeeAcceptanceImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? details = null}) { - return _then( - _$SdkEvent_PaymentWaitingFeeAcceptanceImpl( - details: - null == details - ? _value.details - : details // ignore: cast_nullable_to_non_nullable - as Payment, - ), - ); - } -} - -/// @nodoc - -class _$SdkEvent_PaymentWaitingFeeAcceptanceImpl extends SdkEvent_PaymentWaitingFeeAcceptance { - const _$SdkEvent_PaymentWaitingFeeAcceptanceImpl({required this.details}) : super._(); - - @override - final Payment details; - - @override - String toString() { - return 'SdkEvent.paymentWaitingFeeAcceptance(details: $details)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SdkEvent_PaymentWaitingFeeAcceptanceImpl && - (identical(other.details, details) || other.details == details)); - } - - @override - int get hashCode => Object.hash(runtimeType, details); - - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SdkEvent_PaymentWaitingFeeAcceptanceImplCopyWith<_$SdkEvent_PaymentWaitingFeeAcceptanceImpl> - get copyWith => - __$$SdkEvent_PaymentWaitingFeeAcceptanceImplCopyWithImpl<_$SdkEvent_PaymentWaitingFeeAcceptanceImpl>( - this, - _$identity, - ); -} - -abstract class SdkEvent_PaymentWaitingFeeAcceptance extends SdkEvent { - const factory SdkEvent_PaymentWaitingFeeAcceptance({required final Payment details}) = - _$SdkEvent_PaymentWaitingFeeAcceptanceImpl; - const SdkEvent_PaymentWaitingFeeAcceptance._() : super._(); - - Payment get details; - - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SdkEvent_PaymentWaitingFeeAcceptanceImplCopyWith<_$SdkEvent_PaymentWaitingFeeAcceptanceImpl> - get copyWith => throw _privateConstructorUsedError; -} - -/// @nodoc -abstract class _$$SdkEvent_SyncedImplCopyWith<$Res> { - factory _$$SdkEvent_SyncedImplCopyWith( - _$SdkEvent_SyncedImpl value, - $Res Function(_$SdkEvent_SyncedImpl) then, - ) = __$$SdkEvent_SyncedImplCopyWithImpl<$Res>; -} - -/// @nodoc -class __$$SdkEvent_SyncedImplCopyWithImpl<$Res> extends _$SdkEventCopyWithImpl<$Res, _$SdkEvent_SyncedImpl> - implements _$$SdkEvent_SyncedImplCopyWith<$Res> { - __$$SdkEvent_SyncedImplCopyWithImpl( - _$SdkEvent_SyncedImpl _value, - $Res Function(_$SdkEvent_SyncedImpl) _then, - ) : super(_value, _then); - - /// Create a copy of SdkEvent - /// with the given fields replaced by the non-null parameter values. -} - -/// @nodoc - -class _$SdkEvent_SyncedImpl extends SdkEvent_Synced { - const _$SdkEvent_SyncedImpl() : super._(); - - @override - String toString() { - return 'SdkEvent.synced()'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType && other is _$SdkEvent_SyncedImpl); - } - - @override - int get hashCode => runtimeType.hashCode; -} - -abstract class SdkEvent_Synced extends SdkEvent { - const factory SdkEvent_Synced() = _$SdkEvent_SyncedImpl; - const SdkEvent_Synced._() : super._(); -} /// @nodoc mixin _$SendDestination { - /// A BIP353 address, in case one was used to resolve this Liquid address - String? get bip353Address => throw _privateConstructorUsedError; - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - $SendDestinationCopyWith get copyWith => throw _privateConstructorUsedError; +/// A BIP353 address, in case one was used to resolve this Liquid address + String? get bip353Address; +/// Create a copy of SendDestination +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SendDestinationCopyWith get copyWith => _$SendDestinationCopyWithImpl(this as SendDestination, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SendDestination&&(identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); +} + + +@override +int get hashCode => Object.hash(runtimeType,bip353Address); + +@override +String toString() { + return 'SendDestination(bip353Address: $bip353Address)'; +} + + } /// @nodoc -abstract class $SendDestinationCopyWith<$Res> { - factory $SendDestinationCopyWith(SendDestination value, $Res Function(SendDestination) then) = - _$SendDestinationCopyWithImpl<$Res, SendDestination>; - @useResult - $Res call({String? bip353Address}); -} +abstract mixin class $SendDestinationCopyWith<$Res> { + factory $SendDestinationCopyWith(SendDestination value, $Res Function(SendDestination) _then) = _$SendDestinationCopyWithImpl; +@useResult +$Res call({ + String? bip353Address +}); + + + +} /// @nodoc -class _$SendDestinationCopyWithImpl<$Res, $Val extends SendDestination> +class _$SendDestinationCopyWithImpl<$Res> implements $SendDestinationCopyWith<$Res> { - _$SendDestinationCopyWithImpl(this._value, this._then); + _$SendDestinationCopyWithImpl(this._self, this._then); + + final SendDestination _self; + final $Res Function(SendDestination) _then; + +/// Create a copy of SendDestination +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? bip353Address = freezed,}) { + return _then(_self.copyWith( +bip353Address: freezed == bip353Address ? _self.bip353Address : bip353Address // ignore: cast_nullable_to_non_nullable +as String?, + )); +} + +} + + +/// @nodoc + + +class SendDestination_LiquidAddress extends SendDestination { + const SendDestination_LiquidAddress({required this.addressData, this.bip353Address}): super._(); + + + final LiquidAddressData addressData; +/// A BIP353 address, in case one was used to resolve this Liquid address +@override final String? bip353Address; + +/// Create a copy of SendDestination +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SendDestination_LiquidAddressCopyWith get copyWith => _$SendDestination_LiquidAddressCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SendDestination_LiquidAddress&&(identical(other.addressData, addressData) || other.addressData == addressData)&&(identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); +} + + +@override +int get hashCode => Object.hash(runtimeType,addressData,bip353Address); + +@override +String toString() { + return 'SendDestination.liquidAddress(addressData: $addressData, bip353Address: $bip353Address)'; +} - // ignore: unused_field - final $Val _value; - // ignore: unused_field - final $Res Function($Val) _then; - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? bip353Address = freezed}) { - return _then( - _value.copyWith( - bip353Address: - freezed == bip353Address - ? _value.bip353Address - : bip353Address // ignore: cast_nullable_to_non_nullable - as String?, - ) - as $Val, - ); - } } /// @nodoc -abstract class _$$SendDestination_LiquidAddressImplCopyWith<$Res> implements $SendDestinationCopyWith<$Res> { - factory _$$SendDestination_LiquidAddressImplCopyWith( - _$SendDestination_LiquidAddressImpl value, - $Res Function(_$SendDestination_LiquidAddressImpl) then, - ) = __$$SendDestination_LiquidAddressImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({LiquidAddressData addressData, String? bip353Address}); +abstract mixin class $SendDestination_LiquidAddressCopyWith<$Res> implements $SendDestinationCopyWith<$Res> { + factory $SendDestination_LiquidAddressCopyWith(SendDestination_LiquidAddress value, $Res Function(SendDestination_LiquidAddress) _then) = _$SendDestination_LiquidAddressCopyWithImpl; +@override @useResult +$Res call({ + LiquidAddressData addressData, String? bip353Address +}); + + + + +} +/// @nodoc +class _$SendDestination_LiquidAddressCopyWithImpl<$Res> + implements $SendDestination_LiquidAddressCopyWith<$Res> { + _$SendDestination_LiquidAddressCopyWithImpl(this._self, this._then); + + final SendDestination_LiquidAddress _self; + final $Res Function(SendDestination_LiquidAddress) _then; + +/// Create a copy of SendDestination +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? addressData = null,Object? bip353Address = freezed,}) { + return _then(SendDestination_LiquidAddress( +addressData: null == addressData ? _self.addressData : addressData // ignore: cast_nullable_to_non_nullable +as LiquidAddressData,bip353Address: freezed == bip353Address ? _self.bip353Address : bip353Address // ignore: cast_nullable_to_non_nullable +as String?, + )); } -/// @nodoc -class __$$SendDestination_LiquidAddressImplCopyWithImpl<$Res> - extends _$SendDestinationCopyWithImpl<$Res, _$SendDestination_LiquidAddressImpl> - implements _$$SendDestination_LiquidAddressImplCopyWith<$Res> { - __$$SendDestination_LiquidAddressImplCopyWithImpl( - _$SendDestination_LiquidAddressImpl _value, - $Res Function(_$SendDestination_LiquidAddressImpl) _then, - ) : super(_value, _then); - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? addressData = null, Object? bip353Address = freezed}) { - return _then( - _$SendDestination_LiquidAddressImpl( - addressData: - null == addressData - ? _value.addressData - : addressData // ignore: cast_nullable_to_non_nullable - as LiquidAddressData, - bip353Address: - freezed == bip353Address - ? _value.bip353Address - : bip353Address // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc -class _$SendDestination_LiquidAddressImpl extends SendDestination_LiquidAddress { - const _$SendDestination_LiquidAddressImpl({required this.addressData, this.bip353Address}) : super._(); - @override - final LiquidAddressData addressData; +class SendDestination_Bolt11 extends SendDestination { + const SendDestination_Bolt11({required this.invoice, this.bip353Address}): super._(); + - /// A BIP353 address, in case one was used to resolve this Liquid address - @override - final String? bip353Address; + final LNInvoice invoice; +/// A BIP353 address, in case one was used to resolve this BOLT11 +@override final String? bip353Address; - @override - String toString() { - return 'SendDestination.liquidAddress(addressData: $addressData, bip353Address: $bip353Address)'; - } +/// Create a copy of SendDestination +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SendDestination_Bolt11CopyWith get copyWith => _$SendDestination_Bolt11CopyWithImpl(this, _$identity); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SendDestination_LiquidAddressImpl && - (identical(other.addressData, addressData) || other.addressData == addressData) && - (identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); - } - @override - int get hashCode => Object.hash(runtimeType, addressData, bip353Address); - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SendDestination_LiquidAddressImplCopyWith<_$SendDestination_LiquidAddressImpl> get copyWith => - __$$SendDestination_LiquidAddressImplCopyWithImpl<_$SendDestination_LiquidAddressImpl>( - this, - _$identity, - ); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SendDestination_Bolt11&&(identical(other.invoice, invoice) || other.invoice == invoice)&&(identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); } -abstract class SendDestination_LiquidAddress extends SendDestination { - const factory SendDestination_LiquidAddress({ - required final LiquidAddressData addressData, - final String? bip353Address, - }) = _$SendDestination_LiquidAddressImpl; - const SendDestination_LiquidAddress._() : super._(); - LiquidAddressData get addressData; +@override +int get hashCode => Object.hash(runtimeType,invoice,bip353Address); + +@override +String toString() { + return 'SendDestination.bolt11(invoice: $invoice, bip353Address: $bip353Address)'; +} - /// A BIP353 address, in case one was used to resolve this Liquid address - @override - String? get bip353Address; - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SendDestination_LiquidAddressImplCopyWith<_$SendDestination_LiquidAddressImpl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$SendDestination_Bolt11ImplCopyWith<$Res> implements $SendDestinationCopyWith<$Res> { - factory _$$SendDestination_Bolt11ImplCopyWith( - _$SendDestination_Bolt11Impl value, - $Res Function(_$SendDestination_Bolt11Impl) then, - ) = __$$SendDestination_Bolt11ImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({LNInvoice invoice, String? bip353Address}); +abstract mixin class $SendDestination_Bolt11CopyWith<$Res> implements $SendDestinationCopyWith<$Res> { + factory $SendDestination_Bolt11CopyWith(SendDestination_Bolt11 value, $Res Function(SendDestination_Bolt11) _then) = _$SendDestination_Bolt11CopyWithImpl; +@override @useResult +$Res call({ + LNInvoice invoice, String? bip353Address +}); + + + + +} +/// @nodoc +class _$SendDestination_Bolt11CopyWithImpl<$Res> + implements $SendDestination_Bolt11CopyWith<$Res> { + _$SendDestination_Bolt11CopyWithImpl(this._self, this._then); + + final SendDestination_Bolt11 _self; + final $Res Function(SendDestination_Bolt11) _then; + +/// Create a copy of SendDestination +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? invoice = null,Object? bip353Address = freezed,}) { + return _then(SendDestination_Bolt11( +invoice: null == invoice ? _self.invoice : invoice // ignore: cast_nullable_to_non_nullable +as LNInvoice,bip353Address: freezed == bip353Address ? _self.bip353Address : bip353Address // ignore: cast_nullable_to_non_nullable +as String?, + )); } -/// @nodoc -class __$$SendDestination_Bolt11ImplCopyWithImpl<$Res> - extends _$SendDestinationCopyWithImpl<$Res, _$SendDestination_Bolt11Impl> - implements _$$SendDestination_Bolt11ImplCopyWith<$Res> { - __$$SendDestination_Bolt11ImplCopyWithImpl( - _$SendDestination_Bolt11Impl _value, - $Res Function(_$SendDestination_Bolt11Impl) _then, - ) : super(_value, _then); - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? invoice = null, Object? bip353Address = freezed}) { - return _then( - _$SendDestination_Bolt11Impl( - invoice: - null == invoice - ? _value.invoice - : invoice // ignore: cast_nullable_to_non_nullable - as LNInvoice, - bip353Address: - freezed == bip353Address - ? _value.bip353Address - : bip353Address // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } } /// @nodoc -class _$SendDestination_Bolt11Impl extends SendDestination_Bolt11 { - const _$SendDestination_Bolt11Impl({required this.invoice, this.bip353Address}) : super._(); - @override - final LNInvoice invoice; +class SendDestination_Bolt12 extends SendDestination { + const SendDestination_Bolt12({required this.offer, required this.receiverAmountSat, this.bip353Address}): super._(); + - /// A BIP353 address, in case one was used to resolve this BOLT11 - @override - final String? bip353Address; + final LNOffer offer; + final BigInt receiverAmountSat; +/// A BIP353 address, in case one was used to resolve this BOLT12 +@override final String? bip353Address; - @override - String toString() { - return 'SendDestination.bolt11(invoice: $invoice, bip353Address: $bip353Address)'; - } +/// Create a copy of SendDestination +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SendDestination_Bolt12CopyWith get copyWith => _$SendDestination_Bolt12CopyWithImpl(this, _$identity); - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SendDestination_Bolt11Impl && - (identical(other.invoice, invoice) || other.invoice == invoice) && - (identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); - } - @override - int get hashCode => Object.hash(runtimeType, invoice, bip353Address); - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SendDestination_Bolt11ImplCopyWith<_$SendDestination_Bolt11Impl> get copyWith => - __$$SendDestination_Bolt11ImplCopyWithImpl<_$SendDestination_Bolt11Impl>(this, _$identity); +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SendDestination_Bolt12&&(identical(other.offer, offer) || other.offer == offer)&&(identical(other.receiverAmountSat, receiverAmountSat) || other.receiverAmountSat == receiverAmountSat)&&(identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); } -abstract class SendDestination_Bolt11 extends SendDestination { - const factory SendDestination_Bolt11({required final LNInvoice invoice, final String? bip353Address}) = - _$SendDestination_Bolt11Impl; - const SendDestination_Bolt11._() : super._(); - LNInvoice get invoice; +@override +int get hashCode => Object.hash(runtimeType,offer,receiverAmountSat,bip353Address); + +@override +String toString() { + return 'SendDestination.bolt12(offer: $offer, receiverAmountSat: $receiverAmountSat, bip353Address: $bip353Address)'; +} - /// A BIP353 address, in case one was used to resolve this BOLT11 - @override - String? get bip353Address; - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SendDestination_Bolt11ImplCopyWith<_$SendDestination_Bolt11Impl> get copyWith => - throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$SendDestination_Bolt12ImplCopyWith<$Res> implements $SendDestinationCopyWith<$Res> { - factory _$$SendDestination_Bolt12ImplCopyWith( - _$SendDestination_Bolt12Impl value, - $Res Function(_$SendDestination_Bolt12Impl) then, - ) = __$$SendDestination_Bolt12ImplCopyWithImpl<$Res>; - @override - @useResult - $Res call({LNOffer offer, BigInt receiverAmountSat, String? bip353Address}); -} +abstract mixin class $SendDestination_Bolt12CopyWith<$Res> implements $SendDestinationCopyWith<$Res> { + factory $SendDestination_Bolt12CopyWith(SendDestination_Bolt12 value, $Res Function(SendDestination_Bolt12) _then) = _$SendDestination_Bolt12CopyWithImpl; +@override @useResult +$Res call({ + LNOffer offer, BigInt receiverAmountSat, String? bip353Address +}); + + + +} /// @nodoc -class __$$SendDestination_Bolt12ImplCopyWithImpl<$Res> - extends _$SendDestinationCopyWithImpl<$Res, _$SendDestination_Bolt12Impl> - implements _$$SendDestination_Bolt12ImplCopyWith<$Res> { - __$$SendDestination_Bolt12ImplCopyWithImpl( - _$SendDestination_Bolt12Impl _value, - $Res Function(_$SendDestination_Bolt12Impl) _then, - ) : super(_value, _then); +class _$SendDestination_Bolt12CopyWithImpl<$Res> + implements $SendDestination_Bolt12CopyWith<$Res> { + _$SendDestination_Bolt12CopyWithImpl(this._self, this._then); - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @pragma('vm:prefer-inline') - @override - $Res call({Object? offer = null, Object? receiverAmountSat = null, Object? bip353Address = freezed}) { - return _then( - _$SendDestination_Bolt12Impl( - offer: - null == offer - ? _value.offer - : offer // ignore: cast_nullable_to_non_nullable - as LNOffer, - receiverAmountSat: - null == receiverAmountSat - ? _value.receiverAmountSat - : receiverAmountSat // ignore: cast_nullable_to_non_nullable - as BigInt, - bip353Address: - freezed == bip353Address - ? _value.bip353Address - : bip353Address // ignore: cast_nullable_to_non_nullable - as String?, - ), - ); - } + final SendDestination_Bolt12 _self; + final $Res Function(SendDestination_Bolt12) _then; + +/// Create a copy of SendDestination +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? offer = null,Object? receiverAmountSat = null,Object? bip353Address = freezed,}) { + return _then(SendDestination_Bolt12( +offer: null == offer ? _self.offer : offer // ignore: cast_nullable_to_non_nullable +as LNOffer,receiverAmountSat: null == receiverAmountSat ? _self.receiverAmountSat : receiverAmountSat // ignore: cast_nullable_to_non_nullable +as BigInt,bip353Address: freezed == bip353Address ? _self.bip353Address : bip353Address // ignore: cast_nullable_to_non_nullable +as String?, + )); } -/// @nodoc -class _$SendDestination_Bolt12Impl extends SendDestination_Bolt12 { - const _$SendDestination_Bolt12Impl({ - required this.offer, - required this.receiverAmountSat, - this.bip353Address, - }) : super._(); - - @override - final LNOffer offer; - @override - final BigInt receiverAmountSat; - - /// A BIP353 address, in case one was used to resolve this BOLT12 - @override - final String? bip353Address; - - @override - String toString() { - return 'SendDestination.bolt12(offer: $offer, receiverAmountSat: $receiverAmountSat, bip353Address: $bip353Address)'; - } - - @override - bool operator ==(Object other) { - return identical(this, other) || - (other.runtimeType == runtimeType && - other is _$SendDestination_Bolt12Impl && - (identical(other.offer, offer) || other.offer == offer) && - (identical(other.receiverAmountSat, receiverAmountSat) || - other.receiverAmountSat == receiverAmountSat) && - (identical(other.bip353Address, bip353Address) || other.bip353Address == bip353Address)); - } - - @override - int get hashCode => Object.hash(runtimeType, offer, receiverAmountSat, bip353Address); - - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @JsonKey(includeFromJson: false, includeToJson: false) - @override - @pragma('vm:prefer-inline') - _$$SendDestination_Bolt12ImplCopyWith<_$SendDestination_Bolt12Impl> get copyWith => - __$$SendDestination_Bolt12ImplCopyWithImpl<_$SendDestination_Bolt12Impl>(this, _$identity); } -abstract class SendDestination_Bolt12 extends SendDestination { - const factory SendDestination_Bolt12({ - required final LNOffer offer, - required final BigInt receiverAmountSat, - final String? bip353Address, - }) = _$SendDestination_Bolt12Impl; - const SendDestination_Bolt12._() : super._(); - - LNOffer get offer; - BigInt get receiverAmountSat; - - /// A BIP353 address, in case one was used to resolve this BOLT12 - @override - String? get bip353Address; - - /// Create a copy of SendDestination - /// with the given fields replaced by the non-null parameter values. - @override - @JsonKey(includeFromJson: false, includeToJson: false) - _$$SendDestination_Bolt12ImplCopyWith<_$SendDestination_Bolt12Impl> get copyWith => - throw _privateConstructorUsedError; -} +// dart format on diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index 716e5e0..7ebe6b4 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -11,19 +11,19 @@ platforms: macos: environment: - sdk: '>=3.7.0 <4.0.0' + sdk: '>=3.7.0 <4.0.0' # ffi: 2.1.4 requires Dart 3.7.0 or greater dev_dependencies: - build_runner: ^2.4.14 - ffigen: ">=8.0.0 <=17.0.0" - freezed: ^2.5.8 - lints: ">=2.0.0 <=5.1.1" + build_runner: ^2.4.15 + ffigen: ^18.0.0 + freezed: ^3.0.4 + lints: ^5.1.1 path: ^1.9.1 test: ^1.25.15 dependencies: ffi: ^2.1.4 - flutter_rust_bridge: ">=2.4.0 <=2.8.0" - freezed_annotation: ^2.4.4 + flutter_rust_bridge: ">=2.4.0 <=2.9.0" + freezed_annotation: ^3.0.0 logging: ^1.3.0 - meta: ^1.12.0 # meta is pinned to version 1.12.0 by integration_test from the flutter SDK. + meta: ^1.16.0 diff --git a/packages/flutter/lib/flutter_breez_liquid_bindings_generated.dart b/packages/flutter/lib/flutter_breez_liquid_bindings_generated.dart index cabee2d..4e88c0c 100644 --- a/packages/flutter/lib/flutter_breez_liquid_bindings_generated.dart +++ b/packages/flutter/lib/flutter_breez_liquid_bindings_generated.dart @@ -4113,6 +4113,9 @@ class FlutterBreezLiquidBindings { final class DartCObject extends ffi.Opaque {} +/// EXTRA BEGIN +typedef WireSyncRust2DartDco = ffi.Pointer; + final class WireSyncRust2DartSse extends ffi.Struct { external ffi.Pointer ptr; @@ -4120,12 +4123,12 @@ final class WireSyncRust2DartSse extends ffi.Struct { external int len; } -typedef DartPostCObjectFnType = ffi.Pointer>; +typedef DartPort = ffi.Int64; +typedef DartDartPort = int; typedef DartPostCObjectFnTypeFunction = ffi.Bool Function(DartPort port_id, ffi.Pointer message); typedef DartDartPostCObjectFnTypeFunction = bool Function( DartDartPort port_id, ffi.Pointer message); -typedef DartPort = ffi.Int64; -typedef DartDartPort = int; +typedef DartPostCObjectFnType = ffi.Pointer>; final class _Dart_Handle extends ffi.Opaque {} @@ -5701,9 +5704,6 @@ final class wire_cst_sign_message_response extends ffi.Struct { external ffi.Pointer signature; } -/// EXTRA BEGIN -typedef WireSyncRust2DartDco = ffi.Pointer; - /// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️ /// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️ final class RustBuffer extends ffi.Struct { @@ -5731,6 +5731,17 @@ final class RustCallStatus extends ffi.Struct { external RustBuffer errorBuf; } +typedef UniffiRustFutureContinuationCallbackFunction = ffi.Void Function(ffi.Uint64, ffi.Int8); +typedef DartUniffiRustFutureContinuationCallbackFunction = void Function(int, int); +typedef UniffiRustFutureContinuationCallback + = ffi.Pointer>; +typedef UniffiForeignFutureFreeFunction = ffi.Void Function(ffi.Uint64); +typedef DartUniffiForeignFutureFreeFunction = void Function(int); +typedef UniffiForeignFutureFree = ffi.Pointer>; +typedef UniffiCallbackInterfaceFreeFunction = ffi.Void Function(ffi.Uint64); +typedef DartUniffiCallbackInterfaceFreeFunction = void Function(int); +typedef UniffiCallbackInterfaceFree = ffi.Pointer>; + final class UniffiForeignFuture extends ffi.Struct { @ffi.Uint64() external int handle; @@ -5738,10 +5749,6 @@ final class UniffiForeignFuture extends ffi.Struct { external UniffiForeignFutureFree free; } -typedef UniffiForeignFutureFree = ffi.Pointer>; -typedef UniffiForeignFutureFreeFunction = ffi.Void Function(ffi.Uint64); -typedef DartUniffiForeignFutureFreeFunction = void Function(int); - final class UniffiForeignFutureStructU8 extends ffi.Struct { @ffi.Uint8() external int returnValue; @@ -5749,6 +5756,11 @@ final class UniffiForeignFutureStructU8 extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteU8Function = ffi.Void Function(ffi.Uint64, UniffiForeignFutureStructU8); +typedef DartUniffiForeignFutureCompleteU8Function = void Function(int, UniffiForeignFutureStructU8); +typedef UniffiForeignFutureCompleteU8 + = ffi.Pointer>; + final class UniffiForeignFutureStructI8 extends ffi.Struct { @ffi.Int8() external int returnValue; @@ -5756,6 +5768,11 @@ final class UniffiForeignFutureStructI8 extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteI8Function = ffi.Void Function(ffi.Uint64, UniffiForeignFutureStructI8); +typedef DartUniffiForeignFutureCompleteI8Function = void Function(int, UniffiForeignFutureStructI8); +typedef UniffiForeignFutureCompleteI8 + = ffi.Pointer>; + final class UniffiForeignFutureStructU16 extends ffi.Struct { @ffi.Uint16() external int returnValue; @@ -5763,6 +5780,11 @@ final class UniffiForeignFutureStructU16 extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteU16Function = ffi.Void Function(ffi.Uint64, UniffiForeignFutureStructU16); +typedef DartUniffiForeignFutureCompleteU16Function = void Function(int, UniffiForeignFutureStructU16); +typedef UniffiForeignFutureCompleteU16 + = ffi.Pointer>; + final class UniffiForeignFutureStructI16 extends ffi.Struct { @ffi.Int16() external int returnValue; @@ -5770,6 +5792,11 @@ final class UniffiForeignFutureStructI16 extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteI16Function = ffi.Void Function(ffi.Uint64, UniffiForeignFutureStructI16); +typedef DartUniffiForeignFutureCompleteI16Function = void Function(int, UniffiForeignFutureStructI16); +typedef UniffiForeignFutureCompleteI16 + = ffi.Pointer>; + final class UniffiForeignFutureStructU32 extends ffi.Struct { @ffi.Uint32() external int returnValue; @@ -5777,6 +5804,11 @@ final class UniffiForeignFutureStructU32 extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteU32Function = ffi.Void Function(ffi.Uint64, UniffiForeignFutureStructU32); +typedef DartUniffiForeignFutureCompleteU32Function = void Function(int, UniffiForeignFutureStructU32); +typedef UniffiForeignFutureCompleteU32 + = ffi.Pointer>; + final class UniffiForeignFutureStructI32 extends ffi.Struct { @ffi.Int32() external int returnValue; @@ -5784,6 +5816,11 @@ final class UniffiForeignFutureStructI32 extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteI32Function = ffi.Void Function(ffi.Uint64, UniffiForeignFutureStructI32); +typedef DartUniffiForeignFutureCompleteI32Function = void Function(int, UniffiForeignFutureStructI32); +typedef UniffiForeignFutureCompleteI32 + = ffi.Pointer>; + final class UniffiForeignFutureStructU64 extends ffi.Struct { @ffi.Uint64() external int returnValue; @@ -5791,6 +5828,11 @@ final class UniffiForeignFutureStructU64 extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteU64Function = ffi.Void Function(ffi.Uint64, UniffiForeignFutureStructU64); +typedef DartUniffiForeignFutureCompleteU64Function = void Function(int, UniffiForeignFutureStructU64); +typedef UniffiForeignFutureCompleteU64 + = ffi.Pointer>; + final class UniffiForeignFutureStructI64 extends ffi.Struct { @ffi.Int64() external int returnValue; @@ -5798,6 +5840,11 @@ final class UniffiForeignFutureStructI64 extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteI64Function = ffi.Void Function(ffi.Uint64, UniffiForeignFutureStructI64); +typedef DartUniffiForeignFutureCompleteI64Function = void Function(int, UniffiForeignFutureStructI64); +typedef UniffiForeignFutureCompleteI64 + = ffi.Pointer>; + final class UniffiForeignFutureStructF32 extends ffi.Struct { @ffi.Float() external double returnValue; @@ -5805,6 +5852,11 @@ final class UniffiForeignFutureStructF32 extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteF32Function = ffi.Void Function(ffi.Uint64, UniffiForeignFutureStructF32); +typedef DartUniffiForeignFutureCompleteF32Function = void Function(int, UniffiForeignFutureStructF32); +typedef UniffiForeignFutureCompleteF32 + = ffi.Pointer>; + final class UniffiForeignFutureStructF64 extends ffi.Struct { @ffi.Double() external double returnValue; @@ -5812,51 +5864,118 @@ final class UniffiForeignFutureStructF64 extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteF64Function = ffi.Void Function(ffi.Uint64, UniffiForeignFutureStructF64); +typedef DartUniffiForeignFutureCompleteF64Function = void Function(int, UniffiForeignFutureStructF64); +typedef UniffiForeignFutureCompleteF64 + = ffi.Pointer>; + final class UniffiForeignFutureStructPointer extends ffi.Struct { external ffi.Pointer returnValue; external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompletePointerFunction = ffi.Void Function( + ffi.Uint64, UniffiForeignFutureStructPointer); +typedef DartUniffiForeignFutureCompletePointerFunction = void Function(int, UniffiForeignFutureStructPointer); +typedef UniffiForeignFutureCompletePointer + = ffi.Pointer>; + final class UniffiForeignFutureStructRustBuffer extends ffi.Struct { external RustBuffer returnValue; external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteRustBufferFunction = ffi.Void Function( + ffi.Uint64, UniffiForeignFutureStructRustBuffer); +typedef DartUniffiForeignFutureCompleteRustBufferFunction = void Function( + int, UniffiForeignFutureStructRustBuffer); +typedef UniffiForeignFutureCompleteRustBuffer + = ffi.Pointer>; + final class UniffiForeignFutureStructVoid extends ffi.Struct { external RustCallStatus callStatus; } +typedef UniffiForeignFutureCompleteVoidFunction = ffi.Void Function( + ffi.Uint64, UniffiForeignFutureStructVoid); +typedef DartUniffiForeignFutureCompleteVoidFunction = void Function(int, UniffiForeignFutureStructVoid); +typedef UniffiForeignFutureCompleteVoid + = ffi.Pointer>; +typedef UniffiCallbackInterfaceEventListenerMethod0Function = ffi.Void Function( + ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef DartUniffiCallbackInterfaceEventListenerMethod0Function = void Function( + int, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef UniffiCallbackInterfaceEventListenerMethod0 + = ffi.Pointer>; +typedef UniffiCallbackInterfaceLoggerMethod0Function = ffi.Void Function( + ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef DartUniffiCallbackInterfaceLoggerMethod0Function = void Function( + int, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef UniffiCallbackInterfaceLoggerMethod0 + = ffi.Pointer>; +typedef UniffiCallbackInterfaceSignerMethod0Function = ffi.Void Function( + ffi.Uint64, ffi.Pointer, ffi.Pointer); +typedef DartUniffiCallbackInterfaceSignerMethod0Function = void Function( + int, ffi.Pointer, ffi.Pointer); +typedef UniffiCallbackInterfaceSignerMethod0 + = ffi.Pointer>; +typedef UniffiCallbackInterfaceSignerMethod1Function = ffi.Void Function( + ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef DartUniffiCallbackInterfaceSignerMethod1Function = void Function( + int, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef UniffiCallbackInterfaceSignerMethod1 + = ffi.Pointer>; +typedef UniffiCallbackInterfaceSignerMethod2Function = ffi.Void Function( + ffi.Uint64, RustBuffer, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef DartUniffiCallbackInterfaceSignerMethod2Function = void Function( + int, RustBuffer, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef UniffiCallbackInterfaceSignerMethod2 + = ffi.Pointer>; +typedef UniffiCallbackInterfaceSignerMethod3Function = ffi.Void Function( + ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef DartUniffiCallbackInterfaceSignerMethod3Function = void Function( + int, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef UniffiCallbackInterfaceSignerMethod3 + = ffi.Pointer>; +typedef UniffiCallbackInterfaceSignerMethod4Function = ffi.Void Function( + ffi.Uint64, ffi.Pointer, ffi.Pointer); +typedef DartUniffiCallbackInterfaceSignerMethod4Function = void Function( + int, ffi.Pointer, ffi.Pointer); +typedef UniffiCallbackInterfaceSignerMethod4 + = ffi.Pointer>; +typedef UniffiCallbackInterfaceSignerMethod5Function = ffi.Void Function( + ffi.Uint64, RustBuffer, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef DartUniffiCallbackInterfaceSignerMethod5Function = void Function( + int, RustBuffer, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef UniffiCallbackInterfaceSignerMethod5 + = ffi.Pointer>; +typedef UniffiCallbackInterfaceSignerMethod6Function = ffi.Void Function( + ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef DartUniffiCallbackInterfaceSignerMethod6Function = void Function( + int, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef UniffiCallbackInterfaceSignerMethod6 + = ffi.Pointer>; +typedef UniffiCallbackInterfaceSignerMethod7Function = ffi.Void Function( + ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef DartUniffiCallbackInterfaceSignerMethod7Function = void Function( + int, RustBuffer, ffi.Pointer, ffi.Pointer); +typedef UniffiCallbackInterfaceSignerMethod7 + = ffi.Pointer>; + final class UniffiVTableCallbackInterfaceEventListener extends ffi.Struct { external UniffiCallbackInterfaceEventListenerMethod0 onEvent; external UniffiCallbackInterfaceFree uniffiFree; } -typedef UniffiCallbackInterfaceEventListenerMethod0 - = ffi.Pointer>; -typedef UniffiCallbackInterfaceEventListenerMethod0Function = ffi.Void Function( - ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef DartUniffiCallbackInterfaceEventListenerMethod0Function = void Function( - int, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef UniffiCallbackInterfaceFree = ffi.Pointer>; -typedef UniffiCallbackInterfaceFreeFunction = ffi.Void Function(ffi.Uint64); -typedef DartUniffiCallbackInterfaceFreeFunction = void Function(int); - final class UniffiVTableCallbackInterfaceLogger extends ffi.Struct { external UniffiCallbackInterfaceLoggerMethod0 log; external UniffiCallbackInterfaceFree uniffiFree; } -typedef UniffiCallbackInterfaceLoggerMethod0 - = ffi.Pointer>; -typedef UniffiCallbackInterfaceLoggerMethod0Function = ffi.Void Function( - ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef DartUniffiCallbackInterfaceLoggerMethod0Function = void Function( - int, RustBuffer, ffi.Pointer, ffi.Pointer); - final class UniffiVTableCallbackInterfaceSigner extends ffi.Struct { external UniffiCallbackInterfaceSignerMethod0 xpub; @@ -5877,59 +5996,6 @@ final class UniffiVTableCallbackInterfaceSigner extends ffi.Struct { external UniffiCallbackInterfaceFree uniffiFree; } -typedef UniffiCallbackInterfaceSignerMethod0 - = ffi.Pointer>; -typedef UniffiCallbackInterfaceSignerMethod0Function = ffi.Void Function( - ffi.Uint64, ffi.Pointer, ffi.Pointer); -typedef DartUniffiCallbackInterfaceSignerMethod0Function = void Function( - int, ffi.Pointer, ffi.Pointer); -typedef UniffiCallbackInterfaceSignerMethod1 - = ffi.Pointer>; -typedef UniffiCallbackInterfaceSignerMethod1Function = ffi.Void Function( - ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef DartUniffiCallbackInterfaceSignerMethod1Function = void Function( - int, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef UniffiCallbackInterfaceSignerMethod2 - = ffi.Pointer>; -typedef UniffiCallbackInterfaceSignerMethod2Function = ffi.Void Function( - ffi.Uint64, RustBuffer, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef DartUniffiCallbackInterfaceSignerMethod2Function = void Function( - int, RustBuffer, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef UniffiCallbackInterfaceSignerMethod3 - = ffi.Pointer>; -typedef UniffiCallbackInterfaceSignerMethod3Function = ffi.Void Function( - ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef DartUniffiCallbackInterfaceSignerMethod3Function = void Function( - int, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef UniffiCallbackInterfaceSignerMethod4 - = ffi.Pointer>; -typedef UniffiCallbackInterfaceSignerMethod4Function = ffi.Void Function( - ffi.Uint64, ffi.Pointer, ffi.Pointer); -typedef DartUniffiCallbackInterfaceSignerMethod4Function = void Function( - int, ffi.Pointer, ffi.Pointer); -typedef UniffiCallbackInterfaceSignerMethod5 - = ffi.Pointer>; -typedef UniffiCallbackInterfaceSignerMethod5Function = ffi.Void Function( - ffi.Uint64, RustBuffer, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef DartUniffiCallbackInterfaceSignerMethod5Function = void Function( - int, RustBuffer, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef UniffiCallbackInterfaceSignerMethod6 - = ffi.Pointer>; -typedef UniffiCallbackInterfaceSignerMethod6Function = ffi.Void Function( - ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef DartUniffiCallbackInterfaceSignerMethod6Function = void Function( - int, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef UniffiCallbackInterfaceSignerMethod7 - = ffi.Pointer>; -typedef UniffiCallbackInterfaceSignerMethod7Function = ffi.Void Function( - ffi.Uint64, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef DartUniffiCallbackInterfaceSignerMethod7Function = void Function( - int, RustBuffer, ffi.Pointer, ffi.Pointer); -typedef UniffiRustFutureContinuationCallback - = ffi.Pointer>; -typedef UniffiRustFutureContinuationCallbackFunction = ffi.Void Function(ffi.Uint64, ffi.Int8); -typedef DartUniffiRustFutureContinuationCallbackFunction = void Function(int, int); - const int ESTIMATED_BTC_CLAIM_TX_VSIZE = 111; const int ESTIMATED_BTC_LOCKUP_TX_VSIZE = 154; diff --git a/packages/flutter/pubspec.yaml b/packages/flutter/pubspec.yaml index 19a00fb..68b65ab 100644 --- a/packages/flutter/pubspec.yaml +++ b/packages/flutter/pubspec.yaml @@ -6,8 +6,8 @@ repository: https://github.com/breez/breez-sdk-liquid-flutter publish_to: 'none' environment: - sdk: '>=3.4.0 <4.0.0' - flutter: ">=3.24.0" + sdk: '>=3.6.0 <4.0.0' + flutter: ">=3.27.0" dependencies: flutter: @@ -15,7 +15,7 @@ dependencies: breez_liquid: git: url: https://github.com/breez/breez-sdk-liquid-dart - ffigen: ">=8.0.0 <=11.0.0" + ffigen: ^18.0.0 dev_dependencies: flutter_test: @@ -24,23 +24,7 @@ dev_dependencies: sdk: flutter flutter_lints: ^5.0.0 -# For information on the generic Dart part of this file, see the -# following page: https://dart.dev/tools/pub/pubspec - -# The following section is specific to Flutter packages. flutter: - # This section identifies this Flutter project as a plugin project. - # The 'pluginClass' specifies the class (in Java, Kotlin, Swift, Objective-C, etc.) - # which should be registered in the plugin registry. This is required for - # using method channels. - # The Android 'package' specifies package in which the registered class is. - # This is required for using method channels on Android. - # The 'ffiPlugin' specifies that native code should be built and bundled. - # This is required for using `dart:ffi`. - # All these are used by the tooling to maintain consistency when - # adding or updating assets for this project. - # - # Please refer to README.md for a detailed explanation. plugin: platforms: android: @@ -51,35 +35,4 @@ flutter: pluginClass: BreezSDKLiquidPlugin ffiPlugin: true macos: - ffiPlugin: true - - # To add assets to your plugin package, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg - # - images/a_dot_ham.jpeg - # - # For details regarding assets in packages, see - # https://flutter.dev/assets-and-images/#from-packages - # - # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/assets-and-images/#resolution-aware - - # To add custom fonts to your plugin package, add a fonts section here, - # in this "flutter" section. Each entry in this list should have a - # "family" key with the font family name, and a "fonts" key with a - # list giving the asset and other descriptors for the font. For - # example: - # fonts: - # - family: Schyler - # fonts: - # - asset: fonts/Schyler-Regular.ttf - # - asset: fonts/Schyler-Italic.ttf - # style: italic - # - family: Trajan Pro - # fonts: - # - asset: fonts/TrajanPro.ttf - # - asset: fonts/TrajanPro_Bold.ttf - # weight: 700 - # - # For details regarding fonts in packages, see - # https://flutter.dev/custom-fonts/#from-packages + ffiPlugin: true \ No newline at end of file