getManagedPeriodicTimer method

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

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

Implementation

@override
Timer getManagedPeriodicTimer(
        Duration duration, void callback(Timer timer)) =>
    _disposable.getManagedPeriodicTimer(duration, callback);