NySession class

Constructors

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