toValue method
Implementation
String toValue() {
switch (this) {
case Statistic.sum:
return 'SUM';
case Statistic.max:
return 'MAX';
case Statistic.avg:
return 'AVG';
}
}
String toValue() {
switch (this) {
case Statistic.sum:
return 'SUM';
case Statistic.max:
return 'MAX';
case Statistic.avg:
return 'AVG';
}
}