StateEmitter<T> class
abstract
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasValue → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
no setter
- valueOrNull → T?
-
no setter
-
valueStream
→ Stream<
T> -
no setter
Methods
-
asStream(
) → Stream< T> -
firstWhere(
bool test(T element), {T orElse()?, required Duration timeLimit}) → Future< T> -
listen(
void onData(T value)?, {Function? onError, void onDone()?, bool? cancelOnError}) → StreamSubscription< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
waitFor<
E extends T> ({required Duration timeLimit}) → Future< E>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited