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 'signup_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 _$SignUpFailure {
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() emailAlreadyInUse,
    required TResult Function() invalidEmail,
    required TResult Function() operationNotAllowed,
    required TResult Function() weakPassword,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? emailAlreadyInUse,
    TResult? Function()? invalidEmail,
    TResult? Function()? operationNotAllowed,
    TResult? Function()? weakPassword,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? unknown,
    TResult Function()? networkRequestFailed,
    TResult Function()? emailAlreadyInUse,
    TResult Function()? invalidEmail,
    TResult Function()? operationNotAllowed,
    TResult Function()? weakPassword,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(SignUpFailureUnknown value) unknown,
    required TResult Function(SignUpFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(SignUpFailureEmailAlreadyInUse value)
        emailAlreadyInUse,
    required TResult Function(SignUpFailureInvalidEmail value) invalidEmail,
    required TResult Function(SignUpFailureOperationNotAllowed value)
        operationNotAllowed,
    required TResult Function(SignUpFailureWeakPassword value) weakPassword,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(SignUpFailureUnknown value)? unknown,
    TResult? Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult? Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult? Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult? Function(SignUpFailureWeakPassword value)? weakPassword,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(SignUpFailureUnknown value)? unknown,
    TResult Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult Function(SignUpFailureWeakPassword value)? weakPassword,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $SignUpFailureCopyWith<$Res> {
  factory $SignUpFailureCopyWith(
          SignUpFailure value, $Res Function(SignUpFailure) then) =
      _$SignUpFailureCopyWithImpl<$Res, SignUpFailure>;
}

/// @nodoc
class _$SignUpFailureCopyWithImpl<$Res, $Val extends SignUpFailure>
    implements $SignUpFailureCopyWith<$Res> {
  _$SignUpFailureCopyWithImpl(this._value, this._then);

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

/// @nodoc
abstract class _$$SignUpFailureUnknownCopyWith<$Res> {
  factory _$$SignUpFailureUnknownCopyWith(_$SignUpFailureUnknown value,
          $Res Function(_$SignUpFailureUnknown) then) =
      __$$SignUpFailureUnknownCopyWithImpl<$Res>;
}

/// @nodoc
class __$$SignUpFailureUnknownCopyWithImpl<$Res>
    extends _$SignUpFailureCopyWithImpl<$Res, _$SignUpFailureUnknown>
    implements _$$SignUpFailureUnknownCopyWith<$Res> {
  __$$SignUpFailureUnknownCopyWithImpl(_$SignUpFailureUnknown _value,
      $Res Function(_$SignUpFailureUnknown) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() emailAlreadyInUse,
    required TResult Function() invalidEmail,
    required TResult Function() operationNotAllowed,
    required TResult Function() weakPassword,
  }) {
    return unknown();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? emailAlreadyInUse,
    TResult? Function()? invalidEmail,
    TResult? Function()? operationNotAllowed,
    TResult? Function()? weakPassword,
  }) {
    return unknown?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(SignUpFailureUnknown value) unknown,
    required TResult Function(SignUpFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(SignUpFailureEmailAlreadyInUse value)
        emailAlreadyInUse,
    required TResult Function(SignUpFailureInvalidEmail value) invalidEmail,
    required TResult Function(SignUpFailureOperationNotAllowed value)
        operationNotAllowed,
    required TResult Function(SignUpFailureWeakPassword value) weakPassword,
  }) {
    return unknown(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(SignUpFailureUnknown value)? unknown,
    TResult? Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult? Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult? Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult? Function(SignUpFailureWeakPassword value)? weakPassword,
  }) {
    return unknown?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(SignUpFailureUnknown value)? unknown,
    TResult Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult Function(SignUpFailureWeakPassword value)? weakPassword,
    required TResult orElse(),
  }) {
    if (unknown != null) {
      return unknown(this);
    }
    return orElse();
  }
}

abstract class SignUpFailureUnknown implements SignUpFailure {
  const factory SignUpFailureUnknown() = _$SignUpFailureUnknown;
}

/// @nodoc
abstract class _$$SignUpFailureNetworkRequestFailedCopyWith<$Res> {
  factory _$$SignUpFailureNetworkRequestFailedCopyWith(
          _$SignUpFailureNetworkRequestFailed value,
          $Res Function(_$SignUpFailureNetworkRequestFailed) then) =
      __$$SignUpFailureNetworkRequestFailedCopyWithImpl<$Res>;
}

/// @nodoc
class __$$SignUpFailureNetworkRequestFailedCopyWithImpl<$Res>
    extends _$SignUpFailureCopyWithImpl<$Res,
        _$SignUpFailureNetworkRequestFailed>
    implements _$$SignUpFailureNetworkRequestFailedCopyWith<$Res> {
  __$$SignUpFailureNetworkRequestFailedCopyWithImpl(
      _$SignUpFailureNetworkRequestFailed _value,
      $Res Function(_$SignUpFailureNetworkRequestFailed) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() emailAlreadyInUse,
    required TResult Function() invalidEmail,
    required TResult Function() operationNotAllowed,
    required TResult Function() weakPassword,
  }) {
    return networkRequestFailed();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? emailAlreadyInUse,
    TResult? Function()? invalidEmail,
    TResult? Function()? operationNotAllowed,
    TResult? Function()? weakPassword,
  }) {
    return networkRequestFailed?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(SignUpFailureUnknown value) unknown,
    required TResult Function(SignUpFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(SignUpFailureEmailAlreadyInUse value)
        emailAlreadyInUse,
    required TResult Function(SignUpFailureInvalidEmail value) invalidEmail,
    required TResult Function(SignUpFailureOperationNotAllowed value)
        operationNotAllowed,
    required TResult Function(SignUpFailureWeakPassword value) weakPassword,
  }) {
    return networkRequestFailed(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(SignUpFailureUnknown value)? unknown,
    TResult? Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult? Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult? Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult? Function(SignUpFailureWeakPassword value)? weakPassword,
  }) {
    return networkRequestFailed?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(SignUpFailureUnknown value)? unknown,
    TResult Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult Function(SignUpFailureWeakPassword value)? weakPassword,
    required TResult orElse(),
  }) {
    if (networkRequestFailed != null) {
      return networkRequestFailed(this);
    }
    return orElse();
  }
}

abstract class SignUpFailureNetworkRequestFailed implements SignUpFailure {
  const factory SignUpFailureNetworkRequestFailed() =
      _$SignUpFailureNetworkRequestFailed;
}

/// @nodoc
abstract class _$$SignUpFailureEmailAlreadyInUseCopyWith<$Res> {
  factory _$$SignUpFailureEmailAlreadyInUseCopyWith(
          _$SignUpFailureEmailAlreadyInUse value,
          $Res Function(_$SignUpFailureEmailAlreadyInUse) then) =
      __$$SignUpFailureEmailAlreadyInUseCopyWithImpl<$Res>;
}

/// @nodoc
class __$$SignUpFailureEmailAlreadyInUseCopyWithImpl<$Res>
    extends _$SignUpFailureCopyWithImpl<$Res, _$SignUpFailureEmailAlreadyInUse>
    implements _$$SignUpFailureEmailAlreadyInUseCopyWith<$Res> {
  __$$SignUpFailureEmailAlreadyInUseCopyWithImpl(
      _$SignUpFailureEmailAlreadyInUse _value,
      $Res Function(_$SignUpFailureEmailAlreadyInUse) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'SignUpFailure.emailAlreadyInUse()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() emailAlreadyInUse,
    required TResult Function() invalidEmail,
    required TResult Function() operationNotAllowed,
    required TResult Function() weakPassword,
  }) {
    return emailAlreadyInUse();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? emailAlreadyInUse,
    TResult? Function()? invalidEmail,
    TResult? Function()? operationNotAllowed,
    TResult? Function()? weakPassword,
  }) {
    return emailAlreadyInUse?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(SignUpFailureUnknown value) unknown,
    required TResult Function(SignUpFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(SignUpFailureEmailAlreadyInUse value)
        emailAlreadyInUse,
    required TResult Function(SignUpFailureInvalidEmail value) invalidEmail,
    required TResult Function(SignUpFailureOperationNotAllowed value)
        operationNotAllowed,
    required TResult Function(SignUpFailureWeakPassword value) weakPassword,
  }) {
    return emailAlreadyInUse(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(SignUpFailureUnknown value)? unknown,
    TResult? Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult? Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult? Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult? Function(SignUpFailureWeakPassword value)? weakPassword,
  }) {
    return emailAlreadyInUse?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(SignUpFailureUnknown value)? unknown,
    TResult Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult Function(SignUpFailureWeakPassword value)? weakPassword,
    required TResult orElse(),
  }) {
    if (emailAlreadyInUse != null) {
      return emailAlreadyInUse(this);
    }
    return orElse();
  }
}

