Dart API Reference
dart:async
Timer
Timer
Timer
constructor
Creates a new timer.
Timer
(
Duration
duration
,
void
callback
()
)
Creates a new timer.
The callback function is invoked after the given duration.