Session class
Properties
- box ↔ Box?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
printAllValues(
) → void -
sessionAdd(
String key, dynamic value) → Future< bool> - Adds a dynamic value to the sessionPreferences box.
-
sessionClear(
) → Future< void> - Clears all values from the sessionPreferences box.
-
sessionGet(
String key, dynamic defaultValue) → dynamic - Retrieves a value from the sessionPreferences box or returns the default value if it doesn't exist.
-
sessionRemove(
String key) → Future< bool> - Removes a value from the sessionPreferences box.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
initSession(
) → Future< Session>