map<C> method

  1. @override
StateAsync<S, C> map<C>(
  1. C f(
    1. A a
    )
)
override

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));