// 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 'eco_deposit_address_model.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');

EcoDepositAddressModel _$EcoDepositAddressModelFromJson(
    Map<String, dynamic> json) {
  return _EcoDepositAddressModel.fromJson(json);
}

/// @nodoc
mixin _$EcoDepositAddressModel {
  String get address => throw _privateConstructorUsedError;
  String get currency => throw _privateConstructorUsedError;
  String get chain => throw _privateConstructorUsedError;
  String get contractType => throw _privateConstructorUsedError;
  String? get network => throw _privateConstructorUsedError;
  bool get locked =>
      throw _privateConstructorUsedError; // For NO_PERMIT tracking
  String? get id => throw _privateConstructorUsedError;
  String? get status => throw _privateConstructorUsedError;

  /// Serializes this EcoDepositAddressModel to a JSON map.
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  /// Create a copy of EcoDepositAddressModel
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $EcoDepositAddressModelCopyWith<EcoDepositAddressModel> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $EcoDepositAddressModelCopyWith<$Res> {
  factory $EcoDepositAddressModelCopyWith(EcoDepositAddressModel value,
          $Res Function(EcoDepositAddressModel) then) =
      _$EcoDepositAddressModelCopyWithImpl<$Res, EcoDepositAddressModel>;
  @useResult
  $Res call(
      {String address,
      String currency,
      String chain,
      String contractType,
      String? network,
      bool locked,
      String? id,
      String? status});
}

/// @nodoc
class _$EcoDepositAddressModelCopyWithImpl<$Res,
        $Val extends EcoDepositAddressModel>
    implements $EcoDepositAddressModelCopyWith<$Res> {
  _$EcoDepositAddressModelCopyWithImpl(this._value, this._then);

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

  /// Create a copy of EcoDepositAddressModel
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? address = null,
    Object? currency = null,
    Object? chain = null,
    Object? contractType = null,
    Object? network = freezed,
    Object? locked = null,
    Object? id = freezed,
    Object? status = freezed,
  }) {
    return _then(_value.copyWith(
      address: null == address
          ? _value.address
          : address // ignore: cast_nullable_to_non_nullable
              as String,
      currency: null == currency
          ? _value.currency
          : currency // ignore: cast_nullable_to_non_nullable
              as String,
      chain: null == chain
          ? _value.chain
          : chain // ignore: cast_nullable_to_non_nullable
              as String,
      contractType: null == contractType
          ? _value.contractType
          : contractType // ignore: cast_nullable_to_non_nullable
              as String,
      network: freezed == network
          ? _value.network
          : network // ignore: cast_nullable_to_non_nullable
              as String?,
      locked: null == locked
          ? _value.locked
          : locked // ignore: cast_nullable_to_non_nullable
              as bool,
      id: freezed == id
          ? _value.id
          : id // ignore: cast_nullable_to_non_nullable
              as String?,
      status: freezed == status
          ? _value.status
          : status // ignore: cast_nullable_to_non_nullable
              as String?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$EcoDepositAddressModelImplCopyWith<$Res>
    implements $EcoDepositAddressModelCopyWith<$Res> {
  factory _$$EcoDepositAddressModelImplCopyWith(
          _$EcoDepositAddressModelImpl value,
          $Res Function(_$EcoDepositAddressModelImpl) then) =
      __$$EcoDepositAddressModelImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {String address,
      String currency,
      String chain,
      String contractType,
      String? network,
      bool locked,
      String? id,
      String? status});
}

/// @nodoc
class __$$EcoDepositAddressModelImplCopyWithImpl<$Res>
    extends _$EcoDepositAddressModelCopyWithImpl<$Res,
        _$EcoDepositAddressModelImpl>
    implements _$$EcoDepositAddressModelImplCopyWith<$Res> {
  __$$EcoDepositAddressModelImplCopyWithImpl(
      _$EcoDepositAddressModelImpl _value,
      $Res Function(_$EcoDepositAddressModelImpl) _then)
      : super(_value, _then);

  /// Create a copy of EcoDepositAddressModel
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? address = null,
    Object? currency = null,
    Object? chain = null,
    Object? contractType = null,
    Object? network = freezed,
    Object? locked = null,
    Object? id = freezed,
    Object? status = freezed,
  }) {
    return _then(_$EcoDepositAddressModelImpl(
      address: null == address
          ? _value.address
          : address // ignore: cast_nullable_to_non_nullable
              as String,
      currency: null == currency
          ? _value.currency
          : currency // ignore: cast_nullable_to_non_nullable
              as String,
      chain: null == chain
          ? _value.chain
          : chain // ignore: cast_nullable_to_non_nullable
              as String,
      contractType: null == contractType
          ? _value.contractType
          : contractType // ignore: cast_nullable_to_non_nullable
              as String,
      network: freezed == network
          ? _value.network
          : network // ignore: cast_nullable_to_non_nullable
              as String?,
      locked: null == locked
          ? _value.locked
          : locked // ignore: cast_nullable_to_non_nullable
              as bool,
      id: freezed == id
          ? _value.id
          : id // ignore: cast_nullable_to_non_nullable
              as String?,
      status: freezed == status
          ? _value.status
          : status // ignore: cast_nullable_to_non_nullable
              as String?,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$EcoDepositAddressModelImpl implements _EcoDepositAddressModel {
  const _$EcoDepositAddressModelImpl(
      {required this.address,
      required this.currency,
      required this.chain,
      required this.contractType,
      this.network,
      this.locked = false,
      this.id,
      this.status});

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

  @override
  final String address;
  @override
  final String currency;
  @override
  final String chain;
  @override
  final String contractType;
  @override
  final String? network;
  @override
  @JsonKey()
  final bool locked;
// For NO_PERMIT tracking
  @override
  final String? id;
  @override
  final String? status;

  @override
  String toString() {
    return 'EcoDepositAddressModel(address: $address, currency: $currency, chain: $chain, contractType: $contractType, network: $network, locked: $locked, id: $id, status: $status)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$EcoDepositAddressModelImpl &&
            (identical(other.address, address) || other.address == address) &&
            (identical(other.currency, currency) ||
                other.currency == currency) &&
            (identical(other.chain, chain) || other.chain == chain) &&
            (identical(other.contractType, contractType) ||
                other.contractType == contractType) &&
            (identical(other.network, network) || other.network == network) &&
            (identical(other.locked, locked) || other.locked == locked) &&
            (identical(other.id, id) || other.id == id) &&
            (identical(other.status, status) || other.status == status));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(runtimeType, address, currency, chain,
      contractType, network, locked, id, status);

  /// Create a copy of EcoDepositAddressModel
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$EcoDepositAddressModelImplCopyWith<_$EcoDepositAddressModelImpl>
      get copyWith => __$$EcoDepositAddressModelImplCopyWithImpl<
          _$EcoDepositAddressModelImpl>(this, _$identity);

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

abstract class _EcoDepositAddressModel implements EcoDepositAddressModel {
  const factory _EcoDepositAddressModel(
      {required final String address,
      required final String currency,
      required final String chain,
      required final String contractType,
      final String? network,
      final bool locked,
      final String? id,
      final String? status}) = _$EcoDepositAddressModelImpl;

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

  @override
  String get address;
  @override
  String get currency;
  @override
  String get chain;
  @override
  String get contractType;
  @override
  String? get network;
  @override
  bool get locked; // For NO_PERMIT tracking
  @override
  String? get id;
  @override
  String? get status;

  /// Create a copy of EcoDepositAddressModel
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$EcoDepositAddressModelImplCopyWith<_$EcoDepositAddressModelImpl>
      get copyWith => throw _privateConstructorUsedError;
}
