CustomLintContext class
Constructors
- CustomLintContext(LintRuleNodeRegistry registry, void _addPostRunCallback(void cb()), Pubspec? pubspec)
- Create a CustomLintContext.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pubspec → Pubspec
-
The pubspec of the analyzed project.
final
- registry → LintRuleNodeRegistry
-
An object used to listen to the analysis of a Dart file.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
An object shared with all lint rules/fixes/assits running.
final
Methods
-
addPostRunCallback(
void cb()) → void - Registers a function that will be executed after all LintRule.run (or Assist.run/Fix.run if associated to an assist/fix).
-
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