FieldSubscription<T> class
- Inheritance
-
- Object
- ControlSubscription<
T> - FieldSubscription
- Implemented types
- Available Extensions
Constructors
-
FieldSubscription(StreamSubscription<
T?> _sub)
Properties
- cancelOnError ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool
-
no setteroverride
- isCallbackAttached → bool
-
no setterinherited
- isPaused → bool
-
Whether the StreamSubscription is currently paused.
no setteroverride
- isValid → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
asFuture<
E> ([E? futureValue]) → Future< E> -
Returns a future that handles the onDone and onError callbacks.
override
-
cancel(
) → Future -
override
-
closePass(
T value) → bool -
inherited
-
dispose(
) → void -
Used to clear and dispose object.
After this method call is object typically unusable and ready for GC.
Can be called multiple times!
override
-
filter(
Predicate< T> ? filter) → ControlSubscription<T> -
inherited
-
filterPass(
T value) → bool -
inherited
-
initSubscription(
ObservableValue parent, [ValueCallback< T> ? callback]) → void -
inherited
-
invalidate(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyCallback(
T value) → void -
inherited
-
once(
) → ControlSubscription< T> -
inherited
-
onData(
void handleData(T? data)?) → void -
Replaces the data event handler of this subscription.
override
-
onDone(
void handleDone()?) → void -
Replaces the done event handler of this subscription.
override
-
onError(
Function? handleError) → void -
Replaces the error event handler of this subscription.
override
-
pause(
[Future? resumeSignal]) → void -
override
-
resume(
) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
until(
Predicate< T> ? predicate) → ControlSubscription<T> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited