getManagedTimer method

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

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

Implementation

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