getManagedPeriodicTimer abstract method

Timer getManagedPeriodicTimer(
  1. Duration duration,
  2. void callback(
    1. Timer timer
    )
)

Creates a periodic Timer that will be cancelled if active upon disposal.

Implementation

Timer getManagedPeriodicTimer(Duration duration, void callback(Timer timer));