toMetricsStatus method
Implementation
MetricsStatus toMetricsStatus() {
switch (this) {
case 'Enabled':
return MetricsStatus.enabled;
case 'Disabled':
return MetricsStatus.disabled;
}
throw Exception('$this is not known in enum MetricsStatus');
}