BenchmarkScore constructor

BenchmarkScore({
  1. required String metric,
  2. required num value,
  3. num? delta,
})

Creates a benchmark score.

metric and value must not be null.

Implementation

BenchmarkScore({
  required this.metric,
  required this.value,
  this.delta,
});