ContextKey<T> class
Key for Context values Each instance is unique, even if created with the same name.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
The key name, used for debugging purposes.
As per the specification, this does not uniquely identify the key.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uniqueId
→ List<
int> -
Returns an unmodifiable view of the unique ID as a list of integers.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
generateContextKeyId(
) → Uint8List - Generates a unique identifier for the context key.