PackageStructureRule class
Validates package root structure and pubspec existence (STRUCT_001).
- Implemented types
Constructors
Properties
- category → ValidationCategory
-
Category classification of the rule.
no setteroverride
- defaultSeverity → ValidationSeverity
-
Default severity of the rule.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique stable identifier of the rule (e.g.
STRUCT_001).no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Human-readable title of the rule.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
{required String targetDirectory, required FileUtils fileUtils}) → Future< List< ValidationIssue> > -
Executes validation logic against
targetDirectory.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited