isEitherRight property

Future<bool> isEitherRight

Represents the right side of Either class which by convention is a "Success"

Implementation

Future<bool> get isEitherRight =>
    then((Either<L, R> either) => either.isRight);