StreamSubscriptionListenable<T> class abstract

Inheritance
Implementers

Properties

cancelOnDispose bool
True if the supplied StreamSubscription should get called once StreamSubscriptionNotifier.dispose gets called.
no setter
cancelOnDone bool
True if the supplied StreamSubscription should get called once it is done.
no setter
cancelOnError bool
True if the supplied StreamSubscription should get called once an error gets emitted.
no setter
hadError bool
True if the underlying StreamSubscription emitted an error.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasValue bool
If true then value can successfully be read.
no setter
ignoreError bool
True if this StreamSubscriptionNotifier should ignore it if the underlying StreamSubscription emits an error.
no setter
isCancelled AdvancedValueListenable<bool>
True if the underlying StreamSubscription got cancelled by this StreamSubscriptionNotifier.
no setter
isDone AdvancedValueListenable<bool>
Whether the underlying StreamSubscription is done or not.
no setter
onError EmptyValueListenable<StreamError>
Get the most recent StreamError the StreamSubscription emitted.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The value of a StreamSubscriptionNotifier is read-only, it can only be modified by the StreamSubscription.onData callback. Use this getter to read the most recent value the StreamSubscription, that was used to initialize this StreamSubscriptionNotifier, emitted.
no setteroverride

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object notifies its listeners.
inherited
addValueListener(ValueCallback<T> listener) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
removeValueListener(ValueCallback<T> listener) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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