hasModerator property

bool hasModerator

Returns true if the list contains UserCapability.moderator. Otherwise false.

Implementation

bool get hasModerator => contains(UserCapability.moderator);