AuthRepository class Null safety

Inheritance

Constructors

AuthRepository.instance()
factory

Properties

accessToken Future<String?>
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
isLoggedIn Future<bool>
read-only, inherited
refreshToken Future<String?>
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userCode Future<String?>
read-only
userId Future<String?>
read-only, override

Methods

deleteAccessToken() Future
override
deleteRefreshToken() Future
override
deleteUserCode() Future
deleteUserId() Future
override
logout() Future
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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