Rule class abstract
Constructors
- Rule()
-
const
Properties
- documentation → Uri
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- ruleId → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → Severity
-
no setter
Methods
-
check(
InternalResolvedUnitResult source) → Iterable< Issue> -
createIssue(
{required SourceSpan location, required String message, String? verboseMessage, Replacement? replacement}) → Issue -
nodeLocation(
{required SyntacticEntity node, required InternalResolvedUnitResult source, bool withCommentOrMetadata = false}) → SourceSpan -
Returns
SourceSpan
with information about original code fornode
fromsource
-
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