addAttribute method
void
addAttribute(
- AttributeMatcher attributeMatcher
Implementation
void addAttribute(AttributeMatcher attributeMatcher) {
if (attributeMatcher is NegativeMatcher) {
for (String key in attributeMatcher.keys) {
ValueInfo? valueInfo = negativeMatchers[key];
if (valueInfo == null) {
valueInfo = ValueInfo();
negativeMatchers[key] = valueInfo;
}
valueInfo.addValues(attributeMatcher);
}
} else {
print("Unknown attributeMatcher ${attributeMatcher.runtimeType}");
}
}