isModerator property

bool isModerator

Returns true if this capability is UserCapability.moderator. Otherwise false.

Implementation

bool get isModerator => this == UserCapability.moderator;