hasModerator property

bool get hasModerator

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

Implementation

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