Constructors

PackageWarningCounter(PackageWarningOptions options)

Properties

errorCount → int
read-only
options PackageWarningOptions
final
warningCount → int
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addWarning(Element element, PackageWarning kind, String message, String fullMessage) → void
Adds the warning to the counter, and writes out the fullMessage string if configured to do so.
hasWarning(Element element, PackageWarning kind, String message) → bool
Returns true if we've already warned for this.
toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

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