BooleanDiagnosticListener class

A DiagnosticListener that keeps track of whether any diagnostic has been reported to it.

Implemented types
Available extensions

Properties

errorReported bool
Whether a diagnostic has been reported to this listener.
no setter
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
onDiagnostic(Diagnostic diagnostic) → void
override
onDiagnostic(Diagnostic diagnostic) → void

Available on DiagnosticOrErrorListener, provided by the DiagnosticOrErrorListenerExtension extension

onError(Diagnostic diagnostic) → void
This method is invoked when a diagnostic has been found by the analysis engine.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited