toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MetricStatistic.maximum:
      return 'Maximum';
    case MetricStatistic.average:
      return 'Average';
  }
}