ReaderTask<E, A>.of constructor

ReaderTask<E, A>.of(
  1. A a
)

Build a ReaderTask that returns a.

Implementation

factory ReaderTask.of(A a) => ReaderTask((_) async => a);