StateFeature class abstract

Implementers

Constructors

StateFeature()

Properties

hashCode int
The hash code for this object.
no setterinherited
isNotOpen bool
no setter
isOpen bool
no setter
lastUpdateId ObjectId
no setter
length int
no setter
log → Logger
latefinal
q Executor
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

call<T extends StateFeature>() → T
contains(Object? key) bool
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
onClose() Future<void>
onDestroy() Future<void>
onEvent(StateEvent<StateValue> event) → void
onFlush() Future<void>
onOpen() Future<void>
put<T extends StateValue>(T state) → void
remove<T extends StateValue>(StateKey<T>? key) → T?
reset(Stream<StateValue> values) Future<void>
set<T extends StateValue>(Iterable<T> list, {bool where(T s)?}) → void
toString() String
A string representation of this object.
override

Operators

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