BenchmarkScore class
A single benchmark score value collected from the benchmark.
Constructors
- BenchmarkScore({required String metric, required num value})
- Creates a benchmark score.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- metric → String
-
The name of the metric that this score is categorized under.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → num
-
The result of measuring a particular metric in this benchmark run.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes the benchmark metric to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited