LintState class
The lint rules an analysis options file leaves switched on.
Properties
-
enabled
→ Map<
String, String> -
Every enabled rule, mapped to where it was switched on: the options file
itself, or the
include:it came from. The source is what makes a finding actionable — "directives_orderingis on" sends the reader hunting through a file that never mentions it.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
problems
→ List<
String> -
What could not be read, as sentences: an include that does not resolve,
a file that does not parse. Rules from there are unknown, not off.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
has(
String rule) → bool -
Whether
ruleis on. -
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