mirrored_repositories/OLO-Games/marketplace/lib/presentation/bloc
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark

part of 'login_with_email_state.dart';

// **************************************************************************
// FreezedGenerator
// **************************************************************************

T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
    'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods');

/// @nodoc
mixin _$LoginWithEmailState {
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() empty,
    required TResult Function() success,
    required TResult Function(String message) error,
    required TResult Function() noNetwork,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? empty,
    TResult? Function()? success,
    TResult? Function(String message)? error,
    TResult? Function()? noNetwork,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? empty,
    TResult Function()? success,
    TResult Function(String message)? error,
    TResult Function()? noNetwork,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailStateEmpty value) empty,
    required TResult Function(LoginWithEmailStateSuccess value) success,
    required TResult Function(LoginWithEmailStateError value) error,
    required TResult Function(LoginWithEmailStateNoNetwork value) noNetwork,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailStateEmpty value)? empty,
    TResult? Function(LoginWithEmailStateSuccess value)? success,
    TResult? Function(LoginWithEmailStateError value)? error,
    TResult? Function(LoginWithEmailStateNoNetwork value)? noNetwork,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailStateEmpty value)? empty,
    TResult Function(LoginWithEmailStateSuccess value)? success,
    TResult Function(LoginWithEmailStateError value)? error,
    TResult Function(LoginWithEmailStateNoNetwork value)? noNetwork,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $LoginWithEmailStateCopyWith<$Res> {
  factory $LoginWithEmailStateCopyWith(
          LoginWithEmailState value, $Res Function(LoginWithEmailState) then) =
      _$LoginWithEmailStateCopyWithImpl<$Res, LoginWithEmailState>;
}

/// @nodoc
class _$LoginWithEmailStateCopyWithImpl<$Res, $Val extends LoginWithEmailState>
    implements $LoginWithEmailStateCopyWith<$Res> {
  _$LoginWithEmailStateCopyWithImpl(this._value, this._then);

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

/// @nodoc
abstract class _$$LoginWithEmailStateEmptyCopyWith<$Res> {
  factory _$$LoginWithEmailStateEmptyCopyWith(_$LoginWithEmailStateEmpty value,
          $Res Function(_$LoginWithEmailStateEmpty) then) =
      __$$LoginWithEmailStateEmptyCopyWithImpl<$Res>;
}

/// @nodoc
class __$$LoginWithEmailStateEmptyCopyWithImpl<$Res>
    extends _$LoginWithEmailStateCopyWithImpl<$Res, _$LoginWithEmailStateEmpty>
    implements _$$LoginWithEmailStateEmptyCopyWith<$Res> {
  __$$LoginWithEmailStateEmptyCopyWithImpl(_$LoginWithEmailStateEmpty _value,
      $Res Function(_$LoginWithEmailStateEmpty) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'LoginWithEmailState.empty()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() empty,
    required TResult Function() success,
    required TResult Function(String message) error,
    required TResult Function() noNetwork,
  }) {
    return empty();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? empty,
    TResult? Function()? success,
    TResult? Function(String message)? error,
    TResult? Function()? noNetwork,
  }) {
    return empty?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? empty,
    TResult Function()? success,
    TResult Function(String message)? error,
    TResult Function()? noNetwork,
    required TResult orElse(),
  }) {
    if (empty != null) {
      return empty();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailStateEmpty value) empty,
    required TResult Function(LoginWithEmailStateSuccess value) success,
    required TResult Function(LoginWithEmailStateError value) error,
    required TResult Function(LoginWithEmailStateNoNetwork value) noNetwork,
  }) {
    return empty(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailStateEmpty value)? empty,
    TResult? Function(LoginWithEmailStateSuccess value)? success,
    TResult? Function(LoginWithEmailStateError value)? error,
    TResult? Function(LoginWithEmailStateNoNetwork value)? noNetwork,
  }) {
    return empty?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailStateEmpty value)? empty,
    TResult Function(LoginWithEmailStateSuccess value)? success,
    TResult Function(LoginWithEmailStateError value)? error,
    TResult Function(LoginWithEmailStateNoNetwork value)? noNetwork,
    required TResult orElse(),
  }) {
    if (empty != null) {
      return empty(this);
    }
    return orElse();
  }
}

abstract class LoginWithEmailStateEmpty implements LoginWithEmailState {
  const factory LoginWithEmailStateEmpty() = _$LoginWithEmailStateEmpty;
}

/// @nodoc
abstract class _$$LoginWithEmailStateSuccessCopyWith<$Res> {
  factory _$$LoginWithEmailStateSuccessCopyWith(
          _$LoginWithEmailStateSuccess value,
          $Res Function(_$LoginWithEmailStateSuccess) then) =
      __$$LoginWithEmailStateSuccessCopyWithImpl<$Res>;
}

/// @nodoc
class __$$LoginWithEmailStateSuccessCopyWithImpl<$Res>
    extends _$LoginWithEmailStateCopyWithImpl<$Res,
        _$LoginWithEmailStateSuccess>
    implements _$$LoginWithEmailStateSuccessCopyWith<$Res> {
  __$$LoginWithEmailStateSuccessCopyWithImpl(
      _$LoginWithEmailStateSuccess _value,
      $Res Function(_$LoginWithEmailStateSuccess) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'LoginWithEmailState.success()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() empty,
    required TResult Function() success,
    required TResult Function(String message) error,
    required TResult Function() noNetwork,
  }) {
    return success();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? empty,
    TResult? Function()? success,
    TResult? Function(String message)? error,
    TResult? Function()? noNetwork,
  }) {
    return success?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? empty,
    TResult Function()? success,
    TResult Function(String message)? error,
    TResult Function()? noNetwork,
    required TResult orElse(),
  }) {
    if (success != null) {
      return success();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailStateEmpty value) empty,
    required TResult Function(LoginWithEmailStateSuccess value) success,
    required TResult Function(LoginWithEmailStateError value) error,
    required TResult Function(LoginWithEmailStateNoNetwork value) noNetwork,
  }) {
    return success(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailStateEmpty value)? empty,
    TResult? Function(LoginWithEmailStateSuccess value)? success,
    TResult? Function(LoginWithEmailStateError value)? error,
    TResult? Function(LoginWithEmailStateNoNetwork value)? noNetwork,
  }) {
    return success?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailStateEmpty value)? empty,
    TResult Function(LoginWithEmailStateSuccess value)? success,
    TResult Function(LoginWithEmailStateError value)? error,
    TResult Function(LoginWithEmailStateNoNetwork value)? noNetwork,
    required TResult orElse(),
  }) {
    if (success != null) {
      return success(this);
    }
    return orElse();
  }
}

abstract class LoginWithEmailStateSuccess implements LoginWithEmailState {
  const factory LoginWithEmailStateSuccess() = _$LoginWithEmailStateSuccess;
}

/// @nodoc
abstract class _$$LoginWithEmailStateErrorCopyWith<$Res> {
  factory _$$LoginWithEmailStateErrorCopyWith(_$LoginWithEmailStateError value,
          $Res Function(_$LoginWithEmailStateError) then) =
      __$$LoginWithEmailStateErrorCopyWithImpl<$Res>;
  @useResult
  $Res call({String message});
}

/// @nodoc
class __$$LoginWithEmailStateErrorCopyWithImpl<$Res>
    extends _$LoginWithEmailStateCopyWithImpl<$Res, _$LoginWithEmailStateError>
    implements _$$LoginWithEmailStateErrorCopyWith<$Res> {
  __$$LoginWithEmailStateErrorCopyWithImpl(_$LoginWithEmailStateError _value,
      $Res Function(_$LoginWithEmailStateError) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? message = null,
  }) {
    return _then(_$LoginWithEmailStateError(
      message: null == message
          ? _value.message
          : message // ignore: cast_nullable_to_non_nullable
              as String,
    ));
  }
}

/// @nodoc

class _$LoginWithEmailStateError implements LoginWithEmailStateError {
  const _$LoginWithEmailStateError({required this.message});

  @override
  final String message;

  @override
  String toString() {
    return 'LoginWithEmailState.error(message: $message)';
  }

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

