getManagedDelayedFuture<T> method
Creates a Future that will complete, with the value
returned by callback
, after the given amount of time has elapsed.
If the object is disposed before the time has elapsed the future
will complete with an ObjectDisposedException
error.
Implementation
@override
Future<T> getManagedDelayedFuture<T>(Duration duration, T callback()) =>
_disposable.getManagedDelayedFuture(duration, callback);