|
|
|
@ -13,6 +13,7 @@ class AuthenticationViewModel with ChangeNotifier {
|
|
|
|
AuthenticationService _authenticationService =
|
|
|
|
AuthenticationService _authenticationService =
|
|
|
|
locator<AuthenticationService>();
|
|
|
|
locator<AuthenticationService>();
|
|
|
|
AuthenticatedUser user;
|
|
|
|
AuthenticatedUser user;
|
|
|
|
|
|
|
|
int get userId => _authenticationService.userID;
|
|
|
|
bool isLogin = false;
|
|
|
|
bool isLogin = false;
|
|
|
|
bool isLoading = false;
|
|
|
|
bool isLoading = false;
|
|
|
|
bool isError = false;
|
|
|
|
bool isError = false;
|
|
|
|
|