propertyEquals method

*[<Null safety>](https://dart.dev/null-safety)*

PropertyMatcher propertyEquals (String name, dynamic val)

Checks that a property of this node equals the given value.

Implementation

PropertyMatcher propertyEquals(String name, dynamic val) {
  return property(name)..equals(val);
}