123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771 |
- // coverage:ignore-file
- // GENERATED CODE - DO NOT MODIFY BY HAND
- // 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
- part of 'sign_in_bloc.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 informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
- /// @nodoc
- class _$SignInEventTearOff {
- const _$SignInEventTearOff();
- SignedInWithUserEmailAndPassword signedInWithUserEmailAndPassword() {
- return const SignedInWithUserEmailAndPassword();
- }
- EmailChanged emailChanged(String email) {
- return EmailChanged(
- email,
- );
- }
- PasswordChanged passwordChanged(String password) {
- return PasswordChanged(
- password,
- );
- }
- }
- /// @nodoc
- const $SignInEvent = _$SignInEventTearOff();
- /// @nodoc
- mixin _$SignInEvent {
- @optionalTypeArgs
- TResult when<TResult extends Object?>({
- required TResult Function() signedInWithUserEmailAndPassword,
- required TResult Function(String email) emailChanged,
- required TResult Function(String password) passwordChanged,
- }) =>
- throw _privateConstructorUsedError;
- @optionalTypeArgs
- TResult? whenOrNull<TResult extends Object?>({
- TResult Function()? signedInWithUserEmailAndPassword,
- TResult Function(String email)? emailChanged,
- TResult Function(String password)? passwordChanged,
- }) =>
- throw _privateConstructorUsedError;
- @optionalTypeArgs
- TResult maybeWhen<TResult extends Object?>({
- TResult Function()? signedInWithUserEmailAndPassword,
- TResult Function(String email)? emailChanged,
- TResult Function(String password)? passwordChanged,
- required TResult orElse(),
- }) =>
- throw _privateConstructorUsedError;
- @optionalTypeArgs
- TResult map<TResult extends Object?>({
- required TResult Function(SignedInWithUserEmailAndPassword value)
- signedInWithUserEmailAndPassword,
- required TResult Function(EmailChanged value) emailChanged,
- required TResult Function(PasswordChanged value) passwordChanged,
- }) =>
- throw _privateConstructorUsedError;
- @optionalTypeArgs
- TResult? mapOrNull<TResult extends Object?>({
- TResult Function(SignedInWithUserEmailAndPassword value)?
- signedInWithUserEmailAndPassword,
- TResult Function(EmailChanged value)? emailChanged,
- TResult Function(PasswordChanged value)? passwordChanged,
- }) =>
- throw _privateConstructorUsedError;
- @optionalTypeArgs
- TResult maybeMap<TResult extends Object?>({
- TResult Function(SignedInWithUserEmailAndPassword value)?
- signedInWithUserEmailAndPassword,
- TResult Function(EmailChanged value)? emailChanged,
- TResult Function(PasswordChanged value)? passwordChanged,
- required TResult orElse(),
- }) =>
- throw _privateConstructorUsedError;
- }
- /// @nodoc
- abstract class $SignInEventCopyWith<$Res> {
- factory $SignInEventCopyWith(
- SignInEvent value, $Res Function(SignInEvent) then) =
- _$SignInEventCopyWithImpl<$Res>;
- }
- /// @nodoc
- class _$SignInEventCopyWithImpl<$Res> implements $SignInEventCopyWith<$Res> {
- _$SignInEventCopyWithImpl(this._value, this._then);
- final SignInEvent _value;
- // ignore: unused_field
- final $Res Function(SignInEvent) _then;
- }
- /// @nodoc
- abstract class $SignedInWithUserEmailAndPasswordCopyWith<$Res> {
- factory $SignedInWithUserEmailAndPasswordCopyWith(
- SignedInWithUserEmailAndPassword value,
- $Res Function(SignedInWithUserEmailAndPassword) then) =
- _$SignedInWithUserEmailAndPasswordCopyWithImpl<$Res>;
- }
- /// @nodoc
- class _$SignedInWithUserEmailAndPasswordCopyWithImpl<$Res>
- extends _$SignInEventCopyWithImpl<$Res>
- implements $SignedInWithUserEmailAndPasswordCopyWith<$Res> {
- _$SignedInWithUserEmailAndPasswordCopyWithImpl(
- SignedInWithUserEmailAndPassword _value,
- $Res Function(SignedInWithUserEmailAndPassword) _then)
- : super(_value, (v) => _then(v as SignedInWithUserEmailAndPassword));
- @override
- SignedInWithUserEmailAndPassword get _value =>
- super._value as SignedInWithUserEmailAndPassword;
- }
- /// @nodoc
- class _$SignedInWithUserEmailAndPassword
- implements SignedInWithUserEmailAndPassword {
- const _$SignedInWithUserEmailAndPassword();
- @override
- String toString() {
- return 'SignInEvent.signedInWithUserEmailAndPassword()';
- }
- @override
- bool operator ==(dynamic other) {
- return identical(this, other) ||
- (other is SignedInWithUserEmailAndPassword);
- }
- @override
- int get hashCode => runtimeType.hashCode;
- @override
- @optionalTypeArgs
- TResult when<TResult extends Object?>({
- required TResult Function() signedInWithUserEmailAndPassword,
- required TResult Function(String email) emailChanged,
- required TResult Function(String password) passwordChanged,
- }) {
- return signedInWithUserEmailAndPassword();
- }
- @override
- @optionalTypeArgs
- TResult? whenOrNull<TResult extends Object?>({
- TResult Function()? signedInWithUserEmailAndPassword,
- TResult Function(String email)? emailChanged,
- TResult Function(String password)? passwordChanged,
- }) {
- return signedInWithUserEmailAndPassword?.call();
- }
- @override
- @optionalTypeArgs
- TResult maybeWhen<TResult extends Object?>({
- TResult Function()? signedInWithUserEmailAndPassword,
- TResult Function(String email)? emailChanged,
- TResult Function(String password)? passwordChanged,
- required TResult orElse(),
- }) {
- if (signedInWithUserEmailAndPassword != null) {
- return signedInWithUserEmailAndPassword();
- }
- return orElse();
- }
- @override
- @optionalTypeArgs
- TResult map<TResult extends Object?>({
- required TResult Function(SignedInWithUserEmailAndPassword value)
- signedInWithUserEmailAndPassword,
- required TResult Function(EmailChanged value) emailChanged,
- required TResult Function(PasswordChanged value) passwordChanged,
- }) {
- return signedInWithUserEmailAndPassword(this);
- }
- @override
- @optionalTypeArgs
- TResult? mapOrNull<TResult extends Object?>({
- TResult Function(SignedInWithUserEmailAndPassword value)?
- signedInWithUserEmailAndPassword,
- TResult Function(EmailChanged value)? emailChanged,
- TResult Function(PasswordChanged value)? passwordChanged,
- }) {
- return signedInWithUserEmailAndPassword?.call(this);
- }
- @override
- @optionalTypeArgs
- TResult maybeMap<TResult extends Object?>({
- TResult Function(SignedInWithUserEmailAndPassword value)?
- signedInWithUserEmailAndPassword,
- TResult Function(EmailChanged value)? emailChanged,
- TResult Function(PasswordChanged value)? passwordChanged,
- required TResult orElse(),
- }) {
- if (signedInWithUserEmailAndPassword != null) {
- return signedInWithUserEmailAndPassword(this);
- }
- return orElse();
- }
- }
- abstract class SignedInWithUserEmailAndPassword implements SignInEvent {
- const factory SignedInWithUserEmailAndPassword() =
- _$SignedInWithUserEmailAndPassword;
- }
- /// @nodoc
- abstract class $EmailChangedCopyWith<$Res> {
- factory $EmailChangedCopyWith(
- EmailChanged value, $Res Function(EmailChanged) then) =
- _$EmailChangedCopyWithImpl<$Res>;
- $Res call({String email});
- }
- /// @nodoc
- class _$EmailChangedCopyWithImpl<$Res> extends _$SignInEventCopyWithImpl<$Res>
- implements $EmailChangedCopyWith<$Res> {
- _$EmailChangedCopyWithImpl(
- EmailChanged _value, $Res Function(EmailChanged) _then)
- : super(_value, (v) => _then(v as EmailChanged));
- @override
- EmailChanged get _value => super._value as EmailChanged;
- @override
- $Res call({
- Object? email = freezed,
- }) {
- return _then(EmailChanged(
- email == freezed
- ? _value.email
- : email // ignore: cast_nullable_to_non_nullable
- as String,
- ));
- }
- }
- /// @nodoc
- class _$EmailChanged implements EmailChanged {
- const _$EmailChanged(this.email);
- @override
- final String email;
- @override
- String toString() {
- return 'SignInEvent.emailChanged(email: $email)';
- }
- @override
- bool operator ==(dynamic other) {
- return identical(this, other) ||
- (other is EmailChanged &&
- (identical(other.email, email) ||
- const DeepCollectionEquality().equals(other.email, email)));
- }
- @override
- int get hashCode =>
- runtimeType.hashCode ^ const DeepCollectionEquality().hash(email);
- @JsonKey(ignore: true)
- @override
- $EmailChangedCopyWith<EmailChanged> get copyWith =>
- _$EmailChangedCopyWithImpl<EmailChanged>(this, _$identity);
- @override
- @optionalTypeArgs
- TResult when<TResult extends Object?>({
- required TResult Function() signedInWithUserEmailAndPassword,
- required TResult Function(String email) emailChanged,
- required TResult Function(String password) passwordChanged,
- }) {
- return emailChanged(email);
- }
- @override
- @optionalTypeArgs
- TResult? whenOrNull<TResult extends Object?>({
- TResult Function()? signedInWithUserEmailAndPassword,
- TResult Function(String email)? emailChanged,
- TResult Function(String password)? passwordChanged,
- }) {
- return emailChanged?.call(email);
- }
- @override
- @optionalTypeArgs
- TResult maybeWhen<TResult extends Object?>({
- TResult Function()? signedInWithUserEmailAndPassword,
- TResult Function(String email)? emailChanged,
- TResult Function(String password)? passwordChanged,
- required TResult orElse(),
- }) {
- if (emailChanged != null) {
- return emailChanged(email);
- }
- return orElse();
- }
- @override
- @optionalTypeArgs
- TResult map<TResult extends Object?>({
- required TResult Function(SignedInWithUserEmailAndPassword value)
- signedInWithUserEmailAndPassword,
- required TResult Function(EmailChanged value) emailChanged,
- required TResult Function(PasswordChanged value) passwordChanged,
- }) {
- return emailChanged(this);
- }
- @override
- @optionalTypeArgs
- TResult? mapOrNull<TResult extends Object?>({
- TResult Function(SignedInWithUserEmailAndPassword value)?
- signedInWithUserEmailAndPassword,
- TResult Function(EmailChanged value)? emailChanged,
- TResult Function(PasswordChanged value)? passwordChanged,
- }) {
- return emailChanged?.call(this);
- }
- @override
- @optionalTypeArgs
- TResult maybeMap<TResult extends Object?>({
- TResult Function(SignedInWithUserEmailAndPassword value)?
- signedInWithUserEmailAndPassword,
- TResult Function(EmailChanged value)? emailChanged,
- TResult Function(PasswordChanged value)? passwordChanged,
- required TResult orElse(),
- }) {
- if (emailChanged != null) {
- return emailChanged(this);
- }
- return orElse();
- }
- }
- abstract class EmailChanged implements SignInEvent {
- const factory EmailChanged(String email) = _$EmailChanged;
- String get email => throw _privateConstructorUsedError;
- @JsonKey(ignore: true)
- $EmailChangedCopyWith<EmailChanged> get copyWith =>
- throw _privateConstructorUsedError;
- }
- /// @nodoc
- abstract class $PasswordChangedCopyWith<$Res> {
- factory $PasswordChangedCopyWith(
- PasswordChanged value, $Res Function(PasswordChanged) then) =
- _$PasswordChangedCopyWithImpl<$Res>;
- $Res call({String password});
- }
- /// @nodoc
- class _$PasswordChangedCopyWithImpl<$Res>
- extends _$SignInEventCopyWithImpl<$Res>
- implements $PasswordChangedCopyWith<$Res> {
- _$PasswordChangedCopyWithImpl(
- PasswordChanged _value, $Res Function(PasswordChanged) _then)
- : super(_value, (v) => _then(v as PasswordChanged));
- @override
- PasswordChanged get _value => super._value as PasswordChanged;
- @override
- $Res call({
- Object? password = freezed,
- }) {
- return _then(PasswordChanged(
- password == freezed
- ? _value.password
- : password // ignore: cast_nullable_to_non_nullable
- as String,
- ));
- }
- }
- /// @nodoc
- class _$PasswordChanged implements PasswordChanged {
- const _$PasswordChanged(this.password);
- @override
- final String password;
- @override
- String toString() {
- return 'SignInEvent.passwordChanged(password: $password)';
- }
- @override
- bool operator ==(dynamic other) {
- return identical(this, other) ||
- (other is PasswordChanged &&
- (identical(other.password, password) ||
- const DeepCollectionEquality()
- .equals(other.password, password)));
- }
- @override
- int get hashCode =>
- runtimeType.hashCode ^ const DeepCollectionEquality().hash(password);
- @JsonKey(ignore: true)
- @override
- $PasswordChangedCopyWith<PasswordChanged> get copyWith =>
- _$PasswordChangedCopyWithImpl<PasswordChanged>(this, _$identity);
- @override
- @optionalTypeArgs
- TResult when<TResult extends Object?>({
- required TResult Function() signedInWithUserEmailAndPassword,
- required TResult Function(String email) emailChanged,
- required TResult Function(String password) passwordChanged,
- }) {
- return passwordChanged(password);
- }
- @override
- @optionalTypeArgs
- TResult? whenOrNull<TResult extends Object?>({
- TResult Function()? signedInWithUserEmailAndPassword,
- TResult Function(String email)? emailChanged,
- TResult Function(String password)? passwordChanged,
- }) {
- return passwordChanged?.call(password);
- }
- @override
- @optionalTypeArgs
- TResult maybeWhen<TResult extends Object?>({
- TResult Function()? signedInWithUserEmailAndPassword,
- TResult Function(String email)? emailChanged,
- TResult Function(String password)? passwordChanged,
- required TResult orElse(),
- }) {
- if (passwordChanged != null) {
- return passwordChanged(password);
- }
- return orElse();
- }
- @override
- @optionalTypeArgs
- TResult map<TResult extends Object?>({
- required TResult Function(SignedInWithUserEmailAndPassword value)
- signedInWithUserEmailAndPassword,
- required TResult Function(EmailChanged value) emailChanged,
- required TResult Function(PasswordChanged value) passwordChanged,
- }) {
- return passwordChanged(this);
- }
- @override
- @optionalTypeArgs
- TResult? mapOrNull<TResult extends Object?>({
- TResult Function(SignedInWithUserEmailAndPassword value)?
- signedInWithUserEmailAndPassword,
- TResult Function(EmailChanged value)? emailChanged,
- TResult Function(PasswordChanged value)? passwordChanged,
- }) {
- return passwordChanged?.call(this);
- }
- @override
- @optionalTypeArgs
- TResult maybeMap<TResult extends Object?>({
- TResult Function(SignedInWithUserEmailAndPassword value)?
- signedInWithUserEmailAndPassword,
- TResult Function(EmailChanged value)? emailChanged,
- TResult Function(PasswordChanged value)? passwordChanged,
- required TResult orElse(),
- }) {
- if (passwordChanged != null) {
- return passwordChanged(this);
- }
- return orElse();
- }
- }
- abstract class PasswordChanged implements SignInEvent {
- const factory PasswordChanged(String password) = _$PasswordChanged;
- String get password => throw _privateConstructorUsedError;
- @JsonKey(ignore: true)
- $PasswordChangedCopyWith<PasswordChanged> get copyWith =>
- throw _privateConstructorUsedError;
- }
- /// @nodoc
- class _$SignInStateTearOff {
- const _$SignInStateTearOff();
- _SignInState call(
- {String? email,
- String? password,
- required bool isSubmitting,
- required Option<String> passwordError,
- required Option<String> emailError,
- required Option<Either<UserProfile, FlowyError>> successOrFail}) {
- return _SignInState(
- email: email,
- password: password,
- isSubmitting: isSubmitting,
- passwordError: passwordError,
- emailError: emailError,
- successOrFail: successOrFail,
- );
- }
- }
- /// @nodoc
- const $SignInState = _$SignInStateTearOff();
- /// @nodoc
- mixin _$SignInState {
- String? get email => throw _privateConstructorUsedError;
- String? get password => throw _privateConstructorUsedError;
- bool get isSubmitting => throw _privateConstructorUsedError;
- Option<String> get passwordError => throw _privateConstructorUsedError;
- Option<String> get emailError => throw _privateConstructorUsedError;
- Option<Either<UserProfile, FlowyError>> get successOrFail =>
- throw _privateConstructorUsedError;
- @JsonKey(ignore: true)
- $SignInStateCopyWith<SignInState> get copyWith =>
- throw _privateConstructorUsedError;
- }
- /// @nodoc
- abstract class $SignInStateCopyWith<$Res> {
- factory $SignInStateCopyWith(
- SignInState value, $Res Function(SignInState) then) =
- _$SignInStateCopyWithImpl<$Res>;
- $Res call(
- {String? email,
- String? password,
- bool isSubmitting,
- Option<String> passwordError,
- Option<String> emailError,
- Option<Either<UserProfile, FlowyError>> successOrFail});
- }
- /// @nodoc
- class _$SignInStateCopyWithImpl<$Res> implements $SignInStateCopyWith<$Res> {
- _$SignInStateCopyWithImpl(this._value, this._then);
- final SignInState _value;
- // ignore: unused_field
- final $Res Function(SignInState) _then;
- @override
- $Res call({
- Object? email = freezed,
- Object? password = freezed,
- Object? isSubmitting = freezed,
- Object? passwordError = freezed,
- Object? emailError = freezed,
- Object? successOrFail = freezed,
- }) {
- return _then(_value.copyWith(
- email: email == freezed
- ? _value.email
- : email // ignore: cast_nullable_to_non_nullable
- as String?,
- password: password == freezed
- ? _value.password
- : password // ignore: cast_nullable_to_non_nullable
- as String?,
- isSubmitting: isSubmitting == freezed
- ? _value.isSubmitting
- : isSubmitting // ignore: cast_nullable_to_non_nullable
- as bool,
- passwordError: passwordError == freezed
- ? _value.passwordError
- : passwordError // ignore: cast_nullable_to_non_nullable
- as Option<String>,
- emailError: emailError == freezed
- ? _value.emailError
- : emailError // ignore: cast_nullable_to_non_nullable
- as Option<String>,
- successOrFail: successOrFail == freezed
- ? _value.successOrFail
- : successOrFail // ignore: cast_nullable_to_non_nullable
- as Option<Either<UserProfile, FlowyError>>,
- ));
- }
- }
- /// @nodoc
- abstract class _$SignInStateCopyWith<$Res>
- implements $SignInStateCopyWith<$Res> {
- factory _$SignInStateCopyWith(
- _SignInState value, $Res Function(_SignInState) then) =
- __$SignInStateCopyWithImpl<$Res>;
- @override
- $Res call(
- {String? email,
- String? password,
- bool isSubmitting,
- Option<String> passwordError,
- Option<String> emailError,
- Option<Either<UserProfile, FlowyError>> successOrFail});
- }
- /// @nodoc
- class __$SignInStateCopyWithImpl<$Res> extends _$SignInStateCopyWithImpl<$Res>
- implements _$SignInStateCopyWith<$Res> {
- __$SignInStateCopyWithImpl(
- _SignInState _value, $Res Function(_SignInState) _then)
- : super(_value, (v) => _then(v as _SignInState));
- @override
- _SignInState get _value => super._value as _SignInState;
- @override
- $Res call({
- Object? email = freezed,
- Object? password = freezed,
- Object? isSubmitting = freezed,
- Object? passwordError = freezed,
- Object? emailError = freezed,
- Object? successOrFail = freezed,
- }) {
- return _then(_SignInState(
- email: email == freezed
- ? _value.email
- : email // ignore: cast_nullable_to_non_nullable
- as String?,
- password: password == freezed
- ? _value.password
- : password // ignore: cast_nullable_to_non_nullable
- as String?,
- isSubmitting: isSubmitting == freezed
- ? _value.isSubmitting
- : isSubmitting // ignore: cast_nullable_to_non_nullable
- as bool,
- passwordError: passwordError == freezed
- ? _value.passwordError
- : passwordError // ignore: cast_nullable_to_non_nullable
- as Option<String>,
- emailError: emailError == freezed
- ? _value.emailError
- : emailError // ignore: cast_nullable_to_non_nullable
- as Option<String>,
- successOrFail: successOrFail == freezed
- ? _value.successOrFail
- : successOrFail // ignore: cast_nullable_to_non_nullable
- as Option<Either<UserProfile, FlowyError>>,
- ));
- }
- }
- /// @nodoc
- class _$_SignInState implements _SignInState {
- const _$_SignInState(
- {this.email,
- this.password,
- required this.isSubmitting,
- required this.passwordError,
- required this.emailError,
- required this.successOrFail});
- @override
- final String? email;
- @override
- final String? password;
- @override
- final bool isSubmitting;
- @override
- final Option<String> passwordError;
- @override
- final Option<String> emailError;
- @override
- final Option<Either<UserProfile, FlowyError>> successOrFail;
- @override
- String toString() {
- return 'SignInState(email: $email, password: $password, isSubmitting: $isSubmitting, passwordError: $passwordError, emailError: $emailError, successOrFail: $successOrFail)';
- }
- @override
- bool operator ==(dynamic other) {
- return identical(this, other) ||
- (other is _SignInState &&
- (identical(other.email, email) ||
- const DeepCollectionEquality().equals(other.email, email)) &&
- (identical(other.password, password) ||
- const DeepCollectionEquality()
- .equals(other.password, password)) &&
- (identical(other.isSubmitting, isSubmitting) ||
- const DeepCollectionEquality()
- .equals(other.isSubmitting, isSubmitting)) &&
- (identical(other.passwordError, passwordError) ||
- const DeepCollectionEquality()
- .equals(other.passwordError, passwordError)) &&
- (identical(other.emailError, emailError) ||
- const DeepCollectionEquality()
- .equals(other.emailError, emailError)) &&
- (identical(other.successOrFail, successOrFail) ||
- const DeepCollectionEquality()
- .equals(other.successOrFail, successOrFail)));
- }
- @override
- int get hashCode =>
- runtimeType.hashCode ^
- const DeepCollectionEquality().hash(email) ^
- const DeepCollectionEquality().hash(password) ^
- const DeepCollectionEquality().hash(isSubmitting) ^
- const DeepCollectionEquality().hash(passwordError) ^
- const DeepCollectionEquality().hash(emailError) ^
- const DeepCollectionEquality().hash(successOrFail);
- @JsonKey(ignore: true)
- @override
- _$SignInStateCopyWith<_SignInState> get copyWith =>
- __$SignInStateCopyWithImpl<_SignInState>(this, _$identity);
- }
- abstract class _SignInState implements SignInState {
- const factory _SignInState(
- {String? email,
- String? password,
- required bool isSubmitting,
- required Option<String> passwordError,
- required Option<String> emailError,
- required Option<Either<UserProfile, FlowyError>> successOrFail}) =
- _$_SignInState;
- @override
- String? get email => throw _privateConstructorUsedError;
- @override
- String? get password => throw _privateConstructorUsedError;
- @override
- bool get isSubmitting => throw _privateConstructorUsedError;
- @override
- Option<String> get passwordError => throw _privateConstructorUsedError;
- @override
- Option<String> get emailError => throw _privateConstructorUsedError;
- @override
- Option<Either<UserProfile, FlowyError>> get successOrFail =>
- throw _privateConstructorUsedError;
- @override
- @JsonKey(ignore: true)
- _$SignInStateCopyWith<_SignInState> get copyWith =>
- throw _privateConstructorUsedError;
- }
|