semanticTreeDebugString method
Returns a deterministic, redaction-aware semantic tree dump.
Use this directly in failure messages or while authoring tests:
print(tester.semanticTreeDebugString());
Implementation
String semanticTreeDebugString({bool includeState = true}) {
_assertNotDisposed('semanticTreeDebugString');
return semantics().debugTree(includeState: includeState);
}