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})
    :
      // ignore: prefer_initializing_formals
      entityType = entityType,
      ruleType = EntityAccessRuleType.allow,
      rules = null,
      _simplified = false,
      super(false);