map<C, R> method

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

Implementation

Either<C, R> map<C, R>(C Function(L) f) => _either.fold(
    (L l) => Left<C, R>(f(this._value)),
    (_) => Right<C, R>((_either as Right)._value));