LintResult class
Structured response of a single validation unit.
Constructors
- LintResult({String? debugMessage, String? fieldName, String? level, int? locationOffset, String? severity, String? validationUnitName})
- LintResult.fromJson(Map json_)
Properties
- debugMessage ↔ String?
-
Human readable debug message associated with the issue.
getter/setter pair
- fieldName ↔ String?
-
The name of the field for which this lint result is about.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- level ↔ String?
-
The validation unit level.
Possible string values are:
getter/setter pair
- locationOffset ↔ int?
-
0-based character position of problematic construct within the object
identified by
field_name
.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity ↔ String?
-
The validation unit severity.
Possible string values are:
getter/setter pair
- validationUnitName ↔ String?
-
The validation unit name, for instance
"lintValidationUnits/ConditionComplexityCheck".
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited