createPeriodicTimer abstract method

Timer createPeriodicTimer(
  1. Duration period,
  2. void callback(
    1. Timer timer
    )
)

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

Implementation

Timer createPeriodicTimer(Duration period, void callback(Timer timer));