fromValue static method

HealthCheckType fromValue(
  1. String value
)

Implementation

static HealthCheckType fromValue(String value) {
  for (final item in HealthCheckType.values) {
    if (item.wireValue == value) {
      return item;
    }
  }
  throw ArgumentError('Unknown HealthCheckType value: $value');
}