getDetailsSubtree method

String getDetailsSubtree(
  1. String diagnosticableId,
  2. String groupName,
  3. {int subtreeDepth = 2}
)

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:

Implementation

String getDetailsSubtree(
  String diagnosticableId,
  String groupName, {
  int subtreeDepth = 2,
}) {
  return _safeJsonEncode(_getDetailsSubtree(diagnosticableId, groupName, subtreeDepth));
}