EvaluationMetric constructor

EvaluationMetric(
  1. String name, {
  2. String? reason,
})

Creates an EvaluationMetric with the given name and optional reason.

Implementation

EvaluationMetric(this.name, {this.reason});