map<L2, R2> abstract method
Transforms the left value with leftFunction
or the right value with
rightFunction
. The resulting Either contains the transformed value
of the corresponding function.
Implementation
Either<L2, R2> map<L2, R2>(
Map1<L, L2> leftFunction,
Map1<R, R2> rightFunction,
);