fromValue static method

Implementation

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