mirrored_repositories/espresso-cash-public/packages/espressocash_api/lib/src
// 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 'dln_payment.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#custom-getters-and-methods');

PaymentQuoteRequestDto _$PaymentQuoteRequestDtoFromJson(
    Map<String, dynamic> json) {
  return _PaymentQuoteRequestDto.fromJson(json);
}

/// @nodoc
mixin _$PaymentQuoteRequestDto {
  int get amount => throw _privateConstructorUsedError;
  String get receiverAddress => throw _privateConstructorUsedError;
  String get receiverBlockchain => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $PaymentQuoteRequestDtoCopyWith<PaymentQuoteRequestDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $PaymentQuoteRequestDtoCopyWith<$Res> {
  factory $PaymentQuoteRequestDtoCopyWith(PaymentQuoteRequestDto value,
          $Res Function(PaymentQuoteRequestDto) then) =
      _$PaymentQuoteRequestDtoCopyWithImpl<$Res, PaymentQuoteRequestDto>;
  @useResult
  $Res call({int amount, String receiverAddress, String receiverBlockchain});
}

/// @nodoc
class _$PaymentQuoteRequestDtoCopyWithImpl<$Res,
        $Val extends PaymentQuoteRequestDto>
    implements $PaymentQuoteRequestDtoCopyWith<$Res> {
  _$PaymentQuoteRequestDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? amount = null,
    Object? receiverAddress = null,
    Object? receiverBlockchain = null,
  }) {
    return _then(_value.copyWith(
      amount: null == amount
          ? _value.amount
          : amount // ignore: cast_nullable_to_non_nullable
              as int,
      receiverAddress: null == receiverAddress
          ? _value.receiverAddress
          : receiverAddress // ignore: cast_nullable_to_non_nullable
              as String,
      receiverBlockchain: null == receiverBlockchain
          ? _value.receiverBlockchain
          : receiverBlockchain // ignore: cast_nullable_to_non_nullable
              as String,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$PaymentQuoteRequestDtoImplCopyWith<$Res>
    implements $PaymentQuoteRequestDtoCopyWith<$Res> {
  factory _$$PaymentQuoteRequestDtoImplCopyWith(
          _$PaymentQuoteRequestDtoImpl value,
          $Res Function(_$PaymentQuoteRequestDtoImpl) then) =
      __$$PaymentQuoteRequestDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({int amount, String receiverAddress, String receiverBlockchain});
}

/// @nodoc
class __$$PaymentQuoteRequestDtoImplCopyWithImpl<$Res>
    extends _$PaymentQuoteRequestDtoCopyWithImpl<$Res,
        _$PaymentQuoteRequestDtoImpl>
    implements _$$PaymentQuoteRequestDtoImplCopyWith<$Res> {
  __$$PaymentQuoteRequestDtoImplCopyWithImpl(
      _$PaymentQuoteRequestDtoImpl _value,
      $Res Function(_$PaymentQuoteRequestDtoImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? amount = null,
    Object? receiverAddress = null,
    Object? receiverBlockchain = null,
  }) {
    return _then(_$PaymentQuoteRequestDtoImpl(
      amount: null == amount
          ? _value.amount
          : amount // ignore: cast_nullable_to_non_nullable
              as int,
      receiverAddress: null == receiverAddress
          ? _value.receiverAddress
          : receiverAddress // ignore: cast_nullable_to_non_nullable
              as String,
      receiverBlockchain: null == receiverBlockchain
          ? _value.receiverBlockchain
          : receiverBlockchain // ignore: cast_nullable_to_non_nullable
              as String,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$PaymentQuoteRequestDtoImpl implements _PaymentQuoteRequestDto {
  const _$PaymentQuoteRequestDtoImpl(
      {required this.amount,
      required this.receiverAddress,
      required this.receiverBlockchain});

  factory _$PaymentQuoteRequestDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$PaymentQuoteRequestDtoImplFromJson(json);

  @override
  final int amount;
  @override
  final String receiverAddress;
  @override
  final String receiverBlockchain;

  @override
  String toString() {
    return 'PaymentQuoteRequestDto(amount: $amount, receiverAddress: $receiverAddress, receiverBlockchain: $receiverBlockchain)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$PaymentQuoteRequestDtoImpl &&
            (identical(other.amount, amount) || other.amount == amount) &&
            (identical(other.receiverAddress, receiverAddress) ||
                other.receiverAddress == receiverAddress) &&
            (identical(other.receiverBlockchain, receiverBlockchain) ||
                other.receiverBlockchain == receiverBlockchain));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode =>
      Object.hash(runtimeType, amount, receiverAddress, receiverBlockchain);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$PaymentQuoteRequestDtoImplCopyWith<_$PaymentQuoteRequestDtoImpl>
      get copyWith => __$$PaymentQuoteRequestDtoImplCopyWithImpl<
          _$PaymentQuoteRequestDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$PaymentQuoteRequestDtoImplToJson(
      this,
    );
  }
}

abstract class _PaymentQuoteRequestDto implements PaymentQuoteRequestDto {
  const factory _PaymentQuoteRequestDto(
      {required final int amount,
      required final String receiverAddress,
      required final String receiverBlockchain}) = _$PaymentQuoteRequestDtoImpl;

  factory _PaymentQuoteRequestDto.fromJson(Map<String, dynamic> json) =
      _$PaymentQuoteRequestDtoImpl.fromJson;

  @override
  int get amount;
  @override
  String get receiverAddress;
  @override
  String get receiverBlockchain;
  @override
  @JsonKey(ignore: true)
  _$$PaymentQuoteRequestDtoImplCopyWith<_$PaymentQuoteRequestDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

PaymentQuoteResponseDto _$PaymentQuoteResponseDtoFromJson(
    Map<String, dynamic> json) {
  return _PaymentQuoteResponseDto.fromJson(json);
}

/// @nodoc
mixin _$PaymentQuoteResponseDto {
  int get inputAmount => throw _privateConstructorUsedError;
  int get receiverAmount => throw _privateConstructorUsedError;
  String get encodedTx => throw _privateConstructorUsedError;
  int get feeInUsdc => throw _privateConstructorUsedError;
  BigInt get slot => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $PaymentQuoteResponseDtoCopyWith<PaymentQuoteResponseDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $PaymentQuoteResponseDtoCopyWith<$Res> {
  factory $PaymentQuoteResponseDtoCopyWith(PaymentQuoteResponseDto value,
          $Res Function(PaymentQuoteResponseDto) then) =
      _$PaymentQuoteResponseDtoCopyWithImpl<$Res, PaymentQuoteResponseDto>;
  @useResult
  $Res call(
      {int inputAmount,
      int receiverAmount,
      String encodedTx,
      int feeInUsdc,
      BigInt slot});
}

/// @nodoc
class _$PaymentQuoteResponseDtoCopyWithImpl<$Res,
        $Val extends PaymentQuoteResponseDto>
    implements $PaymentQuoteResponseDtoCopyWith<$Res> {
  _$PaymentQuoteResponseDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? inputAmount = null,
    Object? receiverAmount = null,
    Object? encodedTx = null,
    Object? feeInUsdc = null,
    Object? slot = null,
  }) {
    return _then(_value.copyWith(
      inputAmount: null == inputAmount
          ? _value.inputAmount
          : inputAmount // ignore: cast_nullable_to_non_nullable
              as int,
      receiverAmount: null == receiverAmount
          ? _value.receiverAmount
          : receiverAmount // ignore: cast_nullable_to_non_nullable
              as int,
      encodedTx: null == encodedTx
          ? _value.encodedTx
          : encodedTx // ignore: cast_nullable_to_non_nullable
              as String,
      feeInUsdc: null == feeInUsdc
          ? _value.feeInUsdc
          : feeInUsdc // ignore: cast_nullable_to_non_nullable
              as int,
      slot: null == slot
          ? _value.slot
          : slot // ignore: cast_nullable_to_non_nullable
              as BigInt,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$PaymentQuoteResponseDtoImplCopyWith<$Res>
    implements $PaymentQuoteResponseDtoCopyWith<$Res> {
  factory _$$PaymentQuoteResponseDtoImplCopyWith(
          _$PaymentQuoteResponseDtoImpl value,
          $Res Function(_$PaymentQuoteResponseDtoImpl) then) =
      __$$PaymentQuoteResponseDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {int inputAmount,
      int receiverAmount,
      String encodedTx,
      int feeInUsdc,
      BigInt slot});
}

/// @nodoc
class __$$PaymentQuoteResponseDtoImplCopyWithImpl<$Res>
    extends _$PaymentQuoteResponseDtoCopyWithImpl<$Res,
        _$PaymentQuoteResponseDtoImpl>
    implements _$$PaymentQuoteResponseDtoImplCopyWith<$Res> {
  __$$PaymentQuoteResponseDtoImplCopyWithImpl(
      _$PaymentQuoteResponseDtoImpl _value,
      $Res Function(_$PaymentQuoteResponseDtoImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? inputAmount = null,
    Object? receiverAmount = null,
    Object? encodedTx = null,
    Object? feeInUsdc = null,
    Object? slot = null,
  }) {
    return _then(_$PaymentQuoteResponseDtoImpl(
      inputAmount: null == inputAmount
          ? _value.inputAmount
          : inputAmount // ignore: cast_nullable_to_non_nullable
              as int,
      receiverAmount: null == receiverAmount
          ? _value.receiverAmount
          : receiverAmount // ignore: cast_nullable_to_non_nullable
              as int,
      encodedTx: null == encodedTx
          ? _value.encodedTx
          : encodedTx // ignore: cast_nullable_to_non_nullable
              as String,
      feeInUsdc: null == feeInUsdc
          ? _value.feeInUsdc
          : feeInUsdc // ignore: cast_nullable_to_non_nullable
              as int,
      slot: null == slot
          ? _value.slot
          : slot // ignore: cast_nullable_to_non_nullable
              as BigInt,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$PaymentQuoteResponseDtoImpl implements _PaymentQuoteResponseDto {
  const _$PaymentQuoteResponseDtoImpl(
      {required this.inputAmount,
      required this.receiverAmount,
      required this.encodedTx,
      required this.feeInUsdc,
      required this.slot});

  factory _$PaymentQuoteResponseDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$PaymentQuoteResponseDtoImplFromJson(json);

  @override
  final int inputAmount;
  @override
  final int receiverAmount;
  @override
  final String encodedTx;
  @override
  final int feeInUsdc;
  @override
  final BigInt slot;

  @override
  String toString() {
    return 'PaymentQuoteResponseDto(inputAmount: $inputAmount, receiverAmount: $receiverAmount, encodedTx: $encodedTx, feeInUsdc: $feeInUsdc, slot: $slot)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$PaymentQuoteResponseDtoImpl &&
            (identical(other.inputAmount, inputAmount) ||
                other.inputAmount == inputAmount) &&
            (identical(other.receiverAmount, receiverAmount) ||
                other.receiverAmount == receiverAmount) &&
            (identical(other.encodedTx, encodedTx) ||
                other.encodedTx == encodedTx) &&
            (identical(other.feeInUsdc, feeInUsdc) ||
                other.feeInUsdc == feeInUsdc) &&
            (identical(other.slot, slot) || other.slot == slot));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hash(
      runtimeType, inputAmount, receiverAmount, encodedTx, feeInUsdc, slot);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$PaymentQuoteResponseDtoImplCopyWith<_$PaymentQuoteResponseDtoImpl>
      get copyWith => __$$PaymentQuoteResponseDtoImplCopyWithImpl<
          _$PaymentQuoteResponseDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$PaymentQuoteResponseDtoImplToJson(
      this,
    );
  }
}

abstract class _PaymentQuoteResponseDto implements PaymentQuoteResponseDto {
  const factory _PaymentQuoteResponseDto(
      {required final int inputAmount,
      required final int receiverAmount,
      required final String encodedTx,
      required final int feeInUsdc,
      required final BigInt slot}) = _$PaymentQuoteResponseDtoImpl;

  factory _PaymentQuoteResponseDto.fromJson(Map<String, dynamic> json) =
      _$PaymentQuoteResponseDtoImpl.fromJson;

  @override
  int get inputAmount;
  @override
  int get receiverAmount;
  @override
  String get encodedTx;
  @override
  int get feeInUsdc;
  @override
  BigInt get slot;
  @override
  @JsonKey(ignore: true)
  _$$PaymentQuoteResponseDtoImplCopyWith<_$PaymentQuoteResponseDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

OrderStatusDlnRequestDto _$OrderStatusDlnRequestDtoFromJson(
    Map<String, dynamic> json) {
  return _OrderStatusDlnRequestDto.fromJson(json);
}

/// @nodoc
mixin _$OrderStatusDlnRequestDto {
  String get orderId => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $OrderStatusDlnRequestDtoCopyWith<OrderStatusDlnRequestDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $OrderStatusDlnRequestDtoCopyWith<$Res> {
  factory $OrderStatusDlnRequestDtoCopyWith(OrderStatusDlnRequestDto value,
          $Res Function(OrderStatusDlnRequestDto) then) =
      _$OrderStatusDlnRequestDtoCopyWithImpl<$Res, OrderStatusDlnRequestDto>;
  @useResult
  $Res call({String orderId});
}

/// @nodoc
class _$OrderStatusDlnRequestDtoCopyWithImpl<$Res,
        $Val extends OrderStatusDlnRequestDto>
    implements $OrderStatusDlnRequestDtoCopyWith<$Res> {
  _$OrderStatusDlnRequestDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? orderId = null,
  }) {
    return _then(_value.copyWith(
      orderId: null == orderId
          ? _value.orderId
          : orderId // ignore: cast_nullable_to_non_nullable
              as String,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$OrderStatusDlnRequestDtoImplCopyWith<$Res>
    implements $OrderStatusDlnRequestDtoCopyWith<$Res> {
  factory _$$OrderStatusDlnRequestDtoImplCopyWith(
          _$OrderStatusDlnRequestDtoImpl value,
          $Res Function(_$OrderStatusDlnRequestDtoImpl) then) =
      __$$OrderStatusDlnRequestDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({String orderId});
}

/// @nodoc
class __$$OrderStatusDlnRequestDtoImplCopyWithImpl<$Res>
    extends _$OrderStatusDlnRequestDtoCopyWithImpl<$Res,
        _$OrderStatusDlnRequestDtoImpl>
    implements _$$OrderStatusDlnRequestDtoImplCopyWith<$Res> {
  __$$OrderStatusDlnRequestDtoImplCopyWithImpl(
      _$OrderStatusDlnRequestDtoImpl _value,
      $Res Function(_$OrderStatusDlnRequestDtoImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? orderId = null,
  }) {
    return _then(_$OrderStatusDlnRequestDtoImpl(
      orderId: null == orderId
          ? _value.orderId
          : orderId // ignore: cast_nullable_to_non_nullable
              as String,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$OrderStatusDlnRequestDtoImpl implements _OrderStatusDlnRequestDto {
  const _$OrderStatusDlnRequestDtoImpl({required this.orderId});

  factory _$OrderStatusDlnRequestDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$OrderStatusDlnRequestDtoImplFromJson(json);

  @override
  final String orderId;

  @override
  String toString() {
    return 'OrderStatusDlnRequestDto(orderId: $orderId)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$OrderStatusDlnRequestDtoImpl &&
            (identical(other.orderId, orderId) || other.orderId == orderId));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hash(runtimeType, orderId);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$OrderStatusDlnRequestDtoImplCopyWith<_$OrderStatusDlnRequestDtoImpl>
      get copyWith => __$$OrderStatusDlnRequestDtoImplCopyWithImpl<
          _$OrderStatusDlnRequestDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$OrderStatusDlnRequestDtoImplToJson(
      this,
    );
  }
}

abstract class _OrderStatusDlnRequestDto implements OrderStatusDlnRequestDto {
  const factory _OrderStatusDlnRequestDto({required final String orderId}) =
      _$OrderStatusDlnRequestDtoImpl;

  factory _OrderStatusDlnRequestDto.fromJson(Map<String, dynamic> json) =
      _$OrderStatusDlnRequestDtoImpl.fromJson;

  @override
  String get orderId;
  @override
  @JsonKey(ignore: true)
  _$$OrderStatusDlnRequestDtoImplCopyWith<_$OrderStatusDlnRequestDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

OrderStatusDlnResponseDto _$OrderStatusDlnResponseDtoFromJson(
    Map<String, dynamic> json) {
  return _OrderStatusDlnResponseDto.fromJson(json);
}

/// @nodoc
mixin _$OrderStatusDlnResponseDto {
  DlnOrderStatus get status => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $OrderStatusDlnResponseDtoCopyWith<OrderStatusDlnResponseDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $OrderStatusDlnResponseDtoCopyWith<$Res> {
  factory $OrderStatusDlnResponseDtoCopyWith(OrderStatusDlnResponseDto value,
          $Res Function(OrderStatusDlnResponseDto) then) =
      _$OrderStatusDlnResponseDtoCopyWithImpl<$Res, OrderStatusDlnResponseDto>;
  @useResult
  $Res call({DlnOrderStatus status});
}

/// @nodoc
class _$OrderStatusDlnResponseDtoCopyWithImpl<$Res,
        $Val extends OrderStatusDlnResponseDto>
    implements $OrderStatusDlnResponseDtoCopyWith<$Res> {
  _$OrderStatusDlnResponseDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? status = null,
  }) {
    return _then(_value.copyWith(
      status: null == status
          ? _value.status
          : status // ignore: cast_nullable_to_non_nullable
              as DlnOrderStatus,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$OrderStatusDlnResponseDtoImplCopyWith<$Res>
    implements $OrderStatusDlnResponseDtoCopyWith<$Res> {
  factory _$$OrderStatusDlnResponseDtoImplCopyWith(
          _$OrderStatusDlnResponseDtoImpl value,
          $Res Function(_$OrderStatusDlnResponseDtoImpl) then) =
      __$$OrderStatusDlnResponseDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({DlnOrderStatus status});
}

/// @nodoc
class __$$OrderStatusDlnResponseDtoImplCopyWithImpl<$Res>
    extends _$OrderStatusDlnResponseDtoCopyWithImpl<$Res,
        _$OrderStatusDlnResponseDtoImpl>
    implements _$$OrderStatusDlnResponseDtoImplCopyWith<$Res> {
  __$$OrderStatusDlnResponseDtoImplCopyWithImpl(
      _$OrderStatusDlnResponseDtoImpl _value,
      $Res Function(_$OrderStatusDlnResponseDtoImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? status = null,
  }) {
    return _then(_$OrderStatusDlnResponseDtoImpl(
      status: null == status
          ? _value.status
          : status // ignore: cast_nullable_to_non_nullable
              as DlnOrderStatus,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$OrderStatusDlnResponseDtoImpl implements _OrderStatusDlnResponseDto {
  const _$OrderStatusDlnResponseDtoImpl({required this.status});

  factory _$OrderStatusDlnResponseDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$OrderStatusDlnResponseDtoImplFromJson(json);

  @override
  final DlnOrderStatus status;

  @override
  String toString() {
    return 'OrderStatusDlnResponseDto(status: $status)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$OrderStatusDlnResponseDtoImpl &&
            (identical(other.status, status) || other.status == status));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hash(runtimeType, status);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$OrderStatusDlnResponseDtoImplCopyWith<_$OrderStatusDlnResponseDtoImpl>
      get copyWith => __$$OrderStatusDlnResponseDtoImplCopyWithImpl<
          _$OrderStatusDlnResponseDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$OrderStatusDlnResponseDtoImplToJson(
      this,
    );
  }
}

abstract class _OrderStatusDlnResponseDto implements OrderStatusDlnResponseDto {
  const factory _OrderStatusDlnResponseDto(
      {required final DlnOrderStatus status}) = _$OrderStatusDlnResponseDtoImpl;

  factory _OrderStatusDlnResponseDto.fromJson(Map<String, dynamic> json) =
      _$OrderStatusDlnResponseDtoImpl.fromJson;

  @override
  DlnOrderStatus get status;
  @override
  @JsonKey(ignore: true)
  _$$OrderStatusDlnResponseDtoImplCopyWith<_$OrderStatusDlnResponseDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

OrderIdDlnRequestDto _$OrderIdDlnRequestDtoFromJson(Map<String, dynamic> json) {
  return _OrderIdDlnRequestDto.fromJson(json);
}

/// @nodoc
mixin _$OrderIdDlnRequestDto {
  String get txId => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $OrderIdDlnRequestDtoCopyWith<OrderIdDlnRequestDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $OrderIdDlnRequestDtoCopyWith<$Res> {
  factory $OrderIdDlnRequestDtoCopyWith(OrderIdDlnRequestDto value,
          $Res Function(OrderIdDlnRequestDto) then) =
      _$OrderIdDlnRequestDtoCopyWithImpl<$Res, OrderIdDlnRequestDto>;
  @useResult
  $Res call({String txId});
}

/// @nodoc
class _$OrderIdDlnRequestDtoCopyWithImpl<$Res,
        $Val extends OrderIdDlnRequestDto>
    implements $OrderIdDlnRequestDtoCopyWith<$Res> {
  _$OrderIdDlnRequestDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? txId = null,
  }) {
    return _then(_value.copyWith(
      txId: null == txId
          ? _value.txId
          : txId // ignore: cast_nullable_to_non_nullable
              as String,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$OrderIdDlnRequestDtoImplCopyWith<$Res>
    implements $OrderIdDlnRequestDtoCopyWith<$Res> {
  factory _$$OrderIdDlnRequestDtoImplCopyWith(_$OrderIdDlnRequestDtoImpl value,
          $Res Function(_$OrderIdDlnRequestDtoImpl) then) =
      __$$OrderIdDlnRequestDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({String txId});
}

/// @nodoc
class __$$OrderIdDlnRequestDtoImplCopyWithImpl<$Res>
    extends _$OrderIdDlnRequestDtoCopyWithImpl<$Res, _$OrderIdDlnRequestDtoImpl>
    implements _$$OrderIdDlnRequestDtoImplCopyWith<$Res> {
  __$$OrderIdDlnRequestDtoImplCopyWithImpl(_$OrderIdDlnRequestDtoImpl _value,
      $Res Function(_$OrderIdDlnRequestDtoImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? txId = null,
  }) {
    return _then(_$OrderIdDlnRequestDtoImpl(
      txId: null == txId
          ? _value.txId
          : txId // ignore: cast_nullable_to_non_nullable
              as String,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$OrderIdDlnRequestDtoImpl implements _OrderIdDlnRequestDto {
  const _$OrderIdDlnRequestDtoImpl({required this.txId});

  factory _$OrderIdDlnRequestDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$OrderIdDlnRequestDtoImplFromJson(json);

  @override
  final String txId;

  @override
  String toString() {
    return 'OrderIdDlnRequestDto(txId: $txId)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$OrderIdDlnRequestDtoImpl &&
            (identical(other.txId, txId) || other.txId == txId));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hash(runtimeType, txId);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$OrderIdDlnRequestDtoImplCopyWith<_$OrderIdDlnRequestDtoImpl>
      get copyWith =>
          __$$OrderIdDlnRequestDtoImplCopyWithImpl<_$OrderIdDlnRequestDtoImpl>(
              this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$OrderIdDlnRequestDtoImplToJson(
      this,
    );
  }
}

abstract class _OrderIdDlnRequestDto implements OrderIdDlnRequestDto {
  const factory _OrderIdDlnRequestDto({required final String txId}) =
      _$OrderIdDlnRequestDtoImpl;

  factory _OrderIdDlnRequestDto.fromJson(Map<String, dynamic> json) =
      _$OrderIdDlnRequestDtoImpl.fromJson;

  @override
  String get txId;
  @override
  @JsonKey(ignore: true)
  _$$OrderIdDlnRequestDtoImplCopyWith<_$OrderIdDlnRequestDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

OrderIdDlnResponseDto _$OrderIdDlnResponseDtoFromJson(
    Map<String, dynamic> json) {
  return _OrderIdDlnResponseDto.fromJson(json);
}

/// @nodoc
mixin _$OrderIdDlnResponseDto {
  String? get orderId => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $OrderIdDlnResponseDtoCopyWith<OrderIdDlnResponseDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $OrderIdDlnResponseDtoCopyWith<$Res> {
  factory $OrderIdDlnResponseDtoCopyWith(OrderIdDlnResponseDto value,
          $Res Function(OrderIdDlnResponseDto) then) =
      _$OrderIdDlnResponseDtoCopyWithImpl<$Res, OrderIdDlnResponseDto>;
  @useResult
  $Res call({String? orderId});
}

/// @nodoc
class _$OrderIdDlnResponseDtoCopyWithImpl<$Res,
        $Val extends OrderIdDlnResponseDto>
    implements $OrderIdDlnResponseDtoCopyWith<$Res> {
  _$OrderIdDlnResponseDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? orderId = freezed,
  }) {
    return _then(_value.copyWith(
      orderId: freezed == orderId
          ? _value.orderId
          : orderId // ignore: cast_nullable_to_non_nullable
              as String?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$OrderIdDlnResponseDtoImplCopyWith<$Res>
    implements $OrderIdDlnResponseDtoCopyWith<$Res> {
  factory _$$OrderIdDlnResponseDtoImplCopyWith(
          _$OrderIdDlnResponseDtoImpl value,
          $Res Function(_$OrderIdDlnResponseDtoImpl) then) =
      __$$OrderIdDlnResponseDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({String? orderId});
}

/// @nodoc
class __$$OrderIdDlnResponseDtoImplCopyWithImpl<$Res>
    extends _$OrderIdDlnResponseDtoCopyWithImpl<$Res,
        _$OrderIdDlnResponseDtoImpl>
    implements _$$OrderIdDlnResponseDtoImplCopyWith<$Res> {
  __$$OrderIdDlnResponseDtoImplCopyWithImpl(_$OrderIdDlnResponseDtoImpl _value,
      $Res Function(_$OrderIdDlnResponseDtoImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? orderId = freezed,
  }) {
    return _then(_$OrderIdDlnResponseDtoImpl(
      orderId: freezed == orderId
          ? _value.orderId
          : orderId // ignore: cast_nullable_to_non_nullable
              as String?,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$OrderIdDlnResponseDtoImpl implements _OrderIdDlnResponseDto {
  const _$OrderIdDlnResponseDtoImpl({required this.orderId});

  factory _$OrderIdDlnResponseDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$OrderIdDlnResponseDtoImplFromJson(json);

  @override
  final String? orderId;

  @override
  String toString() {
    return 'OrderIdDlnResponseDto(orderId: $orderId)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$OrderIdDlnResponseDtoImpl &&
            (identical(other.orderId, orderId) || other.orderId == orderId));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hash(runtimeType, orderId);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$OrderIdDlnResponseDtoImplCopyWith<_$OrderIdDlnResponseDtoImpl>
      get copyWith => __$$OrderIdDlnResponseDtoImplCopyWithImpl<
          _$OrderIdDlnResponseDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$OrderIdDlnResponseDtoImplToJson(
      this,
    );
  }
}

abstract class _OrderIdDlnResponseDto implements OrderIdDlnResponseDto {
  const factory _OrderIdDlnResponseDto({required final String? orderId}) =
      _$OrderIdDlnResponseDtoImpl;

  factory _OrderIdDlnResponseDto.fromJson(Map<String, dynamic> json) =
      _$OrderIdDlnResponseDtoImpl.fromJson;

  @override
  String? get orderId;
  @override
  @JsonKey(ignore: true)
  _$$OrderIdDlnResponseDtoImplCopyWith<_$OrderIdDlnResponseDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

IncomingQuoteRequestDto _$IncomingQuoteRequestDtoFromJson(
    Map<String, dynamic> json) {
  return _IncomingQuoteRequestDto.fromJson(json);
}

/// @nodoc
mixin _$IncomingQuoteRequestDto {
  int get amount => throw _privateConstructorUsedError;
  String get senderAddress => throw _privateConstructorUsedError;
  String get senderBlockchain => throw _privateConstructorUsedError;
  String get receiverAddress => throw _privateConstructorUsedError;
  String? get solanaReferenceAddress => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $IncomingQuoteRequestDtoCopyWith<IncomingQuoteRequestDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $IncomingQuoteRequestDtoCopyWith<$Res> {
  factory $IncomingQuoteRequestDtoCopyWith(IncomingQuoteRequestDto value,
          $Res Function(IncomingQuoteRequestDto) then) =
      _$IncomingQuoteRequestDtoCopyWithImpl<$Res, IncomingQuoteRequestDto>;
  @useResult
  $Res call(
      {int amount,
      String senderAddress,
      String senderBlockchain,
      String receiverAddress,
      String? solanaReferenceAddress});
}

/// @nodoc
class _$IncomingQuoteRequestDtoCopyWithImpl<$Res,
        $Val extends IncomingQuoteRequestDto>
    implements $IncomingQuoteRequestDtoCopyWith<$Res> {
  _$IncomingQuoteRequestDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? amount = null,
    Object? senderAddress = null,
    Object? senderBlockchain = null,
    Object? receiverAddress = null,
    Object? solanaReferenceAddress = freezed,
  }) {
    return _then(_value.copyWith(
      amount: null == amount
          ? _value.amount
          : amount // ignore: cast_nullable_to_non_nullable
              as int,
      senderAddress: null == senderAddress
          ? _value.senderAddress
          : senderAddress // ignore: cast_nullable_to_non_nullable
              as String,
      senderBlockchain: null == senderBlockchain
          ? _value.senderBlockchain
          : senderBlockchain // ignore: cast_nullable_to_non_nullable
              as String,
      receiverAddress: null == receiverAddress
          ? _value.receiverAddress
          : receiverAddress // ignore: cast_nullable_to_non_nullable
              as String,
      solanaReferenceAddress: freezed == solanaReferenceAddress
          ? _value.solanaReferenceAddress
          : solanaReferenceAddress // ignore: cast_nullable_to_non_nullable
              as String?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$IncomingQuoteRequestDtoImplCopyWith<$Res>
    implements $IncomingQuoteRequestDtoCopyWith<$Res> {
  factory _$$IncomingQuoteRequestDtoImplCopyWith(
          _$IncomingQuoteRequestDtoImpl value,
          $Res Function(_$IncomingQuoteRequestDtoImpl) then) =
      __$$IncomingQuoteRequestDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {int amount,
      String senderAddress,
      String senderBlockchain,
      String receiverAddress,
      String? solanaReferenceAddress});
}

/// @nodoc
class __$$IncomingQuoteRequestDtoImplCopyWithImpl<$Res>
    extends _$IncomingQuoteRequestDtoCopyWithImpl<$Res,
        _$IncomingQuoteRequestDtoImpl>
    implements _$$IncomingQuoteRequestDtoImplCopyWith<$Res> {
  __$$IncomingQuoteRequestDtoImplCopyWithImpl(
      _$IncomingQuoteRequestDtoImpl _value,
      $Res Function(_$IncomingQuoteRequestDtoImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? amount = null,
    Object? senderAddress = null,
    Object? senderBlockchain = null,
    Object? receiverAddress = null,
    Object? solanaReferenceAddress = freezed,
  }) {
    return _then(_$IncomingQuoteRequestDtoImpl(
      amount: null == amount
          ? _value.amount
          : amount // ignore: cast_nullable_to_non_nullable
              as int,
      senderAddress: null == senderAddress
          ? _value.senderAddress
          : senderAddress // ignore: cast_nullable_to_non_nullable
              as String,
      senderBlockchain: null == senderBlockchain
          ? _value.senderBlockchain
          : senderBlockchain // ignore: cast_nullable_to_non_nullable
              as String,
      receiverAddress: null == receiverAddress
          ? _value.receiverAddress
          : receiverAddress // ignore: cast_nullable_to_non_nullable
              as String,
      solanaReferenceAddress: freezed == solanaReferenceAddress
          ? _value.solanaReferenceAddress
          : solanaReferenceAddress // ignore: cast_nullable_to_non_nullable
              as String?,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$IncomingQuoteRequestDtoImpl implements _IncomingQuoteRequestDto {
  const _$IncomingQuoteRequestDtoImpl(
      {required this.amount,
      required this.senderAddress,
      required this.senderBlockchain,
      required this.receiverAddress,
      required this.solanaReferenceAddress});

  factory _$IncomingQuoteRequestDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$IncomingQuoteRequestDtoImplFromJson(json);

  @override
  final int amount;
  @override
  final String senderAddress;
  @override
  final String senderBlockchain;
  @override
  final String receiverAddress;
  @override
  final String? solanaReferenceAddress;

  @override
  String toString() {
    return 'IncomingQuoteRequestDto(amount: $amount, senderAddress: $senderAddress, senderBlockchain: $senderBlockchain, receiverAddress: $receiverAddress, solanaReferenceAddress: $solanaReferenceAddress)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$IncomingQuoteRequestDtoImpl &&
            (identical(other.amount, amount) || other.amount == amount) &&
            (identical(other.senderAddress, senderAddress) ||
                other.senderAddress == senderAddress) &&
            (identical(other.senderBlockchain, senderBlockchain) ||
                other.senderBlockchain == senderBlockchain) &&
            (identical(other.receiverAddress, receiverAddress) ||
                other.receiverAddress == receiverAddress) &&
            (identical(other.solanaReferenceAddress, solanaReferenceAddress) ||
                other.solanaReferenceAddress == solanaReferenceAddress));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hash(runtimeType, amount, senderAddress,
      senderBlockchain, receiverAddress, solanaReferenceAddress);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$IncomingQuoteRequestDtoImplCopyWith<_$IncomingQuoteRequestDtoImpl>
      get copyWith => __$$IncomingQuoteRequestDtoImplCopyWithImpl<
          _$IncomingQuoteRequestDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$IncomingQuoteRequestDtoImplToJson(
      this,
    );
  }
}

abstract class _IncomingQuoteRequestDto implements IncomingQuoteRequestDto {
  const factory _IncomingQuoteRequestDto(
          {required final int amount,
          required final String senderAddress,
          required final String senderBlockchain,
          required final String receiverAddress,
          required final String? solanaReferenceAddress}) =
      _$IncomingQuoteRequestDtoImpl;

  factory _IncomingQuoteRequestDto.fromJson(Map<String, dynamic> json) =
      _$IncomingQuoteRequestDtoImpl.fromJson;

  @override
  int get amount;
  @override
  String get senderAddress;
  @override
  String get senderBlockchain;
  @override
  String get receiverAddress;
  @override
  String? get solanaReferenceAddress;
  @override
  @JsonKey(ignore: true)
  _$$IncomingQuoteRequestDtoImplCopyWith<_$IncomingQuoteRequestDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

IncomingQuoteResponseDto _$IncomingQuoteResponseDtoFromJson(
    Map<String, dynamic> json) {
  return _IncomingQuoteResponseDto.fromJson(json);
}

/// @nodoc
mixin _$IncomingQuoteResponseDto {
  QuoteTx get tx => throw _privateConstructorUsedError;
  QuoteUsdcInfo get usdcInfo => throw _privateConstructorUsedError;
  int get inputAmount => throw _privateConstructorUsedError;
  int get receiverAmount => throw _privateConstructorUsedError;
  int get feeInUsdc => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $IncomingQuoteResponseDtoCopyWith<IncomingQuoteResponseDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $IncomingQuoteResponseDtoCopyWith<$Res> {
  factory $IncomingQuoteResponseDtoCopyWith(IncomingQuoteResponseDto value,
          $Res Function(IncomingQuoteResponseDto) then) =
      _$IncomingQuoteResponseDtoCopyWithImpl<$Res, IncomingQuoteResponseDto>;
  @useResult
  $Res call(
      {QuoteTx tx,
      QuoteUsdcInfo usdcInfo,
      int inputAmount,
      int receiverAmount,
      int feeInUsdc});

  $QuoteTxCopyWith<$Res> get tx;
  $QuoteUsdcInfoCopyWith<$Res> get usdcInfo;
}

/// @nodoc
class _$IncomingQuoteResponseDtoCopyWithImpl<$Res,
        $Val extends IncomingQuoteResponseDto>
    implements $IncomingQuoteResponseDtoCopyWith<$Res> {
  _$IncomingQuoteResponseDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? tx = null,
    Object? usdcInfo = null,
    Object? inputAmount = null,
    Object? receiverAmount = null,
    Object? feeInUsdc = null,
  }) {
    return _then(_value.copyWith(
      tx: null == tx
          ? _value.tx
          : tx // ignore: cast_nullable_to_non_nullable
              as QuoteTx,
      usdcInfo: null == usdcInfo
          ? _value.usdcInfo
          : usdcInfo // ignore: cast_nullable_to_non_nullable
              as QuoteUsdcInfo,
      inputAmount: null == inputAmount
          ? _value.inputAmount
          : inputAmount // ignore: cast_nullable_to_non_nullable
              as int,
      receiverAmount: null == receiverAmount
          ? _value.receiverAmount
          : receiverAmount // ignore: cast_nullable_to_non_nullable
              as int,
      feeInUsdc: null == feeInUsdc
          ? _value.feeInUsdc
          : feeInUsdc // ignore: cast_nullable_to_non_nullable
              as int,
    ) as $Val);
  }

  @override
  @pragma('vm:prefer-inline')
  $QuoteTxCopyWith<$Res> get tx {
    return $QuoteTxCopyWith<$Res>(_value.tx, (value) {
      return _then(_value.copyWith(tx: value) as $Val);
    });
  }

  @override
  @pragma('vm:prefer-inline')
  $QuoteUsdcInfoCopyWith<$Res> get usdcInfo {
    return $QuoteUsdcInfoCopyWith<$Res>(_value.usdcInfo, (value) {
      return _then(_value.copyWith(usdcInfo: value) as $Val);
    });
  }
}

/// @nodoc
abstract class _$$IncomingQuoteResponseDtoImplCopyWith<$Res>
    implements $IncomingQuoteResponseDtoCopyWith<$Res> {
  factory _$$IncomingQuoteResponseDtoImplCopyWith(
          _$IncomingQuoteResponseDtoImpl value,
          $Res Function(_$IncomingQuoteResponseDtoImpl) then) =
      __$$IncomingQuoteResponseDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {QuoteTx tx,
      QuoteUsdcInfo usdcInfo,
      int inputAmount,
      int receiverAmount,
      int feeInUsdc});

  @override
  $QuoteTxCopyWith<$Res> get tx;
  @override
  $QuoteUsdcInfoCopyWith<$Res> get usdcInfo;
}

/// @nodoc
class __$$IncomingQuoteResponseDtoImplCopyWithImpl<$Res>
    extends _$IncomingQuoteResponseDtoCopyWithImpl<$Res,
        _$IncomingQuoteResponseDtoImpl>
    implements _$$IncomingQuoteResponseDtoImplCopyWith<$Res> {
  __$$IncomingQuoteResponseDtoImplCopyWithImpl(
      _$IncomingQuoteResponseDtoImpl _value,
      $Res Function(_$IncomingQuoteResponseDtoImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? tx = null,
    Object? usdcInfo = null,
    Object? inputAmount = null,
    Object? receiverAmount = null,
    Object? feeInUsdc = null,
  }) {
    return _then(_$IncomingQuoteResponseDtoImpl(
      tx: null == tx
          ? _value.tx
          : tx // ignore: cast_nullable_to_non_nullable
              as QuoteTx,
      usdcInfo: null == usdcInfo
          ? _value.usdcInfo
          : usdcInfo // ignore: cast_nullable_to_non_nullable
              as QuoteUsdcInfo,
      inputAmount: null == inputAmount
          ? _value.inputAmount
          : inputAmount // ignore: cast_nullable_to_non_nullable
              as int,
      receiverAmount: null == receiverAmount
          ? _value.receiverAmount
          : receiverAmount // ignore: cast_nullable_to_non_nullable
              as int,
      feeInUsdc: null == feeInUsdc
          ? _value.feeInUsdc
          : feeInUsdc // ignore: cast_nullable_to_non_nullable
              as int,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$IncomingQuoteResponseDtoImpl implements _IncomingQuoteResponseDto {
  const _$IncomingQuoteResponseDtoImpl(
      {required this.tx,
      required this.usdcInfo,
      required this.inputAmount,
      required this.receiverAmount,
      required this.feeInUsdc});

  factory _$IncomingQuoteResponseDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$IncomingQuoteResponseDtoImplFromJson(json);

  @override
  final QuoteTx tx;
  @override
  final QuoteUsdcInfo usdcInfo;
  @override
  final int inputAmount;
  @override
  final int receiverAmount;
  @override
  final int feeInUsdc;

  @override
  String toString() {
    return 'IncomingQuoteResponseDto(tx: $tx, usdcInfo: $usdcInfo, inputAmount: $inputAmount, receiverAmount: $receiverAmount, feeInUsdc: $feeInUsdc)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$IncomingQuoteResponseDtoImpl &&
            (identical(other.tx, tx) || other.tx == tx) &&
            (identical(other.usdcInfo, usdcInfo) ||
                other.usdcInfo == usdcInfo) &&
            (identical(other.inputAmount, inputAmount) ||
                other.inputAmount == inputAmount) &&
            (identical(other.receiverAmount, receiverAmount) ||
                other.receiverAmount == receiverAmount) &&
            (identical(other.feeInUsdc, feeInUsdc) ||
                other.feeInUsdc == feeInUsdc));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hash(
      runtimeType, tx, usdcInfo, inputAmount, receiverAmount, feeInUsdc);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$IncomingQuoteResponseDtoImplCopyWith<_$IncomingQuoteResponseDtoImpl>
      get copyWith => __$$IncomingQuoteResponseDtoImplCopyWithImpl<
          _$IncomingQuoteResponseDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$IncomingQuoteResponseDtoImplToJson(
      this,
    );
  }
}

abstract class _IncomingQuoteResponseDto implements IncomingQuoteResponseDto {
  const factory _IncomingQuoteResponseDto(
      {required final QuoteTx tx,
      required final QuoteUsdcInfo usdcInfo,
      required final int inputAmount,
      required final int receiverAmount,
      required final int feeInUsdc}) = _$IncomingQuoteResponseDtoImpl;

  factory _IncomingQuoteResponseDto.fromJson(Map<String, dynamic> json) =
      _$IncomingQuoteResponseDtoImpl.fromJson;

  @override
  QuoteTx get tx;
  @override
  QuoteUsdcInfo get usdcInfo;
  @override
  int get inputAmount;
  @override
  int get receiverAmount;
  @override
  int get feeInUsdc;
  @override
  @JsonKey(ignore: true)
  _$$IncomingQuoteResponseDtoImplCopyWith<_$IncomingQuoteResponseDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

QuoteTx _$QuoteTxFromJson(Map<String, dynamic> json) {
  return _QuoteTx.fromJson(json);
}

/// @nodoc
mixin _$QuoteTx {
  String get to => throw _privateConstructorUsedError;
  String get data => throw _privateConstructorUsedError;
  int get value => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $QuoteTxCopyWith<QuoteTx> get copyWith => throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $QuoteTxCopyWith<$Res> {
  factory $QuoteTxCopyWith(QuoteTx value, $Res Function(QuoteTx) then) =
      _$QuoteTxCopyWithImpl<$Res, QuoteTx>;
  @useResult
  $Res call({String to, String data, int value});
}

/// @nodoc
class _$QuoteTxCopyWithImpl<$Res, $Val extends QuoteTx>
    implements $QuoteTxCopyWith<$Res> {
  _$QuoteTxCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? to = null,
    Object? data = null,
    Object? value = null,
  }) {
    return _then(_value.copyWith(
      to: null == to
          ? _value.to
          : to // ignore: cast_nullable_to_non_nullable
              as String,
      data: null == data
          ? _value.data
          : data // ignore: cast_nullable_to_non_nullable
              as String,
      value: null == value
          ? _value.value
          : value // ignore: cast_nullable_to_non_nullable
              as int,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$QuoteTxImplCopyWith<$Res> implements $QuoteTxCopyWith<$Res> {
  factory _$$QuoteTxImplCopyWith(
          _$QuoteTxImpl value, $Res Function(_$QuoteTxImpl) then) =
      __$$QuoteTxImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({String to, String data, int value});
}

/// @nodoc
class __$$QuoteTxImplCopyWithImpl<$Res>
    extends _$QuoteTxCopyWithImpl<$Res, _$QuoteTxImpl>
    implements _$$QuoteTxImplCopyWith<$Res> {
  __$$QuoteTxImplCopyWithImpl(
      _$QuoteTxImpl _value, $Res Function(_$QuoteTxImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? to = null,
    Object? data = null,
    Object? value = null,
  }) {
    return _then(_$QuoteTxImpl(
      to: null == to
          ? _value.to
          : to // ignore: cast_nullable_to_non_nullable
              as String,
      data: null == data
          ? _value.data
          : data // ignore: cast_nullable_to_non_nullable
              as String,
      value: null == value
          ? _value.value
          : value // ignore: cast_nullable_to_non_nullable
              as int,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$QuoteTxImpl implements _QuoteTx {
  const _$QuoteTxImpl(
      {required this.to, required this.data, required this.value});

  factory _$QuoteTxImpl.fromJson(Map<String, dynamic> json) =>
      _$$QuoteTxImplFromJson(json);

  @override
  final String to;
  @override
  final String data;
  @override
  final int value;

  @override
  String toString() {
    return 'QuoteTx(to: $to, data: $data, value: $value)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$QuoteTxImpl &&
            (identical(other.to, to) || other.to == to) &&
            (identical(other.data, data) || other.data == data) &&
            (identical(other.value, value) || other.value == value));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hash(runtimeType, to, data, value);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$QuoteTxImplCopyWith<_$QuoteTxImpl> get copyWith =>
      __$$QuoteTxImplCopyWithImpl<_$QuoteTxImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$QuoteTxImplToJson(
      this,
    );
  }
}

abstract class _QuoteTx implements QuoteTx {
  const factory _QuoteTx(
      {required final String to,
      required final String data,
      required final int value}) = _$QuoteTxImpl;

  factory _QuoteTx.fromJson(Map<String, dynamic> json) = _$QuoteTxImpl.fromJson;

  @override
  String get to;
  @override
  String get data;
  @override
  int get value;
  @override
  @JsonKey(ignore: true)
  _$$QuoteTxImplCopyWith<_$QuoteTxImpl> get copyWith =>
      throw _privateConstructorUsedError;
}

QuoteUsdcInfo _$QuoteUsdcInfoFromJson(Map<String, dynamic> json) {
  return _QuoteUsdcInfo.fromJson(json);
}

/// @nodoc
mixin _$QuoteUsdcInfo {
  String get usdcAddress => throw _privateConstructorUsedError;
  int get approvalAmount => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $QuoteUsdcInfoCopyWith<QuoteUsdcInfo> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $QuoteUsdcInfoCopyWith<$Res> {
  factory $QuoteUsdcInfoCopyWith(
          QuoteUsdcInfo value, $Res Function(QuoteUsdcInfo) then) =
      _$QuoteUsdcInfoCopyWithImpl<$Res, QuoteUsdcInfo>;
  @useResult
  $Res call({String usdcAddress, int approvalAmount});
}

/// @nodoc
class _$QuoteUsdcInfoCopyWithImpl<$Res, $Val extends QuoteUsdcInfo>
    implements $QuoteUsdcInfoCopyWith<$Res> {
  _$QuoteUsdcInfoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? usdcAddress = null,
    Object? approvalAmount = null,
  }) {
    return _then(_value.copyWith(
      usdcAddress: null == usdcAddress
          ? _value.usdcAddress
          : usdcAddress // ignore: cast_nullable_to_non_nullable
              as String,
      approvalAmount: null == approvalAmount
          ? _value.approvalAmount
          : approvalAmount // ignore: cast_nullable_to_non_nullable
              as int,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$QuoteUsdcInfoImplCopyWith<$Res>
    implements $QuoteUsdcInfoCopyWith<$Res> {
  factory _$$QuoteUsdcInfoImplCopyWith(
          _$QuoteUsdcInfoImpl value, $Res Function(_$QuoteUsdcInfoImpl) then) =
      __$$QuoteUsdcInfoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({String usdcAddress, int approvalAmount});
}

/// @nodoc
class __$$QuoteUsdcInfoImplCopyWithImpl<$Res>
    extends _$QuoteUsdcInfoCopyWithImpl<$Res, _$QuoteUsdcInfoImpl>
    implements _$$QuoteUsdcInfoImplCopyWith<$Res> {
  __$$QuoteUsdcInfoImplCopyWithImpl(
      _$QuoteUsdcInfoImpl _value, $Res Function(_$QuoteUsdcInfoImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? usdcAddress = null,
    Object? approvalAmount = null,
  }) {
    return _then(_$QuoteUsdcInfoImpl(
      usdcAddress: null == usdcAddress
          ? _value.usdcAddress
          : usdcAddress // ignore: cast_nullable_to_non_nullable
              as String,
      approvalAmount: null == approvalAmount
          ? _value.approvalAmount
          : approvalAmount // ignore: cast_nullable_to_non_nullable
              as int,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$QuoteUsdcInfoImpl implements _QuoteUsdcInfo {
  const _$QuoteUsdcInfoImpl(
      {required this.usdcAddress, required this.approvalAmount});

  factory _$QuoteUsdcInfoImpl.fromJson(Map<String, dynamic> json) =>
      _$$QuoteUsdcInfoImplFromJson(json);

  @override
  final String usdcAddress;
  @override
  final int approvalAmount;

  @override
  String toString() {
    return 'QuoteUsdcInfo(usdcAddress: $usdcAddress, approvalAmount: $approvalAmount)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$QuoteUsdcInfoImpl &&
            (identical(other.usdcAddress, usdcAddress) ||
                other.usdcAddress == usdcAddress) &&
            (identical(other.approvalAmount, approvalAmount) ||
                other.approvalAmount == approvalAmount));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hash(runtimeType, usdcAddress, approvalAmount);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$QuoteUsdcInfoImplCopyWith<_$QuoteUsdcInfoImpl> get copyWith =>
      __$$QuoteUsdcInfoImplCopyWithImpl<_$QuoteUsdcInfoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$QuoteUsdcInfoImplToJson(
      this,
    );
  }
}

abstract class _QuoteUsdcInfo implements QuoteUsdcInfo {
  const factory _QuoteUsdcInfo(
      {required final String usdcAddress,
      required final int approvalAmount}) = _$QuoteUsdcInfoImpl;

  factory _QuoteUsdcInfo.fromJson(Map<String, dynamic> json) =
      _$QuoteUsdcInfoImpl.fromJson;

  @override
  String get usdcAddress;
  @override
  int get approvalAmount;
  @override
  @JsonKey(ignore: true)
  _$$QuoteUsdcInfoImplCopyWith<_$QuoteUsdcInfoImpl> get copyWith =>
      throw _privateConstructorUsedError;
}
