RequestKey<T> class final

Type-safe identity used to extend one request context.

Constructors

RequestKey(String name)
Creates a request-local key.

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
The name shown in diagnostics.
final
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
set(RequestContext context, T value) → void
Stores value in context under this key.
toString() → String
A string representation of this object.
override

Operators

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