File tree 3 files changed +5
-5
lines changed
packages/user_repository/lib/src
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ final class AppState extends Equatable {
18
18
const AppState ._({
19
19
required this .status,
20
20
this .user = User .none,
21
- this .failure = UserFailure .none ,
21
+ this .failure = UserFailure .empty ,
22
22
});
23
23
24
24
const AppState .unauthenticated () : this ._(status: AppStatus .unauthenticated);
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ final class LoginState extends Equatable {
18
18
const LoginState ._({
19
19
this .status = LoginStatus .initial,
20
20
this .signInMethod = SignInMethod .none,
21
- this .failure = UserFailure .none ,
21
+ this .failure = UserFailure .empty ,
22
22
});
23
23
24
24
const LoginState .initial () : this ._();
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ class UserFailure extends Failure {
13
13
factory UserFailure .fromSignInWithAppleNotSupported () =>
14
14
const AppleSignInNotSupportedFailure ();
15
15
16
- static const none = UserNoFailure ();
16
+ static const empty = EmptyUserFailure ();
17
17
}
18
18
19
- class UserNoFailure extends UserFailure {
20
- const UserNoFailure () : super ._();
19
+ class EmptyUserFailure extends UserFailure {
20
+ const EmptyUserFailure () : super ._();
21
21
}
22
22
23
23
class AuthUserChangesFailure extends UserFailure {
You can’t perform that action at this time.
0 commit comments