map<B> method
Change the returning value of the ReaderTask from type
A
to type B
using f
.
Implementation
@override
ReaderTask<E, B> map<B>(B Function(A a) f) => ap(pure(f));
Change the returning value of the ReaderTask from type
A
to type B
using f
.
@override
ReaderTask<E, B> map<B>(B Function(A a) f) => ap(pure(f));