map2<C, D> method
- covariant Either<
L, C> m1, - D f(
- R b,
- C c
override
Change type of this Either based on its value of type R
and the
value of type C
of another Either.
Implementation
@override
Either<L, D> map2<C, D>(covariant Either<L, C> m1, D Function(R b, C c) f) =>
flatMap((b) => m1.map((c) => f(b, c)));