blob: aa5c1624d9e9925fb2211906d48dcefbf8db8070 [file] [log] [blame] [view]
# InspectFlutter class
*[<Null safety>](https://dart.dev/null-safety)*
<p>This class provides methods to convert from Flutter DiagnosticsNodes to
Inspect format nodes.</p>
## Constructors
[InspectFlutter](../package-fuchsia_inspect_flutter_inspect_flutter/InspectFlutter/InspectFlutter.md) ()
## Properties
##### [hashCode](../package-fuchsia_inspect_flutter_inspect_flutter/InspectFlutter/hashCode.md) &#8594; int
The hash code for this object.
_read-only, inherited_
##### [runtimeType](../package-fuchsia_inspect_flutter_inspect_flutter/InspectFlutter/runtimeType.md) &#8594; Type
A representation of the runtime type of the object.
_read-only, inherited_
## Methods
##### [noSuchMethod](../package-fuchsia_inspect_flutter_inspect_flutter/InspectFlutter/noSuchMethod.md)(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
_inherited_
##### [toString](../package-fuchsia_inspect_flutter_inspect_flutter/InspectFlutter/toString.md)() String
A string representation of this object.
_inherited_
## Operators
##### [operator ==](../package-fuchsia_inspect_flutter_inspect_flutter/InspectFlutter/operator_equals.md)(Object other) bool
The equality operator.
_inherited_
## Static Methods
##### [exposeDiagnosticsTree](../package-fuchsia_inspect_flutter_inspect_flutter/InspectFlutter/exposeDiagnosticsTree.md)([Outgoing](../package-fuchsia_services_services/Outgoing-class.md) outgoing, String name) void
Mounts an <a href="../package-fuchsia_inspect_inspect/Inspect-class.md">Inspect</a> file at name.inspect to the hub that exposes the root
diagnostic hierarchy for this component.
##### [inspectFromDiagnostic](../package-fuchsia_inspect_flutter_inspect_flutter/InspectFlutter/inspectFromDiagnostic.md)(dynamic diagnostics, [Node](../package-fuchsia_inspect_inspect/Node-class.md)? parent) void
Converts an diagnostics tree into a Node tree
Creates a Node with Inspect data based on what
information was in the DiagnosticsNode and attaches
it to the parent