RequestStore class

Key-Value-Store for reading and writing request-related data

Constructors

RequestStore()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get<T>(String key) → T
Returns the stored value that has been associated with the specified key. Will throw if null or no value was registered.
getOrSet<T>(String key, T builder()) → T
Gets the value for the specified key or sets it using the builder.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(String key, dynamic value) → void
Stores a value associated with a specified key.
toString() String
A string representation of this object.
inherited
tryGet<T>(String key) → T?
Returns the stored value that has been associated with the specified key. Returns null if no value has been written.
unset(String key) → void
Clear any value associated with the specified key.

Operators

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