pure<B> method

Task<B> pure<B>(
  1. B b
)

Implementation

Task<B> pure<B>(B b) => Task(() => Future.value(b));