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