EntityAccessRules.allow constructor

const EntityAccessRules.allow(
  1. Type entityType, {
  2. List<String>? entityFields,
  3. EntityAccessRulesCondition? condition,
})

Implementation

const EntityAccessRules.allow(
  Type entityType, {
  this.entityFields,
  this.condition,
}) : entityType = entityType, // ignore: prefer_initializing_formals
     ruleType = EntityAccessRuleType.allow,
     rules = null,
     masker = null,
     _simplified = false,
     super(false);