flatMap<C> abstract method

  1. @override
Either<L, C> flatMap<C>(
  1. covariant Either<L, C> f(
    1. R a

Used to chain multiple functions that return a Either.

You can extract the value of every Right in the chain without handling all possible missing cases. If any of the functions in the chain returns Left, the result is Left.

Same as bind.


Either<L, C> flatMap<C>(covariant Either<L, C> Function(R a) f);