LighthouseAuditResultV5 class
An audit's result object in a Lighthouse result.
Constructors
-
LighthouseAuditResultV5({String? description, Map<
String, Object?> ? details, String? displayValue, String? errorMessage, String? explanation, String? id, String? numericUnit, double? numericValue, Object? score, String? scoreDisplayMode, String? title, Object? warnings}) - LighthouseAuditResultV5.fromJson(Map json_)
Properties
- description ↔ String?
-
The description of the audit.
getter/setter pair
-
details
↔ Map<
String, Object?> ? -
Freeform details section of the audit.
getter/setter pair
- displayValue ↔ String?
-
The value that should be displayed on the UI for this audit.
getter/setter pair
- errorMessage ↔ String?
-
An error message from a thrown error inside the audit.
getter/setter pair
- explanation ↔ String?
-
An explanation of the errors in the audit.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
The audit's id.
getter/setter pair
- numericUnit ↔ String?
-
The unit of the numeric_value field.
getter/setter pair
- numericValue ↔ double?
-
A numeric value that has a meaning specific to the audit, e.g. the number
of nodes in the DOM or the timestamp of a specific load event.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score ↔ Object?
-
The score of the audit, can be null.
getter/setter pair
- scoreDisplayMode ↔ String?
-
The enumerated score display mode.
getter/setter pair
- title ↔ String?
-
The human readable title.
getter/setter pair
- warnings ↔ Object?
-
Possible warnings that occurred in the audit, can be null.
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