| |
| |
| |
| # VmoMatcher class |
| |
| |
| |
| |
| |
| |
| *[<Null safety>](https://dart.dev/null-safety)* |
| |
| |
| |
| <p>A matcher for testing the structure of Inspect data written to a VMO.</p> |
| <p>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.</p> |
| <p>Note that this class is not optimized for efficiency, and should only |
| be used in tests.</p> |
| |
| |
| |
| |
| ## Constructors |
| |
| [VmoMatcher](../package-fuchsia_inspect_testing/VmoMatcher/VmoMatcher.md) (VmoHolder _holder) |
| |
| Create a new matcher that matches against the given VmoHolder. |
| |
| |
| ## Properties |
| |
| ##### [errors](../package-fuchsia_inspect_testing/VmoMatcher/errors.md) → List<String> |
| |
| |
| |
| Gets the list of errors. |
| _read-only_ |
| |
| |
| |
| ##### [hashCode](../package-fuchsia_inspect_testing/VmoMatcher/hashCode.md) → int |
| |
| |
| |
| The hash code for this object. |
| _read-only, inherited_ |
| |
| |
| |
| ##### [runtimeType](../package-fuchsia_inspect_testing/VmoMatcher/runtimeType.md) → Type |
| |
| |
| |
| A representation of the runtime type of the object. |
| _read-only, inherited_ |
| |
| |
| |
| |
| |
| ## Methods |
| |
| ##### [node](../package-fuchsia_inspect_testing/VmoMatcher/node.md)() [NodeMatcher](../package-fuchsia_inspect_testing/NodeMatcher-class.md) |
| |
| |
| |
| Retrieve the root node matcher, which can be used to match against |
| nested properties and children. |
| |
| |
| |
| |
| ##### [noSuchMethod](../package-fuchsia_inspect_testing/VmoMatcher/noSuchMethod.md)(Invocation invocation) dynamic |
| |
| |
| |
| Invoked when a non-existent method or property is accessed. |
| _inherited_ |
| |
| |
| |
| ##### [resetErrors](../package-fuchsia_inspect_testing/VmoMatcher/resetErrors.md)() void |
| |
| |
| |
| Resets the recorded errors from this VmoMatcher. |
| |
| |
| |
| |
| ##### [toString](../package-fuchsia_inspect_testing/VmoMatcher/toString.md)() String |
| |
| |
| |
| A string representation of this object. |
| _inherited_ |
| |
| |
| |
| |
| |
| ## Operators |
| |
| ##### [operator ==](../package-fuchsia_inspect_testing/VmoMatcher/operator_equals.md)(Object other) bool |
| |
| |
| |
| The equality operator. |
| _inherited_ |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |