EmptyLocalStorage class

A LocalStorage implementation that does nothing. Use this to disable persistence.

Inheritance

Constructors

EmptyLocalStorage()
Creates a LocalStorage instance that disables persistence
const

Properties

accessToken Future<String?> Function()
Get the access token from the current persisted session.
finalinherited
hasAccessToken Future<bool> Function()
Check if there is a persisted session.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initialize Future<void> Function()
Initialize the storage to persist session.
finalinherited
persistSession Future<void> Function(String)
Persist a session in the device.
finalinherited
removePersistedSession Future<void> Function()
Remove the current persisted session.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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