DiagnosticCollection class
A diagnostics collection is a container that manages a set of {@link Diagnosticdiagnostics}. Diagnostics are always scopes to a diagnostics collection and a resource.
To get an instance of a DiagnosticCollection
use
{@link languages.createDiagnosticCollectioncreateDiagnosticCollection}.
- Implemented types
-
- Iterable<
(Uri, List< Diagnostic> )>
- Iterable<
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
DiagnosticCollection({String? name, void delete(Uri)?, void clear()?, void forEach(dynamic (Uri, List<
Diagnostic> , DiagnosticCollection), [dynamic])?, List<Diagnostic> ? get(Uri)?, bool has(Uri)?, void dispose()?}) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited