WatchActionSubscription class

A handle to cancel a WatchAction. Usually this is not needed as the WatchAction is automatically cancelled when the ReduxNotifier is disposed.

Constructors

WatchActionSubscription(WatchAction<ReduxNotifier, dynamic> _action)

Properties

disposed bool
Whether the WatchAction is disposed (cancelled).
no setter
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
Cancel the WatchAction. It no longer rebuild the state.
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