map<L, C> method

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

Implementation

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