fromValue static method

Implementation

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