Use diagnostics.set([Uri, Diagnostic[]]) instead of diagnostics.delete(Uri).
Use diagnostics.set([Uri, Diagnostic[]]) instead of diagnostics.delete(Uri).

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code