LighthouseResultV5 class
The Lighthouse result object.
Constructors
-
LighthouseResultV5({Map<
String, LighthouseAuditResultV5> ? audits, Categories? categories, Map<String, CategoryGroupV5> ? categoryGroups, ConfigSettings? configSettings, List<LhrEntity> ? entities, Environment? environment, String? fetchTime, String? finalDisplayedUrl, String? finalUrl, Object? fullPageScreenshot, I18n? i18n, String? lighthouseVersion, String? mainDocumentUrl, String? requestedUrl, List<Object?> ? runWarnings, RuntimeError? runtimeError, List<StackPack> ? stackPacks, Timing? timing, String? userAgent}) - LighthouseResultV5.fromJson(Map json_)
Properties
-
audits
↔ Map<
String, LighthouseAuditResultV5> ? -
Map of audits in the LHR.
getter/setter pair
- categories ↔ Categories?
-
Map of categories in the LHR.
getter/setter pair
-
categoryGroups
↔ Map<
String, CategoryGroupV5> ? -
Map of category groups in the LHR.
getter/setter pair
- configSettings ↔ ConfigSettings?
-
The configuration settings for this LHR.
getter/setter pair
-
entities
↔ List<
LhrEntity> ? -
Entity classification data.
getter/setter pair
- environment ↔ Environment?
-
Environment settings that were used when making this LHR.
getter/setter pair
- fetchTime ↔ String?
-
The time that this run was fetched.
getter/setter pair
- finalDisplayedUrl ↔ String?
-
URL displayed on the page after Lighthouse finishes.
getter/setter pair
- finalUrl ↔ String?
-
The final resolved url that was audited.
getter/setter pair
- fullPageScreenshot ↔ Object?
-
Screenshot data of the full page, along with node rects relevant to the
audit results.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- i18n ↔ I18n?
-
The internationalization strings that are required to render the LHR.
getter/setter pair
- lighthouseVersion ↔ String?
-
The lighthouse version that was used to generate this LHR.
getter/setter pair
- mainDocumentUrl ↔ String?
-
URL of the main document request of the final navigation.
getter/setter pair
- requestedUrl ↔ String?
-
The original requested url.
getter/setter pair
- runtimeError ↔ RuntimeError?
-
A top-level error message that, if present, indicates a serious enough
problem that this Lighthouse result may need to be discarded.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
runWarnings
↔ List<
Object?> ? -
List of all run warnings in the LHR.
getter/setter pair
-
stackPacks
↔ List<
StackPack> ? -
The Stack Pack advice strings.
getter/setter pair
- timing ↔ Timing?
-
Timing information for this LHR.
getter/setter pair
- userAgent ↔ String?
-
The user agent that was used to run this LHR.
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