toVolumeType method

VolumeType toVolumeType()

Implementation

VolumeType toVolumeType() {
  switch (this) {
    case 'standard':
      return VolumeType.standard;
    case 'gp2':
      return VolumeType.gp2;
    case 'io1':
      return VolumeType.io1;
  }
  throw Exception('$this is not known in enum VolumeType');
}