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 'reset_password_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 _$ResetPasswordState {
  @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(ResetPasswordStateEmpty value) empty,
    required TResult Function(ResetPasswordStateSuccess value) success,
    required TResult Function(ResetPasswordStateError value) error,
    required TResult Function(ResetPasswordStateNoNetwork value) noNetwork,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordStateEmpty value)? empty,
    TResult? Function(ResetPasswordStateSuccess value)? success,
    TResult? Function(ResetPasswordStateError value)? error,
    TResult? Function(ResetPasswordStateNoNetwork value)? noNetwork,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordStateEmpty value)? empty,
    TResult Function(ResetPasswordStateSuccess value)? success,
    TResult Function(ResetPasswordStateError value)? error,
    TResult Function(ResetPasswordStateNoNetwork value)? noNetwork,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $ResetPasswordStateCopyWith<$Res> {
  factory $ResetPasswordStateCopyWith(
          ResetPasswordState value, $Res Function(ResetPasswordState) then) =
      _$ResetPasswordStateCopyWithImpl<$Res, ResetPasswordState>;
}

/// @nodoc
class _$ResetPasswordStateCopyWithImpl<$Res, $Val extends ResetPasswordState>
    implements $ResetPasswordStateCopyWith<$Res> {
  _$ResetPasswordStateCopyWithImpl(this._value, this._then);

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

/// @nodoc
abstract class _$$ResetPasswordStateEmptyCopyWith<$Res> {
  factory _$$ResetPasswordStateEmptyCopyWith(_$ResetPasswordStateEmpty value,
          $Res Function(_$ResetPasswordStateEmpty) then) =
      __$$ResetPasswordStateEmptyCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordStateEmptyCopyWithImpl<$Res>
    extends _$ResetPasswordStateCopyWithImpl<$Res, _$ResetPasswordStateEmpty>
    implements _$$ResetPasswordStateEmptyCopyWith<$Res> {
  __$$ResetPasswordStateEmptyCopyWithImpl(_$ResetPasswordStateEmpty _value,
      $Res Function(_$ResetPasswordStateEmpty) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @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(ResetPasswordStateEmpty value) empty,
    required TResult Function(ResetPasswordStateSuccess value) success,
    required TResult Function(ResetPasswordStateError value) error,
    required TResult Function(ResetPasswordStateNoNetwork value) noNetwork,
  }) {
    return empty(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordStateEmpty value)? empty,
    TResult? Function(ResetPasswordStateSuccess value)? success,
    TResult? Function(ResetPasswordStateError value)? error,
    TResult? Function(ResetPasswordStateNoNetwork value)? noNetwork,
  }) {
    return empty?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordStateEmpty value)? empty,
    TResult Function(ResetPasswordStateSuccess value)? success,
    TResult Function(ResetPasswordStateError value)? error,
    TResult Function(ResetPasswordStateNoNetwork value)? noNetwork,
    required TResult orElse(),
  }) {
    if (empty != null) {
      return empty(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordStateEmpty implements ResetPasswordState {
  const factory ResetPasswordStateEmpty() = _$ResetPasswordStateEmpty;
}

/// @nodoc
abstract class _$$ResetPasswordStateSuccessCopyWith<$Res> {
  factory _$$ResetPasswordStateSuccessCopyWith(
          _$ResetPasswordStateSuccess value,
          $Res Function(_$ResetPasswordStateSuccess) then) =
      __$$ResetPasswordStateSuccessCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordStateSuccessCopyWithImpl<$Res>
    extends _$ResetPasswordStateCopyWithImpl<$Res, _$ResetPasswordStateSuccess>
    implements _$$ResetPasswordStateSuccessCopyWith<$Res> {
  __$$ResetPasswordStateSuccessCopyWithImpl(_$ResetPasswordStateSuccess _value,
      $Res Function(_$ResetPasswordStateSuccess) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @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(ResetPasswordStateEmpty value) empty,
    required TResult Function(ResetPasswordStateSuccess value) success,
    required TResult Function(ResetPasswordStateError value) error,
    required TResult Function(ResetPasswordStateNoNetwork value) noNetwork,
  }) {
    return success(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordStateEmpty value)? empty,
    TResult? Function(ResetPasswordStateSuccess value)? success,
    TResult? Function(ResetPasswordStateError value)? error,
    TResult? Function(ResetPasswordStateNoNetwork value)? noNetwork,
  }) {
    return success?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordStateEmpty value)? empty,
    TResult Function(ResetPasswordStateSuccess value)? success,
    TResult Function(ResetPasswordStateError value)? error,
    TResult Function(ResetPasswordStateNoNetwork value)? noNetwork,
    required TResult orElse(),
  }) {
    if (success != null) {
      return success(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordStateSuccess implements ResetPasswordState {
  const factory ResetPasswordStateSuccess() = _$ResetPasswordStateSuccess;
}

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

/// @nodoc
class __$$ResetPasswordStateErrorCopyWithImpl<$Res>
    extends _$ResetPasswordStateCopyWithImpl<$Res, _$ResetPasswordStateError>
    implements _$$ResetPasswordStateErrorCopyWith<$Res> {
  __$$ResetPasswordStateErrorCopyWithImpl(_$ResetPasswordStateError _value,
      $Res Function(_$ResetPasswordStateError) _then)
      : super(_value, _then);

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

/// @nodoc

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

  @override
  final String message;

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

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

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

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$ResetPasswordStateErrorCopyWith<_$ResetPasswordStateError> get copyWith =>
      __$$ResetPasswordStateErrorCopyWithImpl<_$ResetPasswordStateError>(
          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(ResetPasswordStateEmpty value) empty,
    required TResult Function(ResetPasswordStateSuccess value) success,
    required TResult Function(ResetPasswordStateError value) error,
    required TResult Function(ResetPasswordStateNoNetwork value) noNetwork,
  }) {
    return error(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordStateEmpty value)? empty,
    TResult? Function(ResetPasswordStateSuccess value)? success,
    TResult? Function(ResetPasswordStateError value)? error,
    TResult? Function(ResetPasswordStateNoNetwork value)? noNetwork,
  }) {
    return error?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordStateEmpty value)? empty,
    TResult Function(ResetPasswordStateSuccess value)? success,
    TResult Function(ResetPasswordStateError value)? error,
    TResult Function(ResetPasswordStateNoNetwork value)? noNetwork,
    required TResult orElse(),
  }) {
    if (error != null) {
      return error(this);
    }
    return orElse();
  }
}

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

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

