ListenableSubscription class Null safety

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
read / write
endOfPipe ValueListenable
final
handler VoidCallback
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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