toHealthCheckType method
Implementation
HealthCheckType toHealthCheckType() {
switch (this) {
case 'HTTP':
return HealthCheckType.http;
case 'HTTPS':
return HealthCheckType.https;
case 'TCP':
return HealthCheckType.tcp;
}
throw Exception('$this is not known in enum HealthCheckType');
}