HookData class
Mutable data container that propagates between hook stages (spec Section 4.6) Hook data allows mutable state to be shared across before/after/error/finally stages within a single flag evaluation lifecycle.
Constructors
- HookData()
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
-
containsKey(
String key) → bool - Check if a key exists
-
get(
String key) → dynamic - Get a value from hook data
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String key) → dynamic - Remove a key
-
set(
String key, dynamic value) → void - Set a value in hook data
-
toMap(
) → Map< String, dynamic> - Get all entries as an unmodifiable map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited