getChildrenSummaryTree method Null safety

String getChildrenSummaryTree(
  1. String diagnosticsNodeId,
  2. 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 enabled on the call to the flutter tool. This flag is enabled by default in debug builds.

See also:

Implementation

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