AuthRepository class
- Inheritance
-
- Object
- IRepository
- IAuthRepository
- AuthRepository
Constructors
- AuthRepository.instance()
-
factory
Properties
-
accessToken
→ Future<
String?> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isLoggedIn
→ Future<
bool> -
no setterinherited
-
refreshToken
→ Future<
String?> -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
userCode
→ Future<
String?> -
no setter
-
userId
→ Future<
String?> -
no setteroverride
Methods
-
deleteAccessToken(
) → Future -
override
-
deleteRefreshToken(
) → Future -
override
-
deleteUserCode(
) → Future -
deleteUserId(
) → Future -
override
-
logout(
) → Future -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writeAccessToken(
String accessToken) → Future -
override
-
writeRefreshToken(
String refreshToken) → Future -
override
-
writeUserCode(
String userCode) → Future -
writeUserId(
dynamic userId) → Future -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited