fromValue static method

InstanceBootDiskType fromValue(
  1. String value
)

Implementation

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