toValue method
Implementation
String toValue() {
switch (this) {
case EnvironmentHealthAttribute.status:
return 'Status';
case EnvironmentHealthAttribute.color:
return 'Color';
case EnvironmentHealthAttribute.causes:
return 'Causes';
case EnvironmentHealthAttribute.applicationMetrics:
return 'ApplicationMetrics';
case EnvironmentHealthAttribute.instancesHealth:
return 'InstancesHealth';
case EnvironmentHealthAttribute.all:
return 'All';
case EnvironmentHealthAttribute.healthStatus:
return 'HealthStatus';
case EnvironmentHealthAttribute.refreshedAt:
return 'RefreshedAt';
}
}