hasRuleForEntityTypeField method
Implementation
bool hasRuleForEntityTypeField(Type type) {
if (isInnocuous) return false;
if (entityType == type) {
var entityFields = this.entityFields;
return entityFields != null && entityFields.isNotEmpty;
}
final rules = this.rules;
return rules != null && rules.any((r) => r.hasRuleForEntityTypeField(type));
}