SessionManager class

Implemented types
Annotations
  • @Injectable.new(as: ISessionManager)

Constructors

SessionManager(FlutterSecureStorage _secureStorage)

Properties

hashCode → int
The hash code for this object.
no setterinherited
isAuthenticated → Future<bool>
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearBiometrics() → Future<void>
override
clearSession() → Future<void>
override
deleteAllPreviousSearchHistory() → Future<void>
override
getCurrentUser() → Future<UserModel?>
override
getHistorySearches() → Future<List<StoreRecentSearchEntity>>
override
getToken() → Future<String?>
override
isBiometricsEnabled() → Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBiometricInfo() → Future<BiometricRegisterModel?>
override
readCartCount() → Future<int>
override
saveCartCount(int count) → Future<void>
override
saveCurrentSearchItem(String searchItem) → Future<void>
override
saveCurrentUser({UserModel? user}) → Future<void>
override
saveToken({required String accessToken}) → Future<void>
override
saveWishlistProduct({required String productId, required bool isWishlist}) → Future<void>
override
storeBiometricInfo(BiometricRegisterModel? model) → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited