Throttler class

Implemented types

Constructors

Throttler({required Duration delay, dynamic callback, Duration? max, List? args, bool noTrailing = false})

Properties

args List?
final
callback → dynamic
final
delay Duration
final
hashCode int
The hash code for this object.
no setterinherited
lastExec DateTime
getter/setter pair
max Duration?
final
noTrailing bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeoutId Timer?
getter/setter pair

Methods

limit([dynamic callback]) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
throttle([dynamic callback]) → void
toString() String
A string representation of this object.
inherited

Operators

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