map<C> method

  1. @override
Either<L, C> map<C>(
  1. C f(
    1. R a
    )
)
override

If the Either is Right, then change its value from type R to type C using function f.

Implementation

@override
Either<L, C> map<C>(C Function(R a) f) => Right<L, C>(f(_value));