getManagedTimer method

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

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

Implementation

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