alt abstract method
- covariant Either<
L, R> orElse(
override
Return the current Either if it is a Right, otherwise return the result of orElse
.
Used to provide an alternative Either in case the current one is Left.
Implementation
@override
Either<L, R> alt(covariant Either<L, R> Function() orElse);