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