isElevated property
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);