getChildrenSummaryTree method

String getChildrenSummaryTree (String diagnosticsNodeId, String groupName)

Returns a JSON representation of the children of the DiagnosticsNode object that diagnosticsNodeId references only including children that were created directly by user code.

Requires Widget creation locations which are only available for debug mode builds when the --track-widget-creation flag is passed to flutter_tool.

See also:

Implementation

String getChildrenSummaryTree(String diagnosticsNodeId, String groupName) {
  return _safeJsonEncode(_getChildrenSummaryTree(diagnosticsNodeId, groupName));
}