PrioritizedGroup class
An enriched, prioritized view of a group of analyzer issues sharing the same rule identifier.
This is read-only — it never modifies the underlying FlutterIssue objects.
Constructors
-
PrioritizedGroup({required String rule, required int occurrenceCount, required IssuePriority priority, required IssueCategory category, required String description, required String exampleMessage, required List<
String> affectedFiles}) -
const
Properties
-
affectedFiles
→ List<
String> -
Unique file paths where this rule was triggered.
final
- category → IssueCategory
-
Nature of the problem from RuleRegistry.
final
- description → String
-
Developer-facing description from RuleRegistry.
Empty string if the rule is not registered.
final
- exampleMessage → String
-
The message from the first occurrence — used as a concrete example.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- occurrenceCount → int
-
Total number of individual issues with this rule.
final
- priority → IssuePriority
-
Severity classification from RuleRegistry.
final
- rule → String
-
The analyzer rule identifier (e.g. 'undefined_method').
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited