getDetailsSubtree method Null safety
Returns a JSON representation of the subtree rooted at the
DiagnosticsNode object that diagnosticsNodeId
references providing
information needed for the details subtree view.
The number of levels of the subtree that should be returned is specified
by the subtreeDepth
parameter. This value defaults to 2 for backwards
compatibility.
See also:
- getChildrenDetailsSubtree, a method to get children of a node in the details subtree.
Implementation
String getDetailsSubtree(
String id,
String groupName, {
int subtreeDepth = 2,
}) {
return _safeJsonEncode(_getDetailsSubtree( id, groupName, subtreeDepth));
}