abstract class SignUpFailureEmailAlreadyInUse implements SignUpFailure {
  const factory SignUpFailureEmailAlreadyInUse() =
      _$SignUpFailureEmailAlreadyInUse;
}

/// @nodoc
abstract class _$$SignUpFailureInvalidEmailCopyWith<$Res> {
  factory _$$SignUpFailureInvalidEmailCopyWith(
          _$SignUpFailureInvalidEmail value,
          $Res Function(_$SignUpFailureInvalidEmail) then) =
      __$$SignUpFailureInvalidEmailCopyWithImpl<$Res>;
}

/// @nodoc
class __$$SignUpFailureInvalidEmailCopyWithImpl<$Res>
    extends _$SignUpFailureCopyWithImpl<$Res, _$SignUpFailureInvalidEmail>
    implements _$$SignUpFailureInvalidEmailCopyWith<$Res> {
  __$$SignUpFailureInvalidEmailCopyWithImpl(_$SignUpFailureInvalidEmail _value,
      $Res Function(_$SignUpFailureInvalidEmail) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() emailAlreadyInUse,
    required TResult Function() invalidEmail,
    required TResult Function() operationNotAllowed,
    required TResult Function() weakPassword,
  }) {
    return invalidEmail();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? emailAlreadyInUse,
    TResult? Function()? invalidEmail,
    TResult? Function()? operationNotAllowed,
    TResult? Function()? weakPassword,
  }) {
    return invalidEmail?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(SignUpFailureUnknown value) unknown,
    required TResult Function(SignUpFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(SignUpFailureEmailAlreadyInUse value)
        emailAlreadyInUse,
    required TResult Function(SignUpFailureInvalidEmail value) invalidEmail,
    required TResult Function(SignUpFailureOperationNotAllowed value)
        operationNotAllowed,
    required TResult Function(SignUpFailureWeakPassword value) weakPassword,
  }) {
    return invalidEmail(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(SignUpFailureUnknown value)? unknown,
    TResult? Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult? Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult? Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult? Function(SignUpFailureWeakPassword value)? weakPassword,
  }) {
    return invalidEmail?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(SignUpFailureUnknown value)? unknown,
    TResult Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult Function(SignUpFailureWeakPassword value)? weakPassword,
    required TResult orElse(),
  }) {
    if (invalidEmail != null) {
      return invalidEmail(this);
    }
    return orElse();
  }
}

abstract class SignUpFailureInvalidEmail implements SignUpFailure {
  const factory SignUpFailureInvalidEmail() = _$SignUpFailureInvalidEmail;
}

/// @nodoc
abstract class _$$SignUpFailureOperationNotAllowedCopyWith<$Res> {
  factory _$$SignUpFailureOperationNotAllowedCopyWith(
          _$SignUpFailureOperationNotAllowed value,
          $Res Function(_$SignUpFailureOperationNotAllowed) then) =
      __$$SignUpFailureOperationNotAllowedCopyWithImpl<$Res>;
}

