fromValue static method

AttachedDiskType fromValue(
  1. String value
)

Implementation

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