GetDiagnosticsTree class Null safety

A Flutter Driver command to retrieve the JSON-serialized DiagnosticsNode tree of the object identified by finder.

The DiagnosticsType of the DiagnosticsNode tree returned is specified by diagnosticsType.



GetDiagnosticsTree(SerializableFinder finder, DiagnosticsType diagnosticsType, {int subtreeDepth = 0, bool includeProperties = true, Duration? timeout})
Creates a GetDiagnosticsTree Flutter Driver command.
GetDiagnosticsTree.deserialize(Map<String, String> json, DeserializeFinderFactory finderFactory)
Deserializes this command from the value generated by serialize.


diagnosticsType DiagnosticsType
The type of DiagnosticsNode tree that is requested.
finder SerializableFinder
Locates the object or objects targeted by this command.
final, inherited
hashCode int
The hash code for this object.
read-only, inherited
includeProperties bool
Whether the properties of a DiagnosticsNode should be included.
kind String
Identifies the type of the command object and of the handler.
read-only, override
requiresRootWidgetAttached bool
Whether this command requires the widget tree to be initialized before the command may be run.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subtreeDepth int
How many levels of children to include in the JSON result.
timeout Duration?
The maximum amount of time to wait for the command to complete.
final, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
serialize() Map<String, String>
This method is meant to be overridden if data in addition to finder is serialized to JSON.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.