fromWire static method

RuntimeHealthState fromWire(
  1. String? value
)

Implementation

static RuntimeHealthState fromWire(String? value) {
  for (final s in RuntimeHealthState.values) {
    if (s.wire == value) return s;
  }
  return RuntimeHealthState.healthy;
}