hasModerator property
Returns true
if the list contains UserCapability.moderator. Otherwise false
.
Implementation
bool get hasModerator => contains(UserCapability.moderator);
Returns true
if the list contains UserCapability.moderator. Otherwise false
.
bool get hasModerator => contains(UserCapability.moderator);