mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-20 23:44:26 +01:00
Move dart & flutter packages to packages folder on root
This commit is contained in:
608
packages/dart/lib/src/error.freezed.dart
Normal file
608
packages/dart/lib/src/error.freezed.dart
Normal file
@@ -0,0 +1,608 @@
|
||||
// coverage:ignore-file
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// ignore_for_file: type=lint
|
||||
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
|
||||
|
||||
part of 'error.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// FreezedGenerator
|
||||
// **************************************************************************
|
||||
|
||||
T _$identity<T>(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 _$PaymentError {}
|
||||
|
||||
/// @nodoc
|
||||
abstract class $PaymentErrorCopyWith<$Res> {
|
||||
factory $PaymentErrorCopyWith(
|
||||
PaymentError value, $Res Function(PaymentError) then) =
|
||||
_$PaymentErrorCopyWithImpl<$Res, 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;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$PaymentError_AmountOutOfRangeImplCopyWith<$Res> {
|
||||
factory _$$PaymentError_AmountOutOfRangeImplCopyWith(
|
||||
_$PaymentError_AmountOutOfRangeImpl value,
|
||||
$Res Function(_$PaymentError_AmountOutOfRangeImpl) then) =
|
||||
__$$PaymentError_AmountOutOfRangeImplCopyWithImpl<$Res>;
|
||||
}
|
||||
|
||||
/// @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);
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$PaymentError_AmountOutOfRangeImpl
|
||||
extends PaymentError_AmountOutOfRange {
|
||||
const _$PaymentError_AmountOutOfRangeImpl() : super._();
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentError.amountOutOfRange()';
|
||||
}
|
||||
|
||||
@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._();
|
||||
}
|
||||
|
||||
/// @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);
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$PaymentError_AlreadyClaimedImpl extends PaymentError_AlreadyClaimed {
|
||||
const _$PaymentError_AlreadyClaimedImpl() : super._();
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentError.alreadyClaimed()';
|
||||
}
|
||||
|
||||
@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._();
|
||||
}
|
||||
|
||||
/// @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);
|
||||
|
||||
@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,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$PaymentError_GenericImpl extends PaymentError_Generic {
|
||||
const _$PaymentError_GenericImpl({required this.err}) : super._();
|
||||
|
||||
@override
|
||||
final String err;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentError.generic(err: $err)';
|
||||
}
|
||||
|
||||
@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);
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$PaymentError_GenericImplCopyWith<_$PaymentError_GenericImpl>
|
||||
get copyWith =>
|
||||
__$$PaymentError_GenericImplCopyWithImpl<_$PaymentError_GenericImpl>(
|
||||
this, _$identity);
|
||||
}
|
||||
|
||||
abstract class PaymentError_Generic extends PaymentError {
|
||||
const factory PaymentError_Generic({required final String err}) =
|
||||
_$PaymentError_GenericImpl;
|
||||
const PaymentError_Generic._() : super._();
|
||||
|
||||
String get err;
|
||||
@JsonKey(ignore: true)
|
||||
_$$PaymentError_GenericImplCopyWith<_$PaymentError_GenericImpl>
|
||||
get copyWith => throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$PaymentError_InvalidInvoiceImplCopyWith<$Res> {
|
||||
factory _$$PaymentError_InvalidInvoiceImplCopyWith(
|
||||
_$PaymentError_InvalidInvoiceImpl value,
|
||||
$Res Function(_$PaymentError_InvalidInvoiceImpl) then) =
|
||||
__$$PaymentError_InvalidInvoiceImplCopyWithImpl<$Res>;
|
||||
}
|
||||
|
||||
/// @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);
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$PaymentError_InvalidInvoiceImpl extends PaymentError_InvalidInvoice {
|
||||
const _$PaymentError_InvalidInvoiceImpl() : super._();
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentError.invalidInvoice()';
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$PaymentError_InvalidInvoiceImpl);
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => runtimeType.hashCode;
|
||||
}
|
||||
|
||||
abstract class PaymentError_InvalidInvoice extends PaymentError {
|
||||
const factory PaymentError_InvalidInvoice() =
|
||||
_$PaymentError_InvalidInvoiceImpl;
|
||||
const PaymentError_InvalidInvoice._() : super._();
|
||||
}
|
||||
|
||||
/// @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);
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$PaymentError_InvalidPreimageImpl extends PaymentError_InvalidPreimage {
|
||||
const _$PaymentError_InvalidPreimageImpl() : super._();
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentError.invalidPreimage()';
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$PaymentError_InvalidPreimageImpl);
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => runtimeType.hashCode;
|
||||
}
|
||||
|
||||
abstract class PaymentError_InvalidPreimage extends PaymentError {
|
||||
const factory PaymentError_InvalidPreimage() =
|
||||
_$PaymentError_InvalidPreimageImpl;
|
||||
const PaymentError_InvalidPreimage._() : super._();
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$PaymentError_LwkErrorImplCopyWith<$Res> {
|
||||
factory _$$PaymentError_LwkErrorImplCopyWith(
|
||||
_$PaymentError_LwkErrorImpl value,
|
||||
$Res Function(_$PaymentError_LwkErrorImpl) then) =
|
||||
__$$PaymentError_LwkErrorImplCopyWithImpl<$Res>;
|
||||
@useResult
|
||||
$Res call({String err});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$$PaymentError_LwkErrorImplCopyWithImpl<$Res>
|
||||
extends _$PaymentErrorCopyWithImpl<$Res, _$PaymentError_LwkErrorImpl>
|
||||
implements _$$PaymentError_LwkErrorImplCopyWith<$Res> {
|
||||
__$$PaymentError_LwkErrorImplCopyWithImpl(_$PaymentError_LwkErrorImpl _value,
|
||||
$Res Function(_$PaymentError_LwkErrorImpl) _then)
|
||||
: super(_value, _then);
|
||||
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? err = null,
|
||||
}) {
|
||||
return _then(_$PaymentError_LwkErrorImpl(
|
||||
err: null == err
|
||||
? _value.err
|
||||
: err // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$PaymentError_LwkErrorImpl extends PaymentError_LwkError {
|
||||
const _$PaymentError_LwkErrorImpl({required this.err}) : super._();
|
||||
|
||||
@override
|
||||
final String err;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentError.lwkError(err: $err)';
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$PaymentError_LwkErrorImpl &&
|
||||
(identical(other.err, err) || other.err == err));
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType, err);
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$PaymentError_LwkErrorImplCopyWith<_$PaymentError_LwkErrorImpl>
|
||||
get copyWith => __$$PaymentError_LwkErrorImplCopyWithImpl<
|
||||
_$PaymentError_LwkErrorImpl>(this, _$identity);
|
||||
}
|
||||
|
||||
abstract class PaymentError_LwkError extends PaymentError {
|
||||
const factory PaymentError_LwkError({required final String err}) =
|
||||
_$PaymentError_LwkErrorImpl;
|
||||
const PaymentError_LwkError._() : super._();
|
||||
|
||||
String get err;
|
||||
@JsonKey(ignore: true)
|
||||
_$$PaymentError_LwkErrorImplCopyWith<_$PaymentError_LwkErrorImpl>
|
||||
get copyWith => throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$PaymentError_PairsNotFoundImplCopyWith<$Res> {
|
||||
factory _$$PaymentError_PairsNotFoundImplCopyWith(
|
||||
_$PaymentError_PairsNotFoundImpl value,
|
||||
$Res Function(_$PaymentError_PairsNotFoundImpl) then) =
|
||||
__$$PaymentError_PairsNotFoundImplCopyWithImpl<$Res>;
|
||||
}
|
||||
|
||||
/// @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);
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$PaymentError_PairsNotFoundImpl extends PaymentError_PairsNotFound {
|
||||
const _$PaymentError_PairsNotFoundImpl() : super._();
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentError.pairsNotFound()';
|
||||
}
|
||||
|
||||
@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._();
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$PaymentError_PersistErrorImplCopyWith<$Res> {
|
||||
factory _$$PaymentError_PersistErrorImplCopyWith(
|
||||
_$PaymentError_PersistErrorImpl value,
|
||||
$Res Function(_$PaymentError_PersistErrorImpl) then) =
|
||||
__$$PaymentError_PersistErrorImplCopyWithImpl<$Res>;
|
||||
}
|
||||
|
||||
/// @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);
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$PaymentError_PersistErrorImpl extends PaymentError_PersistError {
|
||||
const _$PaymentError_PersistErrorImpl() : super._();
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentError.persistError()';
|
||||
}
|
||||
|
||||
@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._();
|
||||
}
|
||||
|
||||
/// @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});
|
||||
}
|
||||
|
||||
/// @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);
|
||||
|
||||
@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,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$PaymentError_SendErrorImpl extends PaymentError_SendError {
|
||||
const _$PaymentError_SendErrorImpl({required this.err}) : super._();
|
||||
|
||||
@override
|
||||
final String err;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentError.sendError(err: $err)';
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$PaymentError_SendErrorImpl &&
|
||||
(identical(other.err, err) || other.err == err));
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType, err);
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$PaymentError_SendErrorImplCopyWith<_$PaymentError_SendErrorImpl>
|
||||
get copyWith => __$$PaymentError_SendErrorImplCopyWithImpl<
|
||||
_$PaymentError_SendErrorImpl>(this, _$identity);
|
||||
}
|
||||
|
||||
abstract class PaymentError_SendError extends PaymentError {
|
||||
const factory PaymentError_SendError({required final String err}) =
|
||||
_$PaymentError_SendErrorImpl;
|
||||
const PaymentError_SendError._() : super._();
|
||||
|
||||
String get err;
|
||||
@JsonKey(ignore: true)
|
||||
_$$PaymentError_SendErrorImplCopyWith<_$PaymentError_SendErrorImpl>
|
||||
get copyWith => throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @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);
|
||||
|
||||
@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,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$PaymentError_SignerErrorImpl extends PaymentError_SignerError {
|
||||
const _$PaymentError_SignerErrorImpl({required this.err}) : super._();
|
||||
|
||||
@override
|
||||
final String err;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'PaymentError.signerError(err: $err)';
|
||||
}
|
||||
|
||||
@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);
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$PaymentError_SignerErrorImplCopyWith<_$PaymentError_SignerErrorImpl>
|
||||
get copyWith => __$$PaymentError_SignerErrorImplCopyWithImpl<
|
||||
_$PaymentError_SignerErrorImpl>(this, _$identity);
|
||||
}
|
||||
|
||||
abstract class PaymentError_SignerError extends PaymentError {
|
||||
const factory PaymentError_SignerError({required final String err}) =
|
||||
_$PaymentError_SignerErrorImpl;
|
||||
const PaymentError_SignerError._() : super._();
|
||||
|
||||
String get err;
|
||||
@JsonKey(ignore: true)
|
||||
_$$PaymentError_SignerErrorImplCopyWith<_$PaymentError_SignerErrorImpl>
|
||||
get copyWith => throw _privateConstructorUsedError;
|
||||
}
|
||||
Reference in New Issue
Block a user