DurationExtension extension

Duration EXTENSIONS

on

Methods

delay([FutureOr callback()?]) Future

Available on Duration, provided by the DurationExtension extension

Converts duration object to Future with an optional callback