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