mapLeft<L1> method
Implementation
Either<L1, R> mapLeft<L1>(L1 Function(L) f) => fold(
(l) => Either.left(f(l)),
Either.right,
);
Either<L1, R> mapLeft<L1>(L1 Function(L) f) => fold(
(l) => Either.left(f(l)),
Either.right,
);