TimerBouncer class

Timer bouncer, waits for pause in user input and performs request

Inheritance

Constructors

TimerBouncer(Duration bounceDuration)
takes Duration to determine pause in user input
const

Properties

bounceDuration Duration
delay in user input
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

debounce<T>({required Future<T> request(), required void responseHandler(T), Subscription? oldSubscription}) Subscription
debounce user action from response handler and previous action
override
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