has method
- List<
UserCapability> capabilities
Returns true
if the list contains all of the given capabilities
. Otherwise false
.
Implementation
bool has(List<UserCapability> capabilities) => capabilities.every(contains);
Returns true
if the list contains all of the given capabilities
. Otherwise false
.
bool has(List<UserCapability> capabilities) => capabilities.every(contains);