DebouncedCallback class

Callable wrapper that exposes debouncing controls.

Constructors

DebouncedCallback(Debouncer _debouncer, AsyncAction _action)
Creates a callable wrapper around a Debouncer and action.

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Returns true if the debouncer is disposed.
no setter
isRunning bool
Returns true if there is a scheduled action pending.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call() → void
Invokes the debounced action.
cancel() → void
Cancels any pending action.
dispose() → void
Disposes the debouncer.
flush() Future<void>
Flushes any pending action.
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