hasRead method

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

Gets Read flag for given key and roles

Implementation

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