toValue method
Implementation
String toValue() {
switch (this) {
case Statistic.sampleCount:
return 'SampleCount';
case Statistic.average:
return 'Average';
case Statistic.sum:
return 'Sum';
case Statistic.minimum:
return 'Minimum';
case Statistic.maximum:
return 'Maximum';
}
}