toImagePullCredentialsType method
Implementation
ImagePullCredentialsType toImagePullCredentialsType() {
switch (this) {
case 'CODEBUILD':
return ImagePullCredentialsType.codebuild;
case 'SERVICE_ROLE':
return ImagePullCredentialsType.serviceRole;
}
throw Exception('$this is not known in enum ImagePullCredentialsType');
}