hasCreate method

bool hasCreate(
  1. String key, {
  2. List<int>? roleIds,
})

Gets Create flag for given key and roles

Implementation

bool hasCreate(String key, {List<int>? roleIds}) {
  return _has(key, roleIds, CREATE);
}