containsPropertyName method Null safety

bool containsPropertyName(
  1. String propertyName
)

Whether the propertyName on any event matches the propertyName argument

Implementation

bool containsPropertyName(String propertyName) {
  return map((x) => x.propertyName).contains(propertyName);
}