getChildrenSummaryTree method
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:
- isWidgetCreationTracked which indicates whether this method can be used.
Implementation
String getChildrenSummaryTree(String diagnosticsNodeId, String groupName) {
return _safeJsonEncode(_getChildrenSummaryTree(diagnosticsNodeId, groupName));
}