getDetailsSubtree method Null safety

String getDetailsSubtree(
  1. String id,
  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 id,
  String groupName, {
  int subtreeDepth = 2,
}) {
  return _safeJsonEncode(_getDetailsSubtree( id, groupName, subtreeDepth));
}