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