isElevated property

bool get isElevated

Returns true if this user has elevated privileges (i.e. UserCapability.dev or UserCapability.moderator). Otherwise false.

Implementation

bool get isElevated => hasCapability(UserCapability.dev) || hasCapability(UserCapability.moderator);