delay<A> static method

Task<A> delay<A>(
  1. Function0<A> f
)

Implementation

static Task<A> delay<A>(Function0<A> f) => new Task(() => new Future.microtask(f));