/// @nodoc
class __$$SignUpFailureOperationNotAllowedCopyWithImpl<$Res>
    extends _$SignUpFailureCopyWithImpl<$Res,
        _$SignUpFailureOperationNotAllowed>
    implements _$$SignUpFailureOperationNotAllowedCopyWith<$Res> {
  __$$SignUpFailureOperationNotAllowedCopyWithImpl(
      _$SignUpFailureOperationNotAllowed _value,
      $Res Function(_$SignUpFailureOperationNotAllowed) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'SignUpFailure.operationNotAllowed()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() emailAlreadyInUse,
    required TResult Function() invalidEmail,
    required TResult Function() operationNotAllowed,
    required TResult Function() weakPassword,
  }) {
    return operationNotAllowed();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? emailAlreadyInUse,
    TResult? Function()? invalidEmail,
    TResult? Function()? operationNotAllowed,
    TResult? Function()? weakPassword,
  }) {
    return operationNotAllowed?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(SignUpFailureUnknown value) unknown,
    required TResult Function(SignUpFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(SignUpFailureEmailAlreadyInUse value)
        emailAlreadyInUse,
    required TResult Function(SignUpFailureInvalidEmail value) invalidEmail,
    required TResult Function(SignUpFailureOperationNotAllowed value)
        operationNotAllowed,
    required TResult Function(SignUpFailureWeakPassword value) weakPassword,
  }) {
    return operationNotAllowed(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(SignUpFailureUnknown value)? unknown,
    TResult? Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult? Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult? Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult? Function(SignUpFailureWeakPassword value)? weakPassword,
  }) {
    return operationNotAllowed?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(SignUpFailureUnknown value)? unknown,
    TResult Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult Function(SignUpFailureWeakPassword value)? weakPassword,
    required TResult orElse(),
  }) {
    if (operationNotAllowed != null) {
      return operationNotAllowed(this);
    }
    return orElse();
  }
}

abstract class SignUpFailureOperationNotAllowed implements SignUpFailure {
  const factory SignUpFailureOperationNotAllowed() =
      _$SignUpFailureOperationNotAllowed;
}

/// @nodoc
abstract class _$$SignUpFailureWeakPasswordCopyWith<$Res> {
  factory _$$SignUpFailureWeakPasswordCopyWith(
          _$SignUpFailureWeakPassword value,
          $Res Function(_$SignUpFailureWeakPassword) then) =
      __$$SignUpFailureWeakPasswordCopyWithImpl<$Res>;
}

/// @nodoc
class __$$SignUpFailureWeakPasswordCopyWithImpl<$Res>
    extends _$SignUpFailureCopyWithImpl<$Res, _$SignUpFailureWeakPassword>
    implements _$$SignUpFailureWeakPasswordCopyWith<$Res> {
  __$$SignUpFailureWeakPasswordCopyWithImpl(_$SignUpFailureWeakPassword _value,
      $Res Function(_$SignUpFailureWeakPassword) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'SignUpFailure.weakPassword()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
    required TResult Function() emailAlreadyInUse,
    required TResult Function() invalidEmail,
    required TResult Function() operationNotAllowed,
    required TResult Function() weakPassword,
  }) {
    return weakPassword();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
    TResult? Function()? emailAlreadyInUse,
    TResult? Function()? invalidEmail,
    TResult? Function()? operationNotAllowed,
    TResult? Function()? weakPassword,
  }) {
    return weakPassword?.call();
  }

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(SignUpFailureUnknown value) unknown,
    required TResult Function(SignUpFailureNetworkRequestFailed value)
        networkRequestFailed,
    required TResult Function(SignUpFailureEmailAlreadyInUse value)
        emailAlreadyInUse,
    required TResult Function(SignUpFailureInvalidEmail value) invalidEmail,
    required TResult Function(SignUpFailureOperationNotAllowed value)
        operationNotAllowed,
    required TResult Function(SignUpFailureWeakPassword value) weakPassword,
  }) {
    return weakPassword(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(SignUpFailureUnknown value)? unknown,
    TResult? Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult? Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult? Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult? Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult? Function(SignUpFailureWeakPassword value)? weakPassword,
  }) {
    return weakPassword?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(SignUpFailureUnknown value)? unknown,
    TResult Function(SignUpFailureNetworkRequestFailed value)?
        networkRequestFailed,
    TResult Function(SignUpFailureEmailAlreadyInUse value)? emailAlreadyInUse,
    TResult Function(SignUpFailureInvalidEmail value)? invalidEmail,
    TResult Function(SignUpFailureOperationNotAllowed value)?
        operationNotAllowed,
    TResult Function(SignUpFailureWeakPassword value)? weakPassword,
    required TResult orElse(),
  }) {
    if (weakPassword != null) {
      return weakPassword(this);
    }
    return orElse();
  }
}

abstract class SignUpFailureWeakPassword implements SignUpFailure {
  const factory SignUpFailureWeakPassword() = _$SignUpFailureWeakPassword;
}
