toValue method
Implementation
String toValue() {
switch (this) {
case DistributionMetricName.requests:
return 'Requests';
case DistributionMetricName.bytesDownloaded:
return 'BytesDownloaded';
case DistributionMetricName.bytesUploaded:
return 'BytesUploaded';
case DistributionMetricName.totalErrorRate:
return 'TotalErrorRate';
case DistributionMetricName.http4xxErrorRate:
return 'Http4xxErrorRate';
case DistributionMetricName.http5xxErrorRate:
return 'Http5xxErrorRate';
}
}