SeoSeverity enum
How much a finding matters.
The split is not cosmetic: error is what passes() (and
assertSeoHealthy) fails a build on, so the line has to be drawn
where a false positive would be intolerable.
Values
- error → const SeoSeverity
-
Something is measurably wrong and costs indexing: a page with no title, a link to nowhere, a canonical pointing at a 404.
- warning → const SeoSeverity
-
Very likely wrong, but a legitimate site can look like this — two pages sharing a title may be paginated variants.
- info → const SeoSeverity
-
Worth a look, never a reason to fail a build: title length, an unchecked page in a parity sample.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
SeoSeverity> - A constant List of the values in this enum, in order of their declaration.