map<C> method
Change the value inside StateAsync<S, A>
from type A
to type C
using f
.
Implementation
@override
StateAsync<S, C> map<C>(C Function(A a) f) => ap(pure(f));
Change the value inside StateAsync<S, A>
from type A
to type C
using f
.
@override
StateAsync<S, C> map<C>(C Function(A a) f) => ap(pure(f));