// 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

part of 'details_bloc.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');

/// @nodoc
mixin _$DetailsState {
  TrackingMedium? get data => throw _privateConstructorUsedError;
  String? get heroImagePrefix => throw _privateConstructorUsedError;
  TrackingMediumType get trackingType => throw _privateConstructorUsedError;

  @JsonKey(ignore: true)
  $DetailsStateCopyWith<DetailsState> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $DetailsStateCopyWith<$Res> {
  factory $DetailsStateCopyWith(
          DetailsState value, $Res Function(DetailsState) then) =
      _$DetailsStateCopyWithImpl<$Res>;
  $Res call(
      {TrackingMedium? data,
      String? heroImagePrefix,
      TrackingMediumType trackingType});
}

/// @nodoc
class _$DetailsStateCopyWithImpl<$Res> implements $DetailsStateCopyWith<$Res> {
  _$DetailsStateCopyWithImpl(this._value, this._then);

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

  @override
  $Res call({
    Object? data = freezed,
    Object? heroImagePrefix = freezed,
    Object? trackingType = freezed,
  }) {
    return _then(_value.copyWith(
      data: data == freezed
          ? _value.data
          : data // ignore: cast_nullable_to_non_nullable
              as TrackingMedium?,
      heroImagePrefix: heroImagePrefix == freezed
          ? _value.heroImagePrefix
          : heroImagePrefix // ignore: cast_nullable_to_non_nullable
              as String?,
      trackingType: trackingType == freezed
          ? _value.trackingType
          : trackingType // ignore: cast_nullable_to_non_nullable
              as TrackingMediumType,
    ));
  }
}

/// @nodoc
abstract class _$$_DetailsStateCopyWith<$Res>
    implements $DetailsStateCopyWith<$Res> {
  factory _$$_DetailsStateCopyWith(
          _$_DetailsState value, $Res Function(_$_DetailsState) then) =
      __$$_DetailsStateCopyWithImpl<$Res>;
  @override
  $Res call(
      {TrackingMedium? data,
      String? heroImagePrefix,
      TrackingMediumType trackingType});
}

/// @nodoc
class __$$_DetailsStateCopyWithImpl<$Res>
    extends _$DetailsStateCopyWithImpl<$Res>
    implements _$$_DetailsStateCopyWith<$Res> {
  __$$_DetailsStateCopyWithImpl(
      _$_DetailsState _value, $Res Function(_$_DetailsState) _then)
      : super(_value, (v) => _then(v as _$_DetailsState));

  @override
  _$_DetailsState get _value => super._value as _$_DetailsState;

  @override
  $Res call({
    Object? data = freezed,
    Object? heroImagePrefix = freezed,
    Object? trackingType = freezed,
  }) {
    return _then(_$_DetailsState(
      data: data == freezed
          ? _value.data
          : data // ignore: cast_nullable_to_non_nullable
              as TrackingMedium?,
      heroImagePrefix: heroImagePrefix == freezed
          ? _value.heroImagePrefix
          : heroImagePrefix // ignore: cast_nullable_to_non_nullable
              as String?,
      trackingType: trackingType == freezed
          ? _value.trackingType
          : trackingType // ignore: cast_nullable_to_non_nullable
              as TrackingMediumType,
    ));
  }
}

/// @nodoc

class _$_DetailsState implements _DetailsState {
  _$_DetailsState(
      {this.data,
      this.heroImagePrefix,
      this.trackingType = TrackingMediumType.anime});

  @override
  final TrackingMedium? data;
  @override
  final String? heroImagePrefix;
  @override
  @JsonKey()
  final TrackingMediumType trackingType;

  @override
  String toString() {
    return 'DetailsState(data: $data, heroImagePrefix: $heroImagePrefix, trackingType: $trackingType)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$_DetailsState &&
            const DeepCollectionEquality().equals(other.data, data) &&
            const DeepCollectionEquality()
                .equals(other.heroImagePrefix, heroImagePrefix) &&
            const DeepCollectionEquality()
                .equals(other.trackingType, trackingType));
  }

  @override
  int get hashCode => Object.hash(
      runtimeType,
      const DeepCollectionEquality().hash(data),
      const DeepCollectionEquality().hash(heroImagePrefix),
      const DeepCollectionEquality().hash(trackingType));

  @JsonKey(ignore: true)
  @override
  _$$_DetailsStateCopyWith<_$_DetailsState> get copyWith =>
      __$$_DetailsStateCopyWithImpl<_$_DetailsState>(this, _$identity);
}

abstract class _DetailsState implements DetailsState {
  factory _DetailsState(
      {final TrackingMedium? data,
      final String? heroImagePrefix,
      final TrackingMediumType trackingType}) = _$_DetailsState;

  @override
  TrackingMedium? get data;
  @override
  String? get heroImagePrefix;
  @override
  TrackingMediumType get trackingType;
  @override
  @JsonKey(ignore: true)
  _$$_DetailsStateCopyWith<_$_DetailsState> get copyWith =>
      throw _privateConstructorUsedError;
}
