NodeMatcher class

*<Null safety>*

Properties

errors → List<String>

Gets the list of errors.
read-only

hashCode → int

The hash code for this object. ...
read-only, inherited

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited

Methods

at(List<String> path) NodeMatcher

Get a NodeMatcher for the node at the given path below this one. ...

missingChild(String name) void

Asserts that this Node does not have the named child.

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

property(String name) PropertyMatcher

Get a PropertyMatcher for a property on this node. ...

propertyEquals(String name, dynamic val) PropertyMatcher

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

propertyNotEquals(String name, dynamic val) PropertyMatcher

Checks that a property of this node exists but does not equal the given value.

resetErrors() void

Resets the recorded errors from the parent matcher.

toString() String

Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited