// 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 'home_game_login_dialog_ui_model.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#adding-getters-and-methods-to-our-models');

/// @nodoc
mixin _$HomeGameLoginState {
  int get loginStatus => throw _privateConstructorUsedError;
  String? get nickname => throw _privateConstructorUsedError;
  String? get avatarUrl => throw _privateConstructorUsedError;
  String? get authToken => throw _privateConstructorUsedError;
  String? get webToken => throw _privateConstructorUsedError;
  Map<dynamic, dynamic>? get releaseInfo => throw _privateConstructorUsedError;
  RsiGameLibraryData? get libraryData => throw _privateConstructorUsedError;
  String? get installPath => throw _privateConstructorUsedError;
  bool? get isDeviceSupportWinHello => throw _privateConstructorUsedError;

  @JsonKey(ignore: true)
  $HomeGameLoginStateCopyWith<HomeGameLoginState> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $HomeGameLoginStateCopyWith<$Res> {
  factory $HomeGameLoginStateCopyWith(
          HomeGameLoginState value, $Res Function(HomeGameLoginState) then) =
      _$HomeGameLoginStateCopyWithImpl<$Res, HomeGameLoginState>;
  @useResult
  $Res call(
      {int loginStatus,
      String? nickname,
      String? avatarUrl,
      String? authToken,
      String? webToken,
      Map<dynamic, dynamic>? releaseInfo,
      RsiGameLibraryData? libraryData,
      String? installPath,
      bool? isDeviceSupportWinHello});
}

/// @nodoc
class _$HomeGameLoginStateCopyWithImpl<$Res, $Val extends HomeGameLoginState>
    implements $HomeGameLoginStateCopyWith<$Res> {
  _$HomeGameLoginStateCopyWithImpl(this._value, this._then);

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

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? loginStatus = null,
    Object? nickname = freezed,
    Object? avatarUrl = freezed,
    Object? authToken = freezed,
    Object? webToken = freezed,
    Object? releaseInfo = freezed,
    Object? libraryData = freezed,
    Object? installPath = freezed,
    Object? isDeviceSupportWinHello = freezed,
  }) {
    return _then(_value.copyWith(
      loginStatus: null == loginStatus
          ? _value.loginStatus
          : loginStatus // ignore: cast_nullable_to_non_nullable
              as int,
      nickname: freezed == nickname
          ? _value.nickname
          : nickname // ignore: cast_nullable_to_non_nullable
              as String?,
      avatarUrl: freezed == avatarUrl
          ? _value.avatarUrl
          : avatarUrl // ignore: cast_nullable_to_non_nullable
              as String?,
      authToken: freezed == authToken
          ? _value.authToken
          : authToken // ignore: cast_nullable_to_non_nullable
              as String?,
      webToken: freezed == webToken
          ? _value.webToken
          : webToken // ignore: cast_nullable_to_non_nullable
              as String?,
      releaseInfo: freezed == releaseInfo
          ? _value.releaseInfo
          : releaseInfo // ignore: cast_nullable_to_non_nullable
              as Map<dynamic, dynamic>?,
      libraryData: freezed == libraryData
          ? _value.libraryData
          : libraryData // ignore: cast_nullable_to_non_nullable
              as RsiGameLibraryData?,
      installPath: freezed == installPath
          ? _value.installPath
          : installPath // ignore: cast_nullable_to_non_nullable
              as String?,
      isDeviceSupportWinHello: freezed == isDeviceSupportWinHello
          ? _value.isDeviceSupportWinHello
          : isDeviceSupportWinHello // ignore: cast_nullable_to_non_nullable
              as bool?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$LoginStatusImplCopyWith<$Res>
    implements $HomeGameLoginStateCopyWith<$Res> {
  factory _$$LoginStatusImplCopyWith(
          _$LoginStatusImpl value, $Res Function(_$LoginStatusImpl) then) =
      __$$LoginStatusImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {int loginStatus,
      String? nickname,
      String? avatarUrl,
      String? authToken,
      String? webToken,
      Map<dynamic, dynamic>? releaseInfo,
      RsiGameLibraryData? libraryData,
      String? installPath,
      bool? isDeviceSupportWinHello});
}

/// @nodoc
class __$$LoginStatusImplCopyWithImpl<$Res>
    extends _$HomeGameLoginStateCopyWithImpl<$Res, _$LoginStatusImpl>
    implements _$$LoginStatusImplCopyWith<$Res> {
  __$$LoginStatusImplCopyWithImpl(
      _$LoginStatusImpl _value, $Res Function(_$LoginStatusImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? loginStatus = null,
    Object? nickname = freezed,
    Object? avatarUrl = freezed,
    Object? authToken = freezed,
    Object? webToken = freezed,
    Object? releaseInfo = freezed,
    Object? libraryData = freezed,
    Object? installPath = freezed,
    Object? isDeviceSupportWinHello = freezed,
  }) {
    return _then(_$LoginStatusImpl(
      loginStatus: null == loginStatus
          ? _value.loginStatus
          : loginStatus // ignore: cast_nullable_to_non_nullable
              as int,
      nickname: freezed == nickname
          ? _value.nickname
          : nickname // ignore: cast_nullable_to_non_nullable
              as String?,
      avatarUrl: freezed == avatarUrl
          ? _value.avatarUrl
          : avatarUrl // ignore: cast_nullable_to_non_nullable
              as String?,
      authToken: freezed == authToken
          ? _value.authToken
          : authToken // ignore: cast_nullable_to_non_nullable
              as String?,
      webToken: freezed == webToken
          ? _value.webToken
          : webToken // ignore: cast_nullable_to_non_nullable
              as String?,
      releaseInfo: freezed == releaseInfo
          ? _value._releaseInfo
          : releaseInfo // ignore: cast_nullable_to_non_nullable
              as Map<dynamic, dynamic>?,
      libraryData: freezed == libraryData
          ? _value.libraryData
          : libraryData // ignore: cast_nullable_to_non_nullable
              as RsiGameLibraryData?,
      installPath: freezed == installPath
          ? _value.installPath
          : installPath // ignore: cast_nullable_to_non_nullable
              as String?,
      isDeviceSupportWinHello: freezed == isDeviceSupportWinHello
          ? _value.isDeviceSupportWinHello
          : isDeviceSupportWinHello // ignore: cast_nullable_to_non_nullable
              as bool?,
    ));
  }
}

/// @nodoc

class _$LoginStatusImpl implements _LoginStatus {
  _$LoginStatusImpl(
      {required this.loginStatus,
      this.nickname,
      this.avatarUrl,
      this.authToken,
      this.webToken,
      final Map<dynamic, dynamic>? releaseInfo,
      this.libraryData,
      this.installPath,
      this.isDeviceSupportWinHello})
      : _releaseInfo = releaseInfo;

  @override
  final int loginStatus;
  @override
  final String? nickname;
  @override
  final String? avatarUrl;
  @override
  final String? authToken;
  @override
  final String? webToken;
  final Map<dynamic, dynamic>? _releaseInfo;
  @override
  Map<dynamic, dynamic>? get releaseInfo {
    final value = _releaseInfo;
    if (value == null) return null;
    if (_releaseInfo is EqualUnmodifiableMapView) return _releaseInfo;
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableMapView(value);
  }

  @override
  final RsiGameLibraryData? libraryData;
  @override
  final String? installPath;
  @override
  final bool? isDeviceSupportWinHello;

  @override
  String toString() {
    return 'HomeGameLoginState(loginStatus: $loginStatus, nickname: $nickname, avatarUrl: $avatarUrl, authToken: $authToken, webToken: $webToken, releaseInfo: $releaseInfo, libraryData: $libraryData, installPath: $installPath, isDeviceSupportWinHello: $isDeviceSupportWinHello)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$LoginStatusImpl &&
            (identical(other.loginStatus, loginStatus) ||
                other.loginStatus == loginStatus) &&
            (identical(other.nickname, nickname) ||
                other.nickname == nickname) &&
            (identical(other.avatarUrl, avatarUrl) ||
                other.avatarUrl == avatarUrl) &&
            (identical(other.authToken, authToken) ||
                other.authToken == authToken) &&
            (identical(other.webToken, webToken) ||
                other.webToken == webToken) &&
            const DeepCollectionEquality()
                .equals(other._releaseInfo, _releaseInfo) &&
            (identical(other.libraryData, libraryData) ||
                other.libraryData == libraryData) &&
            (identical(other.installPath, installPath) ||
                other.installPath == installPath) &&
            (identical(
                    other.isDeviceSupportWinHello, isDeviceSupportWinHello) ||
                other.isDeviceSupportWinHello == isDeviceSupportWinHello));
  }

  @override
  int get hashCode => Object.hash(
      runtimeType,
      loginStatus,
      nickname,
      avatarUrl,
      authToken,
      webToken,
      const DeepCollectionEquality().hash(_releaseInfo),
      libraryData,
      installPath,
      isDeviceSupportWinHello);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$LoginStatusImplCopyWith<_$LoginStatusImpl> get copyWith =>
      __$$LoginStatusImplCopyWithImpl<_$LoginStatusImpl>(this, _$identity);
}

abstract class _LoginStatus implements HomeGameLoginState {
  factory _LoginStatus(
      {required final int loginStatus,
      final String? nickname,
      final String? avatarUrl,
      final String? authToken,
      final String? webToken,
      final Map<dynamic, dynamic>? releaseInfo,
      final RsiGameLibraryData? libraryData,
      final String? installPath,
      final bool? isDeviceSupportWinHello}) = _$LoginStatusImpl;

  @override
  int get loginStatus;
  @override
  String? get nickname;
  @override
  String? get avatarUrl;
  @override
  String? get authToken;
  @override
  String? get webToken;
  @override
  Map<dynamic, dynamic>? get releaseInfo;
  @override
  RsiGameLibraryData? get libraryData;
  @override
  String? get installPath;
  @override
  bool? get isDeviceSupportWinHello;
  @override
  @JsonKey(ignore: true)
  _$$LoginStatusImplCopyWith<_$LoginStatusImpl> get copyWith =>
      throw _privateConstructorUsedError;
}
