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 'reset_password_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 _$ResetPasswordFailure {
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() invalidEmail,
    required TResult Function() missingAndroidPkgName,
    required TResult Function() missingContinueUri,
    required TResult Function() missingIosBundleId,
    required TResult Function() invalidContinueUri,
    required TResult Function() unauthorizedContinueUri,
    required TResult Function() userNotFound,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? missingAndroidPkgName,
    TResult? Function()? missingContinueUri,
    TResult? Function()? missingIosBundleId,
    TResult? Function()? invalidContinueUri,
    TResult? Function()? unauthorizedContinueUri,
    TResult? Function()? userNotFound,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? unknown,
    TResult Function()? networkRequestFailed,
    TResult Function()? invalidEmail,
    TResult Function()? missingAndroidPkgName,
    TResult Function()? missingContinueUri,
    TResult Function()? missingIosBundleId,
    TResult Function()? invalidContinueUri,
    TResult Function()? unauthorizedContinueUri,
    TResult Function()? userNotFound,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(ResetPasswordFailureUnknown value) unknown,
    required TResult Function(ResetPasswordFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(ResetPasswordFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(ResetPasswordFailureMissingAndroidPkgName value)
        missingAndroidPkgName,
    required TResult Function(ResetPasswordFailureMissingContinueUri value)
        missingContinueUri,
    required TResult Function(ResetPasswordFailureMissingIosBundleId value)
        missingIosBundleId,
    required TResult Function(ResetPasswordFailureInvalidContinueUri value)
        invalidContinueUri,
    required TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)
        unauthorizedContinueUri,
    required TResult Function(ResetPasswordFailureUserNotFound value)
        userNotFound,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordFailureUnknown value)? unknown,
    TResult? Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult? Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult? Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult? Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult? Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult? Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult? Function(ResetPasswordFailureUserNotFound value)? userNotFound,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordFailureUnknown value)? unknown,
    TResult Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult Function(ResetPasswordFailureUserNotFound value)? userNotFound,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $ResetPasswordFailureCopyWith<$Res> {
  factory $ResetPasswordFailureCopyWith(ResetPasswordFailure value,
          $Res Function(ResetPasswordFailure) then) =
      _$ResetPasswordFailureCopyWithImpl<$Res, ResetPasswordFailure>;
}

