Static Properties

timerTimer → Timer

read / write
timerTs50 → int

read / write

Static Methods

callLater(Function callback) → void

millisecondsSinceEpoch() → int

runNow() → void

timerCancel(Function callback) → void

timerOnceAfter(Function callback, int ms) → void

do nothing if the callback is already in the list and will get called after N or more ms

timerOnceBefore(Function callback, int ms) → void

do nothing if the callback is already in the list and will get called after 0 ~ N ms

timerOnceBetween(Function callback, int after, int before) → void

do nothing if the callback is already in the list and will get called after M to N ms

waitAndRun(Duration time, dynamic action()) → Future

Constructors

DsTimer()

Properties

hashCode → int

The hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited