StreamedIntervalTimer<T> class

Inheritance

Constructors

StreamedIntervalTimer(FutureOr<void> func(T?), Duration duration, {bool execNow = true})

Properties

duration Duration
finalinherited
fn ↔ (FutureOr<void> Function(IntervalTimer)?)
getter/setter pairoverride-getter
hashCode int
The hash code for this object.
no setterinherited
isActive bool
Returns whether the timer is still active.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tick int
The number of durations preceding the most recent timer event.
no setterinherited

Methods

add(T item) → void
cancel() → void
Cancels the timer.
inherited
clear() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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