rights method

Iterable<B> rights()

Extract the Right values

Implementation

Iterable<B> rights() =>
    whereType<Right<A, B>>().map((e) => e.getR((_) => throw 'Unreachable'));