scheduleRelative method

  1. @override
Disposable scheduleRelative(
  1. Duration duration,
  2. Callback0 callback
)
override

Schedules a callback to be executed after the specified duration.

Implementation

@override
Disposable scheduleRelative(Duration duration, Callback0 callback) =>
    scheduleAbsolute(now.add(duration), callback);