StateContext class
Constructors
-
StateContext({StateIdProvider? idProvider, Iterable<
StateFeature> ? features})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- isEmpty → bool
-
no setter
- isNotEmpty → bool
-
no setter
- isNotOpen → bool
-
no setter
- isOpen → bool
-
no setter
- length → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stateKeys
→ Iterable<
StateKey> -
no setter
-
stateValues
→ Iterable<
StateValue> -
no setter
Methods
-
close(
) → Future< void> -
contains(
Object? key) → bool -
destroy(
) → Future< void> -
feature<
T extends StateFeature> () → T -
flush(
) → Future< void> -
get<
T extends StateValue> (StateKey< T> key) → T -
getAll<
T extends StateValue< (T> >bool test(T s)?) → Iterable< T> -
getOrNull<
T extends StateValue> (StateKey< T> key) → T? -
getWhere(
bool test(StateValue s)) → Iterable< StateValue> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → Future< void> -
reset(
[Stream< StateValue> ? values]) → Future<void> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited