Permission.all constructor
const
Permission.all(
- String resource
Returns a wildcard permission for resource, e.g. 'posts:*'.
A wildcard grants all actions on the resource.
Implementation
const Permission.all(String resource) : key = '$resource:*';