fromValue static method

WebhookConfigState fromValue(
  1. String value
)

Implementation

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