fromValue static method

RegionDiskArchitecture fromValue(
  1. String value
)

Implementation

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