fromValue static method

IngressRuleAction fromValue(
  1. String value
)

Implementation

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