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