getManagedPeriodicTimer method

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

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

Implementation

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