containsPropertyName method Null safety
- String propertyName
Whether the propertyName on any event matches the propertyName
argument
Implementation
bool containsPropertyName(String propertyName) {
return map((x) => x.propertyName).contains(propertyName);
}