164 lines
7.0 KiB
Dart
164 lines
7.0 KiB
Dart
// dart format width=80
|
|
// 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_page_model.dart';
|
|
|
|
// **************************************************************************
|
|
// FreezedGenerator
|
|
// **************************************************************************
|
|
|
|
// dart format off
|
|
T _$identity<T>(T value) => value;
|
|
/// @nodoc
|
|
mixin _$LoginPageState implements DiagnosticableTreeMixin {
|
|
|
|
LoginPageStateStatus get status; bool get hasLangSelected; bool get loading; bool get googleSigninloading;
|
|
/// Create a copy of LoginPageState
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
@pragma('vm:prefer-inline')
|
|
$LoginPageStateCopyWith<LoginPageState> get copyWith => _$LoginPageStateCopyWithImpl<LoginPageState>(this as LoginPageState, _$identity);
|
|
|
|
|
|
@override
|
|
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
|
properties
|
|
..add(DiagnosticsProperty('type', 'LoginPageState'))
|
|
..add(DiagnosticsProperty('status', status))..add(DiagnosticsProperty('hasLangSelected', hasLangSelected))..add(DiagnosticsProperty('loading', loading))..add(DiagnosticsProperty('googleSigninloading', googleSigninloading));
|
|
}
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is LoginPageState&&(identical(other.status, status) || other.status == status)&&(identical(other.hasLangSelected, hasLangSelected) || other.hasLangSelected == hasLangSelected)&&(identical(other.loading, loading) || other.loading == loading)&&(identical(other.googleSigninloading, googleSigninloading) || other.googleSigninloading == googleSigninloading));
|
|
}
|
|
|
|
|
|
@override
|
|
int get hashCode => Object.hash(runtimeType,status,hasLangSelected,loading,googleSigninloading);
|
|
|
|
@override
|
|
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
|
|
return 'LoginPageState(status: $status, hasLangSelected: $hasLangSelected, loading: $loading, googleSigninloading: $googleSigninloading)';
|
|
}
|
|
|
|
|
|
}
|
|
|
|
/// @nodoc
|
|
abstract mixin class $LoginPageStateCopyWith<$Res> {
|
|
factory $LoginPageStateCopyWith(LoginPageState value, $Res Function(LoginPageState) _then) = _$LoginPageStateCopyWithImpl;
|
|
@useResult
|
|
$Res call({
|
|
LoginPageStateStatus status, bool hasLangSelected, bool loading, bool googleSigninloading
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
/// @nodoc
|
|
class _$LoginPageStateCopyWithImpl<$Res>
|
|
implements $LoginPageStateCopyWith<$Res> {
|
|
_$LoginPageStateCopyWithImpl(this._self, this._then);
|
|
|
|
final LoginPageState _self;
|
|
final $Res Function(LoginPageState) _then;
|
|
|
|
/// Create a copy of LoginPageState
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? status = null,Object? hasLangSelected = null,Object? loading = null,Object? googleSigninloading = null,}) {
|
|
return _then(_self.copyWith(
|
|
status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable
|
|
as LoginPageStateStatus,hasLangSelected: null == hasLangSelected ? _self.hasLangSelected : hasLangSelected // ignore: cast_nullable_to_non_nullable
|
|
as bool,loading: null == loading ? _self.loading : loading // ignore: cast_nullable_to_non_nullable
|
|
as bool,googleSigninloading: null == googleSigninloading ? _self.googleSigninloading : googleSigninloading // ignore: cast_nullable_to_non_nullable
|
|
as bool,
|
|
));
|
|
}
|
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
|
|
|
class _LoginPageState with DiagnosticableTreeMixin implements LoginPageState {
|
|
const _LoginPageState({this.status = LoginPageStateStatus.logOut, this.hasLangSelected = false, this.loading = false, this.googleSigninloading = false});
|
|
|
|
|
|
@override@JsonKey() final LoginPageStateStatus status;
|
|
@override@JsonKey() final bool hasLangSelected;
|
|
@override@JsonKey() final bool loading;
|
|
@override@JsonKey() final bool googleSigninloading;
|
|
|
|
/// Create a copy of LoginPageState
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
@override @JsonKey(includeFromJson: false, includeToJson: false)
|
|
@pragma('vm:prefer-inline')
|
|
_$LoginPageStateCopyWith<_LoginPageState> get copyWith => __$LoginPageStateCopyWithImpl<_LoginPageState>(this, _$identity);
|
|
|
|
|
|
@override
|
|
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
|
properties
|
|
..add(DiagnosticsProperty('type', 'LoginPageState'))
|
|
..add(DiagnosticsProperty('status', status))..add(DiagnosticsProperty('hasLangSelected', hasLangSelected))..add(DiagnosticsProperty('loading', loading))..add(DiagnosticsProperty('googleSigninloading', googleSigninloading));
|
|
}
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _LoginPageState&&(identical(other.status, status) || other.status == status)&&(identical(other.hasLangSelected, hasLangSelected) || other.hasLangSelected == hasLangSelected)&&(identical(other.loading, loading) || other.loading == loading)&&(identical(other.googleSigninloading, googleSigninloading) || other.googleSigninloading == googleSigninloading));
|
|
}
|
|
|
|
|
|
@override
|
|
int get hashCode => Object.hash(runtimeType,status,hasLangSelected,loading,googleSigninloading);
|
|
|
|
@override
|
|
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
|
|
return 'LoginPageState(status: $status, hasLangSelected: $hasLangSelected, loading: $loading, googleSigninloading: $googleSigninloading)';
|
|
}
|
|
|
|
|
|
}
|
|
|
|
/// @nodoc
|
|
abstract mixin class _$LoginPageStateCopyWith<$Res> implements $LoginPageStateCopyWith<$Res> {
|
|
factory _$LoginPageStateCopyWith(_LoginPageState value, $Res Function(_LoginPageState) _then) = __$LoginPageStateCopyWithImpl;
|
|
@override @useResult
|
|
$Res call({
|
|
LoginPageStateStatus status, bool hasLangSelected, bool loading, bool googleSigninloading
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
/// @nodoc
|
|
class __$LoginPageStateCopyWithImpl<$Res>
|
|
implements _$LoginPageStateCopyWith<$Res> {
|
|
__$LoginPageStateCopyWithImpl(this._self, this._then);
|
|
|
|
final _LoginPageState _self;
|
|
final $Res Function(_LoginPageState) _then;
|
|
|
|
/// Create a copy of LoginPageState
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? status = null,Object? hasLangSelected = null,Object? loading = null,Object? googleSigninloading = null,}) {
|
|
return _then(_LoginPageState(
|
|
status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable
|
|
as LoginPageStateStatus,hasLangSelected: null == hasLangSelected ? _self.hasLangSelected : hasLangSelected // ignore: cast_nullable_to_non_nullable
|
|
as bool,loading: null == loading ? _self.loading : loading // ignore: cast_nullable_to_non_nullable
|
|
as bool,googleSigninloading: null == googleSigninloading ? _self.googleSigninloading : googleSigninloading // ignore: cast_nullable_to_non_nullable
|
|
as bool,
|
|
));
|
|
}
|
|
|
|
|
|
}
|
|
|
|
// dart format on
|