value<A> static method

Task<A> value<A>(
  1. A a
)

Implementation

static Task<A> value<A>(A a) => new Task(() => new Future.value(a));