createTimer abstract method

Timer createTimer(
  1. Duration duration,
  2. void callback()
)

Creates a Timer where the callback is executed in this zone.

Implementation

Timer createTimer(Duration duration, void Function() callback);