map<C> method

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

Change the value inside State<S, A> from type A to type C using f.

Implementation

@override
State<S, C> map<C>(C Function(A a) f) => ap(pure(f));