toValue method
Implementation
String toValue() {
switch (this) {
case AggregationPeriod.p1d:
return 'P1D';
case AggregationPeriod.pt1h:
return 'PT1H';
case AggregationPeriod.pt5m:
return 'PT5M';
}
}
String toValue() {
switch (this) {
case AggregationPeriod.p1d:
return 'P1D';
case AggregationPeriod.pt1h:
return 'PT1H';
case AggregationPeriod.pt5m:
return 'PT5M';
}
}