Session class

Constructors

Session({required String name})

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String key, dynamic value) Session
Add a value to the session
clear() Session
Clear the session
data() Map<String, dynamic>?
Get all the session data
delete(String key) Session
Delete a value from the session
flush() Session
Clear the session
get<T>(String key) → T?
Get a value from the session
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