ListenableSubscription class

Object that is returned by listen that allows you to stop the calling of the handler that you passed to it.

Constructors

ListenableSubscription(ValueListenable endOfPipe)

Properties

canceled bool
getter/setter pair
endOfPipe ValueListenable
final
handler VoidCallback
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → void
Removes the handler that you installed with listen It's save to call cancel on an already canceled subscription
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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