BaselineConfig class
Constructors
-
BaselineConfig({String? file, DateTime? date, List<
String> paths = const [], List<String> onlyImpacts = const []}) -
const
- BaselineConfig.fromYaml(Object? yaml)
-
Creates a BaselineConfig from YAML configuration.
factory
Properties
- date → DateTime?
-
Baseline date - ignore violations in code unchanged since this date.
final
- file → String?
-
Path to the baseline JSON file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEnabled → bool
-
Whether any baseline configuration is present.
no setter
-
onlyImpacts
→ List<
String> -
Only baseline violations of these impact levels.
final
-
paths
→ List<
String> -
Path patterns to ignore.
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
-
shouldBaselineImpact(
String? impact) → bool - Whether a specific impact level should be baselined.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited