mapLeft<C> method

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

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

Implementation

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