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 'sign_out_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 _$SignOutFailure {
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() unknown,
    required TResult Function() networkRequestFailed,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? unknown,
    TResult? Function()? networkRequestFailed,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? unknown,
    TResult Function()? networkRequestFailed,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(SignOutFailureUnknown value) unknown,
    required TResult Function(SignOutFailureNetworkRequestFailed value)
        networkRequestFailed,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(SignOutFailureUnknown value)? unknown,
    TResult? Function(SignOutFailureNetworkRequestFailed value)?
        networkRequestFailed,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(SignOutFailureUnknown value)? unknown,
    TResult Function(SignOutFailureNetworkRequestFailed value)?
        networkRequestFailed,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $SignOutFailureCopyWith<$Res> {
  factory $SignOutFailureCopyWith(
          SignOutFailure value, $Res Function(SignOutFailure) then) =
      _$SignOutFailureCopyWithImpl<$Res, SignOutFailure>;
}

/// @nodoc
class _$SignOutFailureCopyWithImpl<$Res, $Val extends SignOutFailure>
    implements $SignOutFailureCopyWith<$Res> {
  _$SignOutFailureCopyWithImpl(this._value, this._then);

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

/// @nodoc
abstract class _$$SignOutFailureUnknownCopyWith<$Res> {
  factory _$$SignOutFailureUnknownCopyWith(_$SignOutFailureUnknown value,
          $Res Function(_$SignOutFailureUnknown) then) =
      __$$SignOutFailureUnknownCopyWithImpl<$Res>;
}

/// @nodoc
class __$$SignOutFailureUnknownCopyWithImpl<$Res>
    extends _$SignOutFailureCopyWithImpl<$Res, _$SignOutFailureUnknown>
    implements _$$SignOutFailureUnknownCopyWith<$Res> {
  __$$SignOutFailureUnknownCopyWithImpl(_$SignOutFailureUnknown _value,
      $Res Function(_$SignOutFailureUnknown) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @override
  int get hashCode => runtimeType.hashCode;

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

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

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(SignOutFailureUnknown value) unknown,
    required TResult Function(SignOutFailureNetworkRequestFailed value)
        networkRequestFailed,
  }) {
    return unknown(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(SignOutFailureUnknown value)? unknown,
    TResult? Function(SignOutFailureNetworkRequestFailed value)?
        networkRequestFailed,
  }) {
    return unknown?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(SignOutFailureUnknown value)? unknown,
    TResult Function(SignOutFailureNetworkRequestFailed value)?
        networkRequestFailed,
    required TResult orElse(),
  }) {
    if (unknown != null) {
      return unknown(this);
    }
    return orElse();
  }
}

abstract class SignOutFailureUnknown implements SignOutFailure {
  const factory SignOutFailureUnknown() = _$SignOutFailureUnknown;
}

/// @nodoc
abstract class _$$SignOutFailureNetworkRequestFailedCopyWith<$Res> {
  factory _$$SignOutFailureNetworkRequestFailedCopyWith(
          _$SignOutFailureNetworkRequestFailed value,
          $Res Function(_$SignOutFailureNetworkRequestFailed) then) =
      __$$SignOutFailureNetworkRequestFailedCopyWithImpl<$Res>;
}

/// @nodoc
class __$$SignOutFailureNetworkRequestFailedCopyWithImpl<$Res>
    extends _$SignOutFailureCopyWithImpl<$Res,
        _$SignOutFailureNetworkRequestFailed>
    implements _$$SignOutFailureNetworkRequestFailedCopyWith<$Res> {
  __$$SignOutFailureNetworkRequestFailedCopyWithImpl(
      _$SignOutFailureNetworkRequestFailed _value,
      $Res Function(_$SignOutFailureNetworkRequestFailed) _then)
      : super(_value, _then);
}

/// @nodoc

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

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

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

  @override
  int get hashCode => runtimeType.hashCode;

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

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

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

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(SignOutFailureUnknown value) unknown,
    required TResult Function(SignOutFailureNetworkRequestFailed value)
        networkRequestFailed,
  }) {
    return networkRequestFailed(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(SignOutFailureUnknown value)? unknown,
    TResult? Function(SignOutFailureNetworkRequestFailed value)?
        networkRequestFailed,
  }) {
    return networkRequestFailed?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(SignOutFailureUnknown value)? unknown,
    TResult Function(SignOutFailureNetworkRequestFailed value)?
        networkRequestFailed,
    required TResult orElse(),
  }) {
    if (networkRequestFailed != null) {
      return networkRequestFailed(this);
    }
    return orElse();
  }
}

abstract class SignOutFailureNetworkRequestFailed implements SignOutFailure {
  const factory SignOutFailureNetworkRequestFailed() =
      _$SignOutFailureNetworkRequestFailed;
}
