mirrored_repositories/OLO-Games/marketplace/lib/core/error
// 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 'login_with_email_failure.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 _$LoginWithEmailFailure {
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() invalidEmail,
    required TResult Function() userDisabled,
    required TResult Function() userNotFound,
    required TResult Function() wrongPassword,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? userDisabled,
    TResult? Function()? userNotFound,
    TResult? Function()? wrongPassword,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? unknown,
    TResult Function()? networkRequestFailed,
    TResult Function()? invalidEmail,
    TResult Function()? userDisabled,
    TResult Function()? userNotFound,
    TResult Function()? wrongPassword,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailFailureUnknown value) unknown,
    required TResult Function(LoginWithEmailFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(LoginWithEmailFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(LoginWithEmailFailureUserDisabled value)
        userDisabled,
    required TResult Function(LoginWithEmailFailureUserNotFound value)
        userNotFound,
    required TResult Function(LoginWithEmailFailureWrongPassword value)
        wrongPassword,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult? Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult? Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult? Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult? Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $LoginWithEmailFailureCopyWith<$Res> {
  factory $LoginWithEmailFailureCopyWith(LoginWithEmailFailure value,
          $Res Function(LoginWithEmailFailure) then) =
      _$LoginWithEmailFailureCopyWithImpl<$Res, LoginWithEmailFailure>;
}

/// @nodoc
class _$LoginWithEmailFailureCopyWithImpl<$Res,
        $Val extends LoginWithEmailFailure>
    implements $LoginWithEmailFailureCopyWith<$Res> {
  _$LoginWithEmailFailureCopyWithImpl(this._value, this._then);

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

/// @nodoc
abstract class _$$LoginWithEmailFailureUnknownCopyWith<$Res> {
  factory _$$LoginWithEmailFailureUnknownCopyWith(
          _$LoginWithEmailFailureUnknown value,
          $Res Function(_$LoginWithEmailFailureUnknown) then) =
      __$$LoginWithEmailFailureUnknownCopyWithImpl<$Res>;
}

/// @nodoc
class __$$LoginWithEmailFailureUnknownCopyWithImpl<$Res>
    extends _$LoginWithEmailFailureCopyWithImpl<$Res,
        _$LoginWithEmailFailureUnknown>
    implements _$$LoginWithEmailFailureUnknownCopyWith<$Res> {
  __$$LoginWithEmailFailureUnknownCopyWithImpl(
      _$LoginWithEmailFailureUnknown _value,
      $Res Function(_$LoginWithEmailFailureUnknown) _then)
      : super(_value, _then);
}

/// @nodoc

class _$LoginWithEmailFailureUnknown implements LoginWithEmailFailureUnknown {
  const _$LoginWithEmailFailureUnknown();

  @override
  String toString() {
    return 'LoginWithEmailFailure.unknown()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() invalidEmail,
    required TResult Function() userDisabled,
    required TResult Function() userNotFound,
    required TResult Function() wrongPassword,
  }) {
    return unknown();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? userDisabled,
    TResult? Function()? userNotFound,
    TResult? Function()? wrongPassword,
  }) {
    return unknown?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? unknown,
    TResult Function()? networkRequestFailed,
    TResult Function()? invalidEmail,
    TResult Function()? userDisabled,
    TResult Function()? userNotFound,
    TResult Function()? wrongPassword,
    required TResult orElse(),
  }) {
    if (unknown != null) {
      return unknown();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailFailureUnknown value) unknown,
    required TResult Function(LoginWithEmailFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(LoginWithEmailFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(LoginWithEmailFailureUserDisabled value)
        userDisabled,
    required TResult Function(LoginWithEmailFailureUserNotFound value)
        userNotFound,
    required TResult Function(LoginWithEmailFailureWrongPassword value)
        wrongPassword,
  }) {
    return unknown(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult? Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult? Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult? Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult? Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
  }) {
    return unknown?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
    required TResult orElse(),
  }) {
    if (unknown != null) {
      return unknown(this);
    }
    return orElse();
  }
}

abstract class LoginWithEmailFailureUnknown implements LoginWithEmailFailure {
  const factory LoginWithEmailFailureUnknown() = _$LoginWithEmailFailureUnknown;
}

/// @nodoc
abstract class _$$LoginWithEmailFailureNetworkRequestFailedCopyWith<$Res> {
  factory _$$LoginWithEmailFailureNetworkRequestFailedCopyWith(
          _$LoginWithEmailFailureNetworkRequestFailed value,
          $Res Function(_$LoginWithEmailFailureNetworkRequestFailed) then) =
      __$$LoginWithEmailFailureNetworkRequestFailedCopyWithImpl<$Res>;
}