/// @nodoc
class _$ResetPasswordFailureCopyWithImpl<$Res,
        $Val extends ResetPasswordFailure>
    implements $ResetPasswordFailureCopyWith<$Res> {
  _$ResetPasswordFailureCopyWithImpl(this._value, this._then);

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

/// @nodoc
abstract class _$$ResetPasswordFailureUnknownCopyWith<$Res> {
  factory _$$ResetPasswordFailureUnknownCopyWith(
          _$ResetPasswordFailureUnknown value,
          $Res Function(_$ResetPasswordFailureUnknown) then) =
      __$$ResetPasswordFailureUnknownCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordFailureUnknownCopyWithImpl<$Res>
    extends _$ResetPasswordFailureCopyWithImpl<$Res,
        _$ResetPasswordFailureUnknown>
    implements _$$ResetPasswordFailureUnknownCopyWith<$Res> {
  __$$ResetPasswordFailureUnknownCopyWithImpl(
      _$ResetPasswordFailureUnknown _value,
      $Res Function(_$ResetPasswordFailureUnknown) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @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() missingAndroidPkgName,
    required TResult Function() missingContinueUri,
    required TResult Function() missingIosBundleId,
    required TResult Function() invalidContinueUri,
    required TResult Function() unauthorizedContinueUri,
    required TResult Function() userNotFound,
  }) {
    return unknown();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? missingAndroidPkgName,
    TResult? Function()? missingContinueUri,
    TResult? Function()? missingIosBundleId,
    TResult? Function()? invalidContinueUri,
    TResult? Function()? unauthorizedContinueUri,
    TResult? Function()? userNotFound,
  }) {
    return unknown?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(ResetPasswordFailureUnknown value) unknown,
    required TResult Function(ResetPasswordFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(ResetPasswordFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(ResetPasswordFailureMissingAndroidPkgName value)
        missingAndroidPkgName,
    required TResult Function(ResetPasswordFailureMissingContinueUri value)
        missingContinueUri,
    required TResult Function(ResetPasswordFailureMissingIosBundleId value)
        missingIosBundleId,
    required TResult Function(ResetPasswordFailureInvalidContinueUri value)
        invalidContinueUri,
    required TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)
        unauthorizedContinueUri,
    required TResult Function(ResetPasswordFailureUserNotFound value)
        userNotFound,
  }) {
    return unknown(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordFailureUnknown value)? unknown,
    TResult? Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult? Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult? Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult? Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult? Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult? Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult? Function(ResetPasswordFailureUserNotFound value)? userNotFound,
  }) {
    return unknown?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordFailureUnknown value)? unknown,
    TResult Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult Function(ResetPasswordFailureUserNotFound value)? userNotFound,
    required TResult orElse(),
  }) {
    if (unknown != null) {
      return unknown(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordFailureUnknown implements ResetPasswordFailure {
  const factory ResetPasswordFailureUnknown() = _$ResetPasswordFailureUnknown;
}

/// @nodoc
abstract class _$$ResetPasswordFailureNetworkRequestFailedCopyWith<$Res> {
  factory _$$ResetPasswordFailureNetworkRequestFailedCopyWith(
          _$ResetPasswordFailureNetworkRequestFailed value,
          $Res Function(_$ResetPasswordFailureNetworkRequestFailed) then) =
      __$$ResetPasswordFailureNetworkRequestFailedCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordFailureNetworkRequestFailedCopyWithImpl<$Res>
    extends _$ResetPasswordFailureCopyWithImpl<$Res,
        _$ResetPasswordFailureNetworkRequestFailed>
    implements _$$ResetPasswordFailureNetworkRequestFailedCopyWith<$Res> {
  __$$ResetPasswordFailureNetworkRequestFailedCopyWithImpl(
      _$ResetPasswordFailureNetworkRequestFailed _value,
      $Res Function(_$ResetPasswordFailureNetworkRequestFailed) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @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() missingAndroidPkgName,
    required TResult Function() missingContinueUri,
    required TResult Function() missingIosBundleId,
    required TResult Function() invalidContinueUri,
    required TResult Function() unauthorizedContinueUri,
    required TResult Function() userNotFound,
  }) {
    return networkRequestFailed();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? missingAndroidPkgName,
    TResult? Function()? missingContinueUri,
    TResult? Function()? missingIosBundleId,
    TResult? Function()? invalidContinueUri,
    TResult? Function()? unauthorizedContinueUri,
    TResult? Function()? userNotFound,
  }) {
    return networkRequestFailed?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(ResetPasswordFailureUnknown value) unknown,
    required TResult Function(ResetPasswordFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(ResetPasswordFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(ResetPasswordFailureMissingAndroidPkgName value)
        missingAndroidPkgName,
    required TResult Function(ResetPasswordFailureMissingContinueUri value)
        missingContinueUri,
    required TResult Function(ResetPasswordFailureMissingIosBundleId value)
        missingIosBundleId,
    required TResult Function(ResetPasswordFailureInvalidContinueUri value)
        invalidContinueUri,
    required TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)
        unauthorizedContinueUri,
    required TResult Function(ResetPasswordFailureUserNotFound value)
        userNotFound,
  }) {
    return networkRequestFailed(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordFailureUnknown value)? unknown,
    TResult? Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult? Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult? Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult? Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult? Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult? Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult? Function(ResetPasswordFailureUserNotFound value)? userNotFound,
  }) {
    return networkRequestFailed?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordFailureUnknown value)? unknown,
    TResult Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult Function(ResetPasswordFailureUserNotFound value)? userNotFound,
    required TResult orElse(),
  }) {
    if (networkRequestFailed != null) {
      return networkRequestFailed(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordFailureNetworkRequestFailed
    implements ResetPasswordFailure {
  const factory ResetPasswordFailureNetworkRequestFailed() =
      _$ResetPasswordFailureNetworkRequestFailed;
}

/// @nodoc
abstract class _$$ResetPasswordFailureInvalidEmailCopyWith<$Res> {
  factory _$$ResetPasswordFailureInvalidEmailCopyWith(
          _$ResetPasswordFailureInvalidEmail value,
          $Res Function(_$ResetPasswordFailureInvalidEmail) then) =
      __$$ResetPasswordFailureInvalidEmailCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordFailureInvalidEmailCopyWithImpl<$Res>
    extends _$ResetPasswordFailureCopyWithImpl<$Res,
        _$ResetPasswordFailureInvalidEmail>
    implements _$$ResetPasswordFailureInvalidEmailCopyWith<$Res> {
  __$$ResetPasswordFailureInvalidEmailCopyWithImpl(
      _$ResetPasswordFailureInvalidEmail _value,
      $Res Function(_$ResetPasswordFailureInvalidEmail) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @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() missingAndroidPkgName,
    required TResult Function() missingContinueUri,
    required TResult Function() missingIosBundleId,
    required TResult Function() invalidContinueUri,
    required TResult Function() unauthorizedContinueUri,
    required TResult Function() userNotFound,
  }) {
    return invalidEmail();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? missingAndroidPkgName,
    TResult? Function()? missingContinueUri,
    TResult? Function()? missingIosBundleId,
    TResult? Function()? invalidContinueUri,
    TResult? Function()? unauthorizedContinueUri,
    TResult? Function()? userNotFound,
  }) {
    return invalidEmail?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(ResetPasswordFailureUnknown value) unknown,
    required TResult Function(ResetPasswordFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(ResetPasswordFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(ResetPasswordFailureMissingAndroidPkgName value)
        missingAndroidPkgName,
    required TResult Function(ResetPasswordFailureMissingContinueUri value)
        missingContinueUri,
    required TResult Function(ResetPasswordFailureMissingIosBundleId value)
        missingIosBundleId,
    required TResult Function(ResetPasswordFailureInvalidContinueUri value)
        invalidContinueUri,
    required TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)
        unauthorizedContinueUri,
    required TResult Function(ResetPasswordFailureUserNotFound value)
        userNotFound,
  }) {
    return invalidEmail(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordFailureUnknown value)? unknown,
    TResult? Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult? Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult? Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult? Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult? Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult? Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult? Function(ResetPasswordFailureUserNotFound value)? userNotFound,
  }) {
    return invalidEmail?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordFailureUnknown value)? unknown,
    TResult Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult Function(ResetPasswordFailureUserNotFound value)? userNotFound,
    required TResult orElse(),
  }) {
    if (invalidEmail != null) {
      return invalidEmail(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordFailureInvalidEmail
    implements ResetPasswordFailure {
  const factory ResetPasswordFailureInvalidEmail() =
      _$ResetPasswordFailureInvalidEmail;
}

/// @nodoc
abstract class _$$ResetPasswordFailureMissingAndroidPkgNameCopyWith<$Res> {
  factory _$$ResetPasswordFailureMissingAndroidPkgNameCopyWith(
          _$ResetPasswordFailureMissingAndroidPkgName value,
          $Res Function(_$ResetPasswordFailureMissingAndroidPkgName) then) =
      __$$ResetPasswordFailureMissingAndroidPkgNameCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordFailureMissingAndroidPkgNameCopyWithImpl<$Res>
    extends _$ResetPasswordFailureCopyWithImpl<$Res,
        _$ResetPasswordFailureMissingAndroidPkgName>
    implements _$$ResetPasswordFailureMissingAndroidPkgNameCopyWith<$Res> {
  __$$ResetPasswordFailureMissingAndroidPkgNameCopyWithImpl(
      _$ResetPasswordFailureMissingAndroidPkgName _value,
      $Res Function(_$ResetPasswordFailureMissingAndroidPkgName) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'ResetPasswordFailure.missingAndroidPkgName()';
  }

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

  @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() missingAndroidPkgName,
    required TResult Function() missingContinueUri,
    required TResult Function() missingIosBundleId,
    required TResult Function() invalidContinueUri,
    required TResult Function() unauthorizedContinueUri,
    required TResult Function() userNotFound,
  }) {
    return missingAndroidPkgName();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? missingAndroidPkgName,
    TResult? Function()? missingContinueUri,
    TResult? Function()? missingIosBundleId,
    TResult? Function()? invalidContinueUri,
    TResult? Function()? unauthorizedContinueUri,
    TResult? Function()? userNotFound,
  }) {
    return missingAndroidPkgName?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(ResetPasswordFailureUnknown value) unknown,
    required TResult Function(ResetPasswordFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(ResetPasswordFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(ResetPasswordFailureMissingAndroidPkgName value)
        missingAndroidPkgName,
    required TResult Function(ResetPasswordFailureMissingContinueUri value)
        missingContinueUri,
    required TResult Function(ResetPasswordFailureMissingIosBundleId value)
        missingIosBundleId,
    required TResult Function(ResetPasswordFailureInvalidContinueUri value)
        invalidContinueUri,
    required TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)
        unauthorizedContinueUri,
    required TResult Function(ResetPasswordFailureUserNotFound value)
        userNotFound,
  }) {
    return missingAndroidPkgName(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordFailureUnknown value)? unknown,
    TResult? Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult? Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult? Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult? Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult? Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult? Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult? Function(ResetPasswordFailureUserNotFound value)? userNotFound,
  }) {
    return missingAndroidPkgName?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordFailureUnknown value)? unknown,
    TResult Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult Function(ResetPasswordFailureUserNotFound value)? userNotFound,
    required TResult orElse(),
  }) {
    if (missingAndroidPkgName != null) {
      return missingAndroidPkgName(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordFailureMissingAndroidPkgName
    implements ResetPasswordFailure {
  const factory ResetPasswordFailureMissingAndroidPkgName() =
      _$ResetPasswordFailureMissingAndroidPkgName;
}

/// @nodoc
abstract class _$$ResetPasswordFailureMissingContinueUriCopyWith<$Res> {
  factory _$$ResetPasswordFailureMissingContinueUriCopyWith(
          _$ResetPasswordFailureMissingContinueUri value,
          $Res Function(_$ResetPasswordFailureMissingContinueUri) then) =
      __$$ResetPasswordFailureMissingContinueUriCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordFailureMissingContinueUriCopyWithImpl<$Res>
    extends _$ResetPasswordFailureCopyWithImpl<$Res,
        _$ResetPasswordFailureMissingContinueUri>
    implements _$$ResetPasswordFailureMissingContinueUriCopyWith<$Res> {
  __$$ResetPasswordFailureMissingContinueUriCopyWithImpl(
      _$ResetPasswordFailureMissingContinueUri _value,
      $Res Function(_$ResetPasswordFailureMissingContinueUri) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'ResetPasswordFailure.missingContinueUri()';
  }

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

  @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() missingAndroidPkgName,
    required TResult Function() missingContinueUri,
    required TResult Function() missingIosBundleId,
    required TResult Function() invalidContinueUri,
    required TResult Function() unauthorizedContinueUri,
    required TResult Function() userNotFound,
  }) {
    return missingContinueUri();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? missingAndroidPkgName,
    TResult? Function()? missingContinueUri,
    TResult? Function()? missingIosBundleId,
    TResult? Function()? invalidContinueUri,
    TResult? Function()? unauthorizedContinueUri,
    TResult? Function()? userNotFound,
  }) {
    return missingContinueUri?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(ResetPasswordFailureUnknown value) unknown,
    required TResult Function(ResetPasswordFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(ResetPasswordFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(ResetPasswordFailureMissingAndroidPkgName value)
        missingAndroidPkgName,
    required TResult Function(ResetPasswordFailureMissingContinueUri value)
        missingContinueUri,
    required TResult Function(ResetPasswordFailureMissingIosBundleId value)
        missingIosBundleId,
    required TResult Function(ResetPasswordFailureInvalidContinueUri value)
        invalidContinueUri,
    required TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)
        unauthorizedContinueUri,
    required TResult Function(ResetPasswordFailureUserNotFound value)
        userNotFound,
  }) {
    return missingContinueUri(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordFailureUnknown value)? unknown,
    TResult? Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult? Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult? Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult? Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult? Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult? Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult? Function(ResetPasswordFailureUserNotFound value)? userNotFound,
  }) {
    return missingContinueUri?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordFailureUnknown value)? unknown,
    TResult Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult Function(ResetPasswordFailureUserNotFound value)? userNotFound,
    required TResult orElse(),
  }) {
    if (missingContinueUri != null) {
      return missingContinueUri(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordFailureMissingContinueUri
    implements ResetPasswordFailure {
  const factory ResetPasswordFailureMissingContinueUri() =
      _$ResetPasswordFailureMissingContinueUri;
}

/// @nodoc
abstract class _$$ResetPasswordFailureMissingIosBundleIdCopyWith<$Res> {
  factory _$$ResetPasswordFailureMissingIosBundleIdCopyWith(
          _$ResetPasswordFailureMissingIosBundleId value,
          $Res Function(_$ResetPasswordFailureMissingIosBundleId) then) =
      __$$ResetPasswordFailureMissingIosBundleIdCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordFailureMissingIosBundleIdCopyWithImpl<$Res>
    extends _$ResetPasswordFailureCopyWithImpl<$Res,
        _$ResetPasswordFailureMissingIosBundleId>
    implements _$$ResetPasswordFailureMissingIosBundleIdCopyWith<$Res> {
  __$$ResetPasswordFailureMissingIosBundleIdCopyWithImpl(
      _$ResetPasswordFailureMissingIosBundleId _value,
      $Res Function(_$ResetPasswordFailureMissingIosBundleId) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'ResetPasswordFailure.missingIosBundleId()';
  }

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

  @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() missingAndroidPkgName,
    required TResult Function() missingContinueUri,
    required TResult Function() missingIosBundleId,
    required TResult Function() invalidContinueUri,
    required TResult Function() unauthorizedContinueUri,
    required TResult Function() userNotFound,
  }) {
    return missingIosBundleId();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? missingAndroidPkgName,
    TResult? Function()? missingContinueUri,
    TResult? Function()? missingIosBundleId,
    TResult? Function()? invalidContinueUri,
    TResult? Function()? unauthorizedContinueUri,
    TResult? Function()? userNotFound,
  }) {
    return missingIosBundleId?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(ResetPasswordFailureUnknown value) unknown,
    required TResult Function(ResetPasswordFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(ResetPasswordFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(ResetPasswordFailureMissingAndroidPkgName value)
        missingAndroidPkgName,
    required TResult Function(ResetPasswordFailureMissingContinueUri value)
        missingContinueUri,
    required TResult Function(ResetPasswordFailureMissingIosBundleId value)
        missingIosBundleId,
    required TResult Function(ResetPasswordFailureInvalidContinueUri value)
        invalidContinueUri,
    required TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)
        unauthorizedContinueUri,
    required TResult Function(ResetPasswordFailureUserNotFound value)
        userNotFound,
  }) {
    return missingIosBundleId(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordFailureUnknown value)? unknown,
    TResult? Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult? Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult? Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult? Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult? Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult? Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult? Function(ResetPasswordFailureUserNotFound value)? userNotFound,
  }) {
    return missingIosBundleId?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordFailureUnknown value)? unknown,
    TResult Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult Function(ResetPasswordFailureUserNotFound value)? userNotFound,
    required TResult orElse(),
  }) {
    if (missingIosBundleId != null) {
      return missingIosBundleId(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordFailureMissingIosBundleId
    implements ResetPasswordFailure {
  const factory ResetPasswordFailureMissingIosBundleId() =
      _$ResetPasswordFailureMissingIosBundleId;
}

/// @nodoc
abstract class _$$ResetPasswordFailureInvalidContinueUriCopyWith<$Res> {
  factory _$$ResetPasswordFailureInvalidContinueUriCopyWith(
          _$ResetPasswordFailureInvalidContinueUri value,
          $Res Function(_$ResetPasswordFailureInvalidContinueUri) then) =
      __$$ResetPasswordFailureInvalidContinueUriCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordFailureInvalidContinueUriCopyWithImpl<$Res>
    extends _$ResetPasswordFailureCopyWithImpl<$Res,
        _$ResetPasswordFailureInvalidContinueUri>
    implements _$$ResetPasswordFailureInvalidContinueUriCopyWith<$Res> {
  __$$ResetPasswordFailureInvalidContinueUriCopyWithImpl(
      _$ResetPasswordFailureInvalidContinueUri _value,
      $Res Function(_$ResetPasswordFailureInvalidContinueUri) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'ResetPasswordFailure.invalidContinueUri()';
  }

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

  @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() missingAndroidPkgName,
    required TResult Function() missingContinueUri,
    required TResult Function() missingIosBundleId,
    required TResult Function() invalidContinueUri,
    required TResult Function() unauthorizedContinueUri,
    required TResult Function() userNotFound,
  }) {
    return invalidContinueUri();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? missingAndroidPkgName,
    TResult? Function()? missingContinueUri,
    TResult? Function()? missingIosBundleId,
    TResult? Function()? invalidContinueUri,
    TResult? Function()? unauthorizedContinueUri,
    TResult? Function()? userNotFound,
  }) {
    return invalidContinueUri?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(ResetPasswordFailureUnknown value) unknown,
    required TResult Function(ResetPasswordFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(ResetPasswordFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(ResetPasswordFailureMissingAndroidPkgName value)
        missingAndroidPkgName,
    required TResult Function(ResetPasswordFailureMissingContinueUri value)
        missingContinueUri,
    required TResult Function(ResetPasswordFailureMissingIosBundleId value)
        missingIosBundleId,
    required TResult Function(ResetPasswordFailureInvalidContinueUri value)
        invalidContinueUri,
    required TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)
        unauthorizedContinueUri,
    required TResult Function(ResetPasswordFailureUserNotFound value)
        userNotFound,
  }) {
    return invalidContinueUri(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordFailureUnknown value)? unknown,
    TResult? Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult? Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult? Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult? Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult? Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult? Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult? Function(ResetPasswordFailureUserNotFound value)? userNotFound,
  }) {
    return invalidContinueUri?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordFailureUnknown value)? unknown,
    TResult Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult Function(ResetPasswordFailureUserNotFound value)? userNotFound,
    required TResult orElse(),
  }) {
    if (invalidContinueUri != null) {
      return invalidContinueUri(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordFailureInvalidContinueUri
    implements ResetPasswordFailure {
  const factory ResetPasswordFailureInvalidContinueUri() =
      _$ResetPasswordFailureInvalidContinueUri;
}

/// @nodoc
abstract class _$$ResetPasswordFailureUnauthorizedContinueUriCopyWith<$Res> {
  factory _$$ResetPasswordFailureUnauthorizedContinueUriCopyWith(
          _$ResetPasswordFailureUnauthorizedContinueUri value,
          $Res Function(_$ResetPasswordFailureUnauthorizedContinueUri) then) =
      __$$ResetPasswordFailureUnauthorizedContinueUriCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordFailureUnauthorizedContinueUriCopyWithImpl<$Res>
    extends _$ResetPasswordFailureCopyWithImpl<$Res,
        _$ResetPasswordFailureUnauthorizedContinueUri>
    implements _$$ResetPasswordFailureUnauthorizedContinueUriCopyWith<$Res> {
  __$$ResetPasswordFailureUnauthorizedContinueUriCopyWithImpl(
      _$ResetPasswordFailureUnauthorizedContinueUri _value,
      $Res Function(_$ResetPasswordFailureUnauthorizedContinueUri) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'ResetPasswordFailure.unauthorizedContinueUri()';
  }

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

  @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() missingAndroidPkgName,
    required TResult Function() missingContinueUri,
    required TResult Function() missingIosBundleId,
    required TResult Function() invalidContinueUri,
    required TResult Function() unauthorizedContinueUri,
    required TResult Function() userNotFound,
  }) {
    return unauthorizedContinueUri();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? missingAndroidPkgName,
    TResult? Function()? missingContinueUri,
    TResult? Function()? missingIosBundleId,
    TResult? Function()? invalidContinueUri,
    TResult? Function()? unauthorizedContinueUri,
    TResult? Function()? userNotFound,
  }) {
    return unauthorizedContinueUri?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(ResetPasswordFailureUnknown value) unknown,
    required TResult Function(ResetPasswordFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(ResetPasswordFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(ResetPasswordFailureMissingAndroidPkgName value)
        missingAndroidPkgName,
    required TResult Function(ResetPasswordFailureMissingContinueUri value)
        missingContinueUri,
    required TResult Function(ResetPasswordFailureMissingIosBundleId value)
        missingIosBundleId,
    required TResult Function(ResetPasswordFailureInvalidContinueUri value)
        invalidContinueUri,
    required TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)
        unauthorizedContinueUri,
    required TResult Function(ResetPasswordFailureUserNotFound value)
        userNotFound,
  }) {
    return unauthorizedContinueUri(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordFailureUnknown value)? unknown,
    TResult? Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult? Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult? Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult? Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult? Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult? Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult? Function(ResetPasswordFailureUserNotFound value)? userNotFound,
  }) {
    return unauthorizedContinueUri?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordFailureUnknown value)? unknown,
    TResult Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult Function(ResetPasswordFailureUserNotFound value)? userNotFound,
    required TResult orElse(),
  }) {
    if (unauthorizedContinueUri != null) {
      return unauthorizedContinueUri(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordFailureUnauthorizedContinueUri
    implements ResetPasswordFailure {
  const factory ResetPasswordFailureUnauthorizedContinueUri() =
      _$ResetPasswordFailureUnauthorizedContinueUri;
}

/// @nodoc
abstract class _$$ResetPasswordFailureUserNotFoundCopyWith<$Res> {
  factory _$$ResetPasswordFailureUserNotFoundCopyWith(
          _$ResetPasswordFailureUserNotFound value,
          $Res Function(_$ResetPasswordFailureUserNotFound) then) =
      __$$ResetPasswordFailureUserNotFoundCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordFailureUserNotFoundCopyWithImpl<$Res>
    extends _$ResetPasswordFailureCopyWithImpl<$Res,
        _$ResetPasswordFailureUserNotFound>
    implements _$$ResetPasswordFailureUserNotFoundCopyWith<$Res> {
  __$$ResetPasswordFailureUserNotFoundCopyWithImpl(
      _$ResetPasswordFailureUserNotFound _value,
      $Res Function(_$ResetPasswordFailureUserNotFound) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @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() missingAndroidPkgName,
    required TResult Function() missingContinueUri,
    required TResult Function() missingIosBundleId,
    required TResult Function() invalidContinueUri,
    required TResult Function() unauthorizedContinueUri,
    required TResult Function() userNotFound,
  }) {
    return userNotFound();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? invalidEmail,
    TResult? Function()? missingAndroidPkgName,
    TResult? Function()? missingContinueUri,
    TResult? Function()? missingIosBundleId,
    TResult? Function()? invalidContinueUri,
    TResult? Function()? unauthorizedContinueUri,
    TResult? Function()? userNotFound,
  }) {
    return userNotFound?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(ResetPasswordFailureUnknown value) unknown,
    required TResult Function(ResetPasswordFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(ResetPasswordFailureInvalidEmail value)
        invalidEmail,
    required TResult Function(ResetPasswordFailureMissingAndroidPkgName value)
        missingAndroidPkgName,
    required TResult Function(ResetPasswordFailureMissingContinueUri value)
        missingContinueUri,
    required TResult Function(ResetPasswordFailureMissingIosBundleId value)
        missingIosBundleId,
    required TResult Function(ResetPasswordFailureInvalidContinueUri value)
        invalidContinueUri,
    required TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)
        unauthorizedContinueUri,
    required TResult Function(ResetPasswordFailureUserNotFound value)
        userNotFound,
  }) {
    return userNotFound(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordFailureUnknown value)? unknown,
    TResult? Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult? Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult? Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult? Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult? Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult? Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult? Function(ResetPasswordFailureUserNotFound value)? userNotFound,
  }) {
    return userNotFound?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordFailureUnknown value)? unknown,
    TResult Function(ResetPasswordFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(ResetPasswordFailureInvalidEmail value)? invalidEmail,
    TResult Function(ResetPasswordFailureMissingAndroidPkgName value)?
        missingAndroidPkgName,
    TResult Function(ResetPasswordFailureMissingContinueUri value)?
        missingContinueUri,
    TResult Function(ResetPasswordFailureMissingIosBundleId value)?
        missingIosBundleId,
    TResult Function(ResetPasswordFailureInvalidContinueUri value)?
        invalidContinueUri,
    TResult Function(ResetPasswordFailureUnauthorizedContinueUri value)?
        unauthorizedContinueUri,
    TResult Function(ResetPasswordFailureUserNotFound value)? userNotFound,
    required TResult orElse(),
  }) {
    if (userNotFound != null) {
      return userNotFound(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordFailureUserNotFound
    implements ResetPasswordFailure {
  const factory ResetPasswordFailureUserNotFound() =
      _$ResetPasswordFailureUserNotFound;
}
