flatMap<R2> method
Applies the given function f to the contained value, and flattens the result.
Used for chaining operations that return an Either.
Implementation
@override
Either<L, R2> flatMap<R2>(Either<L, R2> Function(R right) f) {
return f(value);
}