Environment class

Message containing environment configuration for a Lighthouse run.

Constructors

Environment({double? benchmarkIndex, Map<String, String>? credits, String? hostUserAgent, String? networkUserAgent})
Environment.fromJson(Map json_)

Properties

benchmarkIndex double?
The benchmark index number that indicates rough device class.
getter/setter pair
credits Map<String, String>?
The version of libraries with which these results were generated.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hostUserAgent String?
The user agent string of the version of Chrome used.
getter/setter pair
networkUserAgent String?
The user agent string that was sent over the network.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited