A matcher for testing the structure of Inspect data written to a VMO.
This matcher aggregates errors from attempting to access or match values stored in the VMO. The set of aggregated errors may be taken and reset using the |errors| getter for the purposes of unit testing an Inspect hierarchy.
Note that this class is not optimized for efficiency, and should only be used in tests.
VmoMatcher (VmoHolder _holder)
Create a new matcher that matches against the given VmoHolder.
errors → List<String>
Gets the list of errors.
hashCode → int
The hash code for this object. ...
runtimeType → Type
A representation of the runtime type of the object.
Retrieve the root node matcher, which can be used to match against nested properties and children.
noSuchMethod(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed. ...
Resets the recorded errors from this VmoMatcher.
Returns a string representation of this object.
operator ==(Object other) bool
The equality operator. ...