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

FuturesCurrencyModel _$FuturesCurrencyModelFromJson(Map<String, dynamic> json) {
  return _FuturesCurrencyModel.fromJson(json);
}

/// @nodoc
mixin _$FuturesCurrencyModel {
  String get value => throw _privateConstructorUsedError;
  String get label => throw _privateConstructorUsedError;
  String get icon => throw _privateConstructorUsedError;

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

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

/// @nodoc
abstract class $FuturesCurrencyModelCopyWith<$Res> {
  factory $FuturesCurrencyModelCopyWith(FuturesCurrencyModel value,
          $Res Function(FuturesCurrencyModel) then) =
      _$FuturesCurrencyModelCopyWithImpl<$Res, FuturesCurrencyModel>;
  @useResult
  $Res call({String value, String label, String icon});
}

/// @nodoc
class _$FuturesCurrencyModelCopyWithImpl<$Res,
        $Val extends FuturesCurrencyModel>
    implements $FuturesCurrencyModelCopyWith<$Res> {
  _$FuturesCurrencyModelCopyWithImpl(this._value, this._then);

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

  /// Create a copy of FuturesCurrencyModel
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? value = null,
    Object? label = null,
    Object? icon = null,
  }) {
    return _then(_value.copyWith(
      value: null == value
          ? _value.value
          : value // ignore: cast_nullable_to_non_nullable
              as String,
      label: null == label
          ? _value.label
          : label // ignore: cast_nullable_to_non_nullable
              as String,
      icon: null == icon
          ? _value.icon
          : icon // ignore: cast_nullable_to_non_nullable
              as String,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$FuturesCurrencyModelImplCopyWith<$Res>
    implements $FuturesCurrencyModelCopyWith<$Res> {
  factory _$$FuturesCurrencyModelImplCopyWith(_$FuturesCurrencyModelImpl value,
          $Res Function(_$FuturesCurrencyModelImpl) then) =
      __$$FuturesCurrencyModelImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({String value, String label, String icon});
}

/// @nodoc
class __$$FuturesCurrencyModelImplCopyWithImpl<$Res>
    extends _$FuturesCurrencyModelCopyWithImpl<$Res, _$FuturesCurrencyModelImpl>
    implements _$$FuturesCurrencyModelImplCopyWith<$Res> {
  __$$FuturesCurrencyModelImplCopyWithImpl(_$FuturesCurrencyModelImpl _value,
      $Res Function(_$FuturesCurrencyModelImpl) _then)
      : super(_value, _then);

  /// Create a copy of FuturesCurrencyModel
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? value = null,
    Object? label = null,
    Object? icon = null,
  }) {
    return _then(_$FuturesCurrencyModelImpl(
      value: null == value
          ? _value.value
          : value // ignore: cast_nullable_to_non_nullable
              as String,
      label: null == label
          ? _value.label
          : label // ignore: cast_nullable_to_non_nullable
              as String,
      icon: null == icon
          ? _value.icon
          : icon // ignore: cast_nullable_to_non_nullable
              as String,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$FuturesCurrencyModelImpl implements _FuturesCurrencyModel {
  const _$FuturesCurrencyModelImpl(
      {required this.value, required this.label, required this.icon});

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

  @override
  final String value;
  @override
  final String label;
  @override
  final String icon;

  @override
  String toString() {
    return 'FuturesCurrencyModel(value: $value, label: $label, icon: $icon)';
  }

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

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(runtimeType, value, label, icon);

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

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

abstract class _FuturesCurrencyModel implements FuturesCurrencyModel {
  const factory _FuturesCurrencyModel(
      {required final String value,
      required final String label,
      required final String icon}) = _$FuturesCurrencyModelImpl;

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

  @override
  String get value;
  @override
  String get label;
  @override
  String get icon;

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