  @override
  int get hashCode => Object.hash(runtimeType, message);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$LoginWithEmailStateErrorCopyWith<_$LoginWithEmailStateError>
      get copyWith =>
          __$$LoginWithEmailStateErrorCopyWithImpl<_$LoginWithEmailStateError>(
              this, _$identity);

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() empty,
    required TResult Function() success,
    required TResult Function(String message) error,
    required TResult Function() noNetwork,
  }) {
    return error(message);
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? empty,
    TResult? Function()? success,
    TResult? Function(String message)? error,
    TResult? Function()? noNetwork,
  }) {
    return error?.call(message);
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? empty,
    TResult Function()? success,
    TResult Function(String message)? error,
    TResult Function()? noNetwork,
    required TResult orElse(),
  }) {
    if (error != null) {
      return error(message);
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailStateEmpty value) empty,
    required TResult Function(LoginWithEmailStateSuccess value) success,
    required TResult Function(LoginWithEmailStateError value) error,
    required TResult Function(LoginWithEmailStateNoNetwork value) noNetwork,
  }) {
    return error(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailStateEmpty value)? empty,
    TResult? Function(LoginWithEmailStateSuccess value)? success,
    TResult? Function(LoginWithEmailStateError value)? error,
    TResult? Function(LoginWithEmailStateNoNetwork value)? noNetwork,
  }) {
    return error?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailStateEmpty value)? empty,
    TResult Function(LoginWithEmailStateSuccess value)? success,
    TResult Function(LoginWithEmailStateError value)? error,
    TResult Function(LoginWithEmailStateNoNetwork value)? noNetwork,
    required TResult orElse(),
  }) {
    if (error != null) {
      return error(this);
    }
    return orElse();
  }
}

abstract class LoginWithEmailStateError implements LoginWithEmailState {
  const factory LoginWithEmailStateError({required final String message}) =
      _$LoginWithEmailStateError;

  String get message;
  @JsonKey(ignore: true)
  _$$LoginWithEmailStateErrorCopyWith<_$LoginWithEmailStateError>
      get copyWith => throw _privateConstructorUsedError;
}

/// @nodoc
abstract class _$$LoginWithEmailStateNoNetworkCopyWith<$Res> {
  factory _$$LoginWithEmailStateNoNetworkCopyWith(
          _$LoginWithEmailStateNoNetwork value,
          $Res Function(_$LoginWithEmailStateNoNetwork) then) =
      __$$LoginWithEmailStateNoNetworkCopyWithImpl<$Res>;
}

/// @nodoc
class __$$LoginWithEmailStateNoNetworkCopyWithImpl<$Res>
    extends _$LoginWithEmailStateCopyWithImpl<$Res,
        _$LoginWithEmailStateNoNetwork>
    implements _$$LoginWithEmailStateNoNetworkCopyWith<$Res> {
  __$$LoginWithEmailStateNoNetworkCopyWithImpl(
      _$LoginWithEmailStateNoNetwork _value,
      $Res Function(_$LoginWithEmailStateNoNetwork) _then)
      : super(_value, _then);
}

/// @nodoc

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

  @override
  String toString() {
    return 'LoginWithEmailState.noNetwork()';
  }

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

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() empty,
    required TResult Function() success,
    required TResult Function(String message) error,
    required TResult Function() noNetwork,
  }) {
    return noNetwork();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? empty,
    TResult? Function()? success,
    TResult? Function(String message)? error,
    TResult? Function()? noNetwork,
  }) {
    return noNetwork?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? empty,
    TResult Function()? success,
    TResult Function(String message)? error,
    TResult Function()? noNetwork,
    required TResult orElse(),
  }) {
    if (noNetwork != null) {
      return noNetwork();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(LoginWithEmailStateEmpty value) empty,
    required TResult Function(LoginWithEmailStateSuccess value) success,
    required TResult Function(LoginWithEmailStateError value) error,
    required TResult Function(LoginWithEmailStateNoNetwork value) noNetwork,
  }) {
    return noNetwork(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(LoginWithEmailStateEmpty value)? empty,
    TResult? Function(LoginWithEmailStateSuccess value)? success,
    TResult? Function(LoginWithEmailStateError value)? error,
    TResult? Function(LoginWithEmailStateNoNetwork value)? noNetwork,
  }) {
    return noNetwork?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(LoginWithEmailStateEmpty value)? empty,
    TResult Function(LoginWithEmailStateSuccess value)? success,
    TResult Function(LoginWithEmailStateError value)? error,
    TResult Function(LoginWithEmailStateNoNetwork value)? noNetwork,
    required TResult orElse(),
  }) {
    if (noNetwork != null) {
      return noNetwork(this);
    }
    return orElse();
  }
}

abstract class LoginWithEmailStateNoNetwork implements LoginWithEmailState {
  const factory LoginWithEmailStateNoNetwork() = _$LoginWithEmailStateNoNetwork;
}
