readWidgetTree abstract method
Returns the inspector's widget tree as raw DiagnosticsNode JSON.
isSummaryTree: true (the default) filters out framework
internals; false returns the full element tree.
Implementation
Future<InspectorJson> readWidgetTree({
required String groupName,
bool isSummaryTree = true,
bool withPreviews = true,
bool fullDetails = false,
});