content: // coverage:ignore-file
  // GENERATED CODE - DO NOT MODIFY BY HAND
  // 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 'quran_page_state.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 informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
  
  /// @nodoc
  class _$QuranPageStateTearOff {
    const _$QuranPageStateTearOff();
  
    _Loading loading() {
      return const _Loading();
    }
  
    _DownLoading downloading() {
      return const _DownLoading();
    }
  
    _InternetUnAvailable internetUnAvailable() {
      return const _InternetUnAvailable();
    }
  
    _Loaded loaded(QuranPage quranPage) {
      return _Loaded(
        quranPage,
      );
    }
  }
  
  /// @nodoc
  const $QuranPageState = _$QuranPageStateTearOff();
  
  /// @nodoc
  mixin _$QuranPageState {
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() loading,
      required TResult Function() downloading,
      required TResult Function() internetUnAvailable,
      required TResult Function(QuranPage quranPage) loaded,
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function()? downloading,
      TResult Function()? internetUnAvailable,
      TResult Function(QuranPage quranPage)? loaded,
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function()? downloading,
      TResult Function()? internetUnAvailable,
      TResult Function(QuranPage quranPage)? loaded,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Loading value) loading,
      required TResult Function(_DownLoading value) downloading,
      required TResult Function(_InternetUnAvailable value) internetUnAvailable,
      required TResult Function(_Loaded value) loaded,
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_DownLoading value)? downloading,
      TResult Function(_InternetUnAvailable value)? internetUnAvailable,
      TResult Function(_Loaded value)? loaded,
    }) =>
        throw _privateConstructorUsedError;
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_DownLoading value)? downloading,
      TResult Function(_InternetUnAvailable value)? internetUnAvailable,
      TResult Function(_Loaded value)? loaded,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class $QuranPageStateCopyWith<$Res> {
    factory $QuranPageStateCopyWith(
            QuranPageState value, $Res Function(QuranPageState) then) =
        _$QuranPageStateCopyWithImpl<$Res>;
  }
  
  /// @nodoc
  class _$QuranPageStateCopyWithImpl<$Res>
      implements $QuranPageStateCopyWith<$Res> {
    _$QuranPageStateCopyWithImpl(this._value, this._then);
  
    final QuranPageState _value;
    // ignore: unused_field
    final $Res Function(QuranPageState) _then;
  }
  
  /// @nodoc
  abstract class _$LoadingCopyWith<$Res> {
    factory _$LoadingCopyWith(_Loading value, $Res Function(_Loading) then) =
        __$LoadingCopyWithImpl<$Res>;
  }
  
  /// @nodoc
  class __$LoadingCopyWithImpl<$Res> extends _$QuranPageStateCopyWithImpl<$Res>
      implements _$LoadingCopyWith<$Res> {
    __$LoadingCopyWithImpl(_Loading _value, $Res Function(_Loading) _then)
        : super(_value, (v) => _then(v as _Loading));
  
    @override
    _Loading get _value => super._value as _Loading;
  }
  
  /// @nodoc
  
  class _$_Loading implements _Loading {
    const _$_Loading();
  
    @override
    String toString() {
      return 'QuranPageState.loading()';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType && other is _Loading);
    }
  
    @override
    int get hashCode => runtimeType.hashCode;
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() loading,
      required TResult Function() downloading,
      required TResult Function() internetUnAvailable,
      required TResult Function(QuranPage quranPage) loaded,
    }) {
      return loading();
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function()? downloading,
      TResult Function()? internetUnAvailable,
      TResult Function(QuranPage quranPage)? loaded,
    }) {
      return loading?.call();
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function()? downloading,
      TResult Function()? internetUnAvailable,
      TResult Function(QuranPage quranPage)? loaded,
      required TResult orElse(),
    }) {
      if (loading != null) {
        return loading();
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Loading value) loading,
      required TResult Function(_DownLoading value) downloading,
      required TResult Function(_InternetUnAvailable value) internetUnAvailable,
      required TResult Function(_Loaded value) loaded,
    }) {
      return loading(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_DownLoading value)? downloading,
      TResult Function(_InternetUnAvailable value)? internetUnAvailable,
      TResult Function(_Loaded value)? loaded,
    }) {
      return loading?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_DownLoading value)? downloading,
      TResult Function(_InternetUnAvailable value)? internetUnAvailable,
      TResult Function(_Loaded value)? loaded,
      required TResult orElse(),
    }) {
      if (loading != null) {
        return loading(this);
      }
      return orElse();
    }
  }
  
  abstract class _Loading implements QuranPageState {
    const factory _Loading() = _$_Loading;
  }
  
  /// @nodoc
  abstract class _$DownLoadingCopyWith<$Res> {
    factory _$DownLoadingCopyWith(
            _DownLoading value, $Res Function(_DownLoading) then) =
        __$DownLoadingCopyWithImpl<$Res>;
  }
  
  /// @nodoc
  class __$DownLoadingCopyWithImpl<$Res>
      extends _$QuranPageStateCopyWithImpl<$Res>
      implements _$DownLoadingCopyWith<$Res> {
    __$DownLoadingCopyWithImpl(
        _DownLoading _value, $Res Function(_DownLoading) _then)
        : super(_value, (v) => _then(v as _DownLoading));
  
    @override
    _DownLoading get _value => super._value as _DownLoading;
  }
  
  /// @nodoc
  
  class _$_DownLoading implements _DownLoading {
    const _$_DownLoading();
  
    @override
    String toString() {
      return 'QuranPageState.downloading()';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType && other is _DownLoading);
    }
  
    @override
    int get hashCode => runtimeType.hashCode;
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() loading,
      required TResult Function() downloading,
      required TResult Function() internetUnAvailable,
      required TResult Function(QuranPage quranPage) loaded,
    }) {
      return downloading();
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function()? downloading,
      TResult Function()? internetUnAvailable,
      TResult Function(QuranPage quranPage)? loaded,
    }) {
      return downloading?.call();
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function()? downloading,
      TResult Function()? internetUnAvailable,
      TResult Function(QuranPage quranPage)? loaded,
      required TResult orElse(),
    }) {
      if (downloading != null) {
        return downloading();
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Loading value) loading,
      required TResult Function(_DownLoading value) downloading,
      required TResult Function(_InternetUnAvailable value) internetUnAvailable,
      required TResult Function(_Loaded value) loaded,
    }) {
      return downloading(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_DownLoading value)? downloading,
      TResult Function(_InternetUnAvailable value)? internetUnAvailable,
      TResult Function(_Loaded value)? loaded,
    }) {
      return downloading?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_DownLoading value)? downloading,
      TResult Function(_InternetUnAvailable value)? internetUnAvailable,
      TResult Function(_Loaded value)? loaded,
      required TResult orElse(),
    }) {
      if (downloading != null) {
        return downloading(this);
      }
      return orElse();
    }
  }
  
  abstract class _DownLoading implements QuranPageState {
    const factory _DownLoading() = _$_DownLoading;
  }
  
  /// @nodoc
  abstract class _$InternetUnAvailableCopyWith<$Res> {
    factory _$InternetUnAvailableCopyWith(_InternetUnAvailable value,
            $Res Function(_InternetUnAvailable) then) =
        __$InternetUnAvailableCopyWithImpl<$Res>;
  }
  
  /// @nodoc
  class __$InternetUnAvailableCopyWithImpl<$Res>
      extends _$QuranPageStateCopyWithImpl<$Res>
      implements _$InternetUnAvailableCopyWith<$Res> {
    __$InternetUnAvailableCopyWithImpl(
        _InternetUnAvailable _value, $Res Function(_InternetUnAvailable) _then)
        : super(_value, (v) => _then(v as _InternetUnAvailable));
  
    @override
    _InternetUnAvailable get _value => super._value as _InternetUnAvailable;
  }
  
  /// @nodoc
  
  class _$_InternetUnAvailable implements _InternetUnAvailable {
    const _$_InternetUnAvailable();
  
    @override
    String toString() {
      return 'QuranPageState.internetUnAvailable()';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType && other is _InternetUnAvailable);
    }
  
    @override
    int get hashCode => runtimeType.hashCode;
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() loading,
      required TResult Function() downloading,
      required TResult Function() internetUnAvailable,
      required TResult Function(QuranPage quranPage) loaded,
    }) {
      return internetUnAvailable();
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function()? downloading,
      TResult Function()? internetUnAvailable,
      TResult Function(QuranPage quranPage)? loaded,
    }) {
      return internetUnAvailable?.call();
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function()? downloading,
      TResult Function()? internetUnAvailable,
      TResult Function(QuranPage quranPage)? loaded,
      required TResult orElse(),
    }) {
      if (internetUnAvailable != null) {
        return internetUnAvailable();
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Loading value) loading,
      required TResult Function(_DownLoading value) downloading,
      required TResult Function(_InternetUnAvailable value) internetUnAvailable,
      required TResult Function(_Loaded value) loaded,
    }) {
      return internetUnAvailable(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_DownLoading value)? downloading,
      TResult Function(_InternetUnAvailable value)? internetUnAvailable,
      TResult Function(_Loaded value)? loaded,
    }) {
      return internetUnAvailable?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_DownLoading value)? downloading,
      TResult Function(_InternetUnAvailable value)? internetUnAvailable,
      TResult Function(_Loaded value)? loaded,
      required TResult orElse(),
    }) {
      if (internetUnAvailable != null) {
        return internetUnAvailable(this);
      }
      return orElse();
    }
  }
  
  abstract class _InternetUnAvailable implements QuranPageState {
    const factory _InternetUnAvailable() = _$_InternetUnAvailable;
  }
  
  /// @nodoc
  abstract class _$LoadedCopyWith<$Res> {
    factory _$LoadedCopyWith(_Loaded value, $Res Function(_Loaded) then) =
        __$LoadedCopyWithImpl<$Res>;
    $Res call({QuranPage quranPage});
  
    $QuranPageCopyWith<$Res> get quranPage;
  }
  
  /// @nodoc
  class __$LoadedCopyWithImpl<$Res> extends _$QuranPageStateCopyWithImpl<$Res>
      implements _$LoadedCopyWith<$Res> {
    __$LoadedCopyWithImpl(_Loaded _value, $Res Function(_Loaded) _then)
        : super(_value, (v) => _then(v as _Loaded));
  
    @override
    _Loaded get _value => super._value as _Loaded;
  
    @override
    $Res call({
      Object? quranPage = freezed,
    }) {
      return _then(_Loaded(
        quranPage == freezed
            ? _value.quranPage
            : quranPage // ignore: cast_nullable_to_non_nullable
                as QuranPage,
      ));
    }
  
    @override
    $QuranPageCopyWith<$Res> get quranPage {
      return $QuranPageCopyWith<$Res>(_value.quranPage, (value) {
        return _then(_value.copyWith(quranPage: value));
      });
    }
  }
  
  /// @nodoc
  
  class _$_Loaded implements _Loaded {
    const _$_Loaded(this.quranPage);
  
    @override
    final QuranPage quranPage;
  
    @override
    String toString() {
      return 'QuranPageState.loaded(quranPage: $quranPage)';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType &&
              other is _Loaded &&
              (identical(other.quranPage, quranPage) ||
                  other.quranPage == quranPage));
    }
  
    @override
    int get hashCode => Object.hash(runtimeType, quranPage);
  
    @JsonKey(ignore: true)
    @override
    _$LoadedCopyWith<_Loaded> get copyWith =>
        __$LoadedCopyWithImpl<_Loaded>(this, _$identity);
  
    @override
    @optionalTypeArgs
    TResult when<TResult extends Object?>({
      required TResult Function() loading,
      required TResult Function() downloading,
      required TResult Function() internetUnAvailable,
      required TResult Function(QuranPage quranPage) loaded,
    }) {
      return loaded(quranPage);
    }
  
    @override
    @optionalTypeArgs
    TResult? whenOrNull<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function()? downloading,
      TResult Function()? internetUnAvailable,
      TResult Function(QuranPage quranPage)? loaded,
    }) {
      return loaded?.call(quranPage);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>({
      TResult Function()? loading,
      TResult Function()? downloading,
      TResult Function()? internetUnAvailable,
      TResult Function(QuranPage quranPage)? loaded,
      required TResult orElse(),
    }) {
      if (loaded != null) {
        return loaded(quranPage);
      }
      return orElse();
    }
  
    @override
    @optionalTypeArgs
    TResult map<TResult extends Object?>({
      required TResult Function(_Loading value) loading,
      required TResult Function(_DownLoading value) downloading,
      required TResult Function(_InternetUnAvailable value) internetUnAvailable,
      required TResult Function(_Loaded value) loaded,
    }) {
      return loaded(this);
    }
  
    @override
    @optionalTypeArgs
    TResult? mapOrNull<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_DownLoading value)? downloading,
      TResult Function(_InternetUnAvailable value)? internetUnAvailable,
      TResult Function(_Loaded value)? loaded,
    }) {
      return loaded?.call(this);
    }
  
    @override
    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_Loading value)? loading,
      TResult Function(_DownLoading value)? downloading,
      TResult Function(_InternetUnAvailable value)? internetUnAvailable,
      TResult Function(_Loaded value)? loaded,
      required TResult orElse(),
    }) {
      if (loaded != null) {
        return loaded(this);
      }
      return orElse();
    }
  }
  
  abstract class _Loaded implements QuranPageState {
    const factory _Loaded(QuranPage quranPage) = _$_Loaded;
  
    QuranPage get quranPage;
    @JsonKey(ignore: true)
    _$LoadedCopyWith<_Loaded> get copyWith => throw _privateConstructorUsedError;
  }
  