isStaff property

bool get isStaff

Whether this role is staff (above a regular subscriber) — i.e. an account whose status should be shown as a role rather than "free account".

Implementation

bool get isStaff => value > UserRole.subscriber.value;