toValue method
Implementation
String toValue() {
switch (this) {
case CustomHealthStatus.healthy:
return 'HEALTHY';
case CustomHealthStatus.unhealthy:
return 'UNHEALTHY';
}
}
String toValue() {
switch (this) {
case CustomHealthStatus.healthy:
return 'HEALTHY';
case CustomHealthStatus.unhealthy:
return 'UNHEALTHY';
}
}