assertNoDiagnostics method
Asserts that there are no diagnostics in the given content.
Note: Be sure to await any use of this API, to avoid stale analysis
results (See DisposedAnalysisContextResult).
Implementation
Future<void> assertNoDiagnostics(String content) async =>
assertDiagnostics(content, const []);