isRight property

Future<bool> get isRight

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

Implementation

Future<bool> get isRight => this.then((either) => either.isRight);