/// @nodoc
abstract class _$$ResetPasswordStateNoNetworkCopyWith<$Res> {
  factory _$$ResetPasswordStateNoNetworkCopyWith(
          _$ResetPasswordStateNoNetwork value,
          $Res Function(_$ResetPasswordStateNoNetwork) then) =
      __$$ResetPasswordStateNoNetworkCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ResetPasswordStateNoNetworkCopyWithImpl<$Res>
    extends _$ResetPasswordStateCopyWithImpl<$Res,
        _$ResetPasswordStateNoNetwork>
    implements _$$ResetPasswordStateNoNetworkCopyWith<$Res> {
  __$$ResetPasswordStateNoNetworkCopyWithImpl(
      _$ResetPasswordStateNoNetwork _value,
      $Res Function(_$ResetPasswordStateNoNetwork) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @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(ResetPasswordStateEmpty value) empty,
    required TResult Function(ResetPasswordStateSuccess value) success,
    required TResult Function(ResetPasswordStateError value) error,
    required TResult Function(ResetPasswordStateNoNetwork value) noNetwork,
  }) {
    return noNetwork(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(ResetPasswordStateEmpty value)? empty,
    TResult? Function(ResetPasswordStateSuccess value)? success,
    TResult? Function(ResetPasswordStateError value)? error,
    TResult? Function(ResetPasswordStateNoNetwork value)? noNetwork,
  }) {
    return noNetwork?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(ResetPasswordStateEmpty value)? empty,
    TResult Function(ResetPasswordStateSuccess value)? success,
    TResult Function(ResetPasswordStateError value)? error,
    TResult Function(ResetPasswordStateNoNetwork value)? noNetwork,
    required TResult orElse(),
  }) {
    if (noNetwork != null) {
      return noNetwork(this);
    }
    return orElse();
  }
}

abstract class ResetPasswordStateNoNetwork implements ResetPasswordState {
  const factory ResetPasswordStateNoNetwork() = _$ResetPasswordStateNoNetwork;
}
