Permission constructor

Permission({
  1. required PermissionActionEnum? action,
  2. required Resource? resource,
})

Returns a new Permission instance.

Implementation

Permission({
  required this.action,
  required this.resource,
});