toImageType method

ImageType toImageType()

Implementation

ImageType toImageType() {
  switch (this) {
    case 'AMI':
      return ImageType.ami;
    case 'DOCKER':
      return ImageType.docker;
  }
  throw Exception('$this is not known in enum ImageType');
}