fromValue static method

GuestOsFeatureTypeComputeV1 fromValue(
  1. String value
)

Implementation

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