/// @nodoc
class __$$LoginWithEmailFailureNetworkRequestFailedCopyWithImpl<$Res>
    extends _$LoginWithEmailFailureCopyWithImpl<$Res,
        _$LoginWithEmailFailureNetworkRequestFailed>
    implements _$$LoginWithEmailFailureNetworkRequestFailedCopyWith<$Res> {
  __$$LoginWithEmailFailureNetworkRequestFailedCopyWithImpl(
      _$LoginWithEmailFailureNetworkRequestFailed _value,
      $Res Function(_$LoginWithEmailFailureNetworkRequestFailed) _then)
      : super(_value, _then);
}

/// @nodoc

class _$LoginWithEmailFailureNetworkRequestFailed
    implements LoginWithEmailFailureNetworkRequestFailed {
  const _$LoginWithEmailFailureNetworkRequestFailed();

  @override
  String toString() {
    return 'LoginWithEmailFailure.networkRequestFailed()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() invalidEmail,
    required TResult Function() userDisabled,
    required TResult Function() userNotFound,
    required TResult Function() wrongPassword,
  }) {
    return networkRequestFailed();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? userDisabled,
    TResult? Function()? userNotFound,
    TResult? Function()? wrongPassword,
  }) {
    return networkRequestFailed?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? unknown,
    TResult Function()? networkRequestFailed,
    TResult Function()? invalidEmail,
    TResult Function()? userDisabled,
    TResult Function()? userNotFound,
    TResult Function()? wrongPassword,
    required TResult orElse(),
  }) {
    if (networkRequestFailed != null) {
      return networkRequestFailed();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailFailureUnknown value) unknown,
    required TResult Function(LoginWithEmailFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(LoginWithEmailFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(LoginWithEmailFailureUserDisabled value)
        userDisabled,
    required TResult Function(LoginWithEmailFailureUserNotFound value)
        userNotFound,
    required TResult Function(LoginWithEmailFailureWrongPassword value)
        wrongPassword,
  }) {
    return networkRequestFailed(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult? Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult? Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult? Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult? Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
  }) {
    return networkRequestFailed?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
    required TResult orElse(),
  }) {
    if (networkRequestFailed != null) {
      return networkRequestFailed(this);
    }
    return orElse();
  }
}

abstract class LoginWithEmailFailureNetworkRequestFailed
    implements LoginWithEmailFailure {
  const factory LoginWithEmailFailureNetworkRequestFailed() =
      _$LoginWithEmailFailureNetworkRequestFailed;
}

/// @nodoc
abstract class _$$LoginWithEmailFailureInvalidEmailCopyWith<$Res> {
  factory _$$LoginWithEmailFailureInvalidEmailCopyWith(
          _$LoginWithEmailFailureInvalidEmail value,
          $Res Function(_$LoginWithEmailFailureInvalidEmail) then) =
      __$$LoginWithEmailFailureInvalidEmailCopyWithImpl<$Res>;
}

/// @nodoc
class __$$LoginWithEmailFailureInvalidEmailCopyWithImpl<$Res>
    extends _$LoginWithEmailFailureCopyWithImpl<$Res,
        _$LoginWithEmailFailureInvalidEmail>
    implements _$$LoginWithEmailFailureInvalidEmailCopyWith<$Res> {
  __$$LoginWithEmailFailureInvalidEmailCopyWithImpl(
      _$LoginWithEmailFailureInvalidEmail _value,
      $Res Function(_$LoginWithEmailFailureInvalidEmail) _then)
      : super(_value, _then);
}

/// @nodoc

class _$LoginWithEmailFailureInvalidEmail
    implements LoginWithEmailFailureInvalidEmail {
  const _$LoginWithEmailFailureInvalidEmail();

  @override
  String toString() {
    return 'LoginWithEmailFailure.invalidEmail()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() invalidEmail,
    required TResult Function() userDisabled,
    required TResult Function() userNotFound,
    required TResult Function() wrongPassword,
  }) {
    return invalidEmail();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? userDisabled,
    TResult? Function()? userNotFound,
    TResult? Function()? wrongPassword,
  }) {
    return invalidEmail?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? unknown,
    TResult Function()? networkRequestFailed,
    TResult Function()? invalidEmail,
    TResult Function()? userDisabled,
    TResult Function()? userNotFound,
    TResult Function()? wrongPassword,
    required TResult orElse(),
  }) {
    if (invalidEmail != null) {
      return invalidEmail();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailFailureUnknown value) unknown,
    required TResult Function(LoginWithEmailFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(LoginWithEmailFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(LoginWithEmailFailureUserDisabled value)
        userDisabled,
    required TResult Function(LoginWithEmailFailureUserNotFound value)
        userNotFound,
    required TResult Function(LoginWithEmailFailureWrongPassword value)
        wrongPassword,
  }) {
    return invalidEmail(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult? Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult? Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult? Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult? Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
  }) {
    return invalidEmail?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
    required TResult orElse(),
  }) {
    if (invalidEmail != null) {
      return invalidEmail(this);
    }
    return orElse();
  }
}

abstract class LoginWithEmailFailureInvalidEmail
    implements LoginWithEmailFailure {
  const factory LoginWithEmailFailureInvalidEmail() =
      _$LoginWithEmailFailureInvalidEmail;
}

/// @nodoc
abstract class _$$LoginWithEmailFailureUserDisabledCopyWith<$Res> {
  factory _$$LoginWithEmailFailureUserDisabledCopyWith(
          _$LoginWithEmailFailureUserDisabled value,
          $Res Function(_$LoginWithEmailFailureUserDisabled) then) =
      __$$LoginWithEmailFailureUserDisabledCopyWithImpl<$Res>;
}

/// @nodoc
class __$$LoginWithEmailFailureUserDisabledCopyWithImpl<$Res>
    extends _$LoginWithEmailFailureCopyWithImpl<$Res,
        _$LoginWithEmailFailureUserDisabled>
    implements _$$LoginWithEmailFailureUserDisabledCopyWith<$Res> {
  __$$LoginWithEmailFailureUserDisabledCopyWithImpl(
      _$LoginWithEmailFailureUserDisabled _value,
      $Res Function(_$LoginWithEmailFailureUserDisabled) _then)
      : super(_value, _then);
}

/// @nodoc

class _$LoginWithEmailFailureUserDisabled
    implements LoginWithEmailFailureUserDisabled {
  const _$LoginWithEmailFailureUserDisabled();

  @override
  String toString() {
    return 'LoginWithEmailFailure.userDisabled()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() invalidEmail,
    required TResult Function() userDisabled,
    required TResult Function() userNotFound,
    required TResult Function() wrongPassword,
  }) {
    return userDisabled();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? userDisabled,
    TResult? Function()? userNotFound,
    TResult? Function()? wrongPassword,
  }) {
    return userDisabled?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? unknown,
    TResult Function()? networkRequestFailed,
    TResult Function()? invalidEmail,
    TResult Function()? userDisabled,
    TResult Function()? userNotFound,
    TResult Function()? wrongPassword,
    required TResult orElse(),
  }) {
    if (userDisabled != null) {
      return userDisabled();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailFailureUnknown value) unknown,
    required TResult Function(LoginWithEmailFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(LoginWithEmailFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(LoginWithEmailFailureUserDisabled value)
        userDisabled,
    required TResult Function(LoginWithEmailFailureUserNotFound value)
        userNotFound,
    required TResult Function(LoginWithEmailFailureWrongPassword value)
        wrongPassword,
  }) {
    return userDisabled(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult? Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult? Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult? Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult? Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
  }) {
    return userDisabled?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
    required TResult orElse(),
  }) {
    if (userDisabled != null) {
      return userDisabled(this);
    }
    return orElse();
  }
}

abstract class LoginWithEmailFailureUserDisabled
    implements LoginWithEmailFailure {
  const factory LoginWithEmailFailureUserDisabled() =
      _$LoginWithEmailFailureUserDisabled;
}

/// @nodoc
abstract class _$$LoginWithEmailFailureUserNotFoundCopyWith<$Res> {
  factory _$$LoginWithEmailFailureUserNotFoundCopyWith(
          _$LoginWithEmailFailureUserNotFound value,
          $Res Function(_$LoginWithEmailFailureUserNotFound) then) =
      __$$LoginWithEmailFailureUserNotFoundCopyWithImpl<$Res>;
}

/// @nodoc
class __$$LoginWithEmailFailureUserNotFoundCopyWithImpl<$Res>
    extends _$LoginWithEmailFailureCopyWithImpl<$Res,
        _$LoginWithEmailFailureUserNotFound>
    implements _$$LoginWithEmailFailureUserNotFoundCopyWith<$Res> {
  __$$LoginWithEmailFailureUserNotFoundCopyWithImpl(
      _$LoginWithEmailFailureUserNotFound _value,
      $Res Function(_$LoginWithEmailFailureUserNotFound) _then)
      : super(_value, _then);
}

/// @nodoc

class _$LoginWithEmailFailureUserNotFound
    implements LoginWithEmailFailureUserNotFound {
  const _$LoginWithEmailFailureUserNotFound();

  @override
  String toString() {
    return 'LoginWithEmailFailure.userNotFound()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() invalidEmail,
    required TResult Function() userDisabled,
    required TResult Function() userNotFound,
    required TResult Function() wrongPassword,
  }) {
    return userNotFound();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? userDisabled,
    TResult? Function()? userNotFound,
    TResult? Function()? wrongPassword,
  }) {
    return userNotFound?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? unknown,
    TResult Function()? networkRequestFailed,
    TResult Function()? invalidEmail,
    TResult Function()? userDisabled,
    TResult Function()? userNotFound,
    TResult Function()? wrongPassword,
    required TResult orElse(),
  }) {
    if (userNotFound != null) {
      return userNotFound();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailFailureUnknown value) unknown,
    required TResult Function(LoginWithEmailFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(LoginWithEmailFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(LoginWithEmailFailureUserDisabled value)
        userDisabled,
    required TResult Function(LoginWithEmailFailureUserNotFound value)
        userNotFound,
    required TResult Function(LoginWithEmailFailureWrongPassword value)
        wrongPassword,
  }) {
    return userNotFound(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult? Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult? Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult? Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult? Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
  }) {
    return userNotFound?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
    required TResult orElse(),
  }) {
    if (userNotFound != null) {
      return userNotFound(this);
    }
    return orElse();
  }
}

abstract class LoginWithEmailFailureUserNotFound
    implements LoginWithEmailFailure {
  const factory LoginWithEmailFailureUserNotFound() =
      _$LoginWithEmailFailureUserNotFound;
}

/// @nodoc
abstract class _$$LoginWithEmailFailureWrongPasswordCopyWith<$Res> {
  factory _$$LoginWithEmailFailureWrongPasswordCopyWith(
          _$LoginWithEmailFailureWrongPassword value,
          $Res Function(_$LoginWithEmailFailureWrongPassword) then) =
      __$$LoginWithEmailFailureWrongPasswordCopyWithImpl<$Res>;
}

/// @nodoc
class __$$LoginWithEmailFailureWrongPasswordCopyWithImpl<$Res>
    extends _$LoginWithEmailFailureCopyWithImpl<$Res,
        _$LoginWithEmailFailureWrongPassword>
    implements _$$LoginWithEmailFailureWrongPasswordCopyWith<$Res> {
  __$$LoginWithEmailFailureWrongPasswordCopyWithImpl(
      _$LoginWithEmailFailureWrongPassword _value,
      $Res Function(_$LoginWithEmailFailureWrongPassword) _then)
      : super(_value, _then);
}

/// @nodoc

class _$LoginWithEmailFailureWrongPassword
    implements LoginWithEmailFailureWrongPassword {
  const _$LoginWithEmailFailureWrongPassword();

  @override
  String toString() {
    return 'LoginWithEmailFailure.wrongPassword()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() invalidEmail,
    required TResult Function() userDisabled,
    required TResult Function() userNotFound,
    required TResult Function() wrongPassword,
  }) {
    return wrongPassword();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? userDisabled,
    TResult? Function()? userNotFound,
    TResult? Function()? wrongPassword,
  }) {
    return wrongPassword?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? unknown,
    TResult Function()? networkRequestFailed,
    TResult Function()? invalidEmail,
    TResult Function()? userDisabled,
    TResult Function()? userNotFound,
    TResult Function()? wrongPassword,
    required TResult orElse(),
  }) {
    if (wrongPassword != null) {
      return wrongPassword();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailFailureUnknown value) unknown,
    required TResult Function(LoginWithEmailFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(LoginWithEmailFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(LoginWithEmailFailureUserDisabled value)
        userDisabled,
    required TResult Function(LoginWithEmailFailureUserNotFound value)
        userNotFound,
    required TResult Function(LoginWithEmailFailureWrongPassword value)
        wrongPassword,
  }) {
    return wrongPassword(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult? Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult? Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult? Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult? Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
  }) {
    return wrongPassword?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailFailureUnknown value)? unknown,
    TResult Function(LoginWithEmailFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(LoginWithEmailFailureInvalidEmail value)? invalidEmail,
    TResult Function(LoginWithEmailFailureUserDisabled value)? userDisabled,
    TResult Function(LoginWithEmailFailureUserNotFound value)? userNotFound,
    TResult Function(LoginWithEmailFailureWrongPassword value)? wrongPassword,
    required TResult orElse(),
  }) {
    if (wrongPassword != null) {
      return wrongPassword(this);
    }
    return orElse();
  }
}

abstract class LoginWithEmailFailureWrongPassword
    implements LoginWithEmailFailure {
  const factory LoginWithEmailFailureWrongPassword() =
      _$LoginWithEmailFailureWrongPassword;
}
