toArtifactStatus method
Implementation
ArtifactStatus toArtifactStatus() {
switch (this) {
case 'APPROVED':
return ArtifactStatus.approved;
case 'REJECTED':
return ArtifactStatus.rejected;
case 'IN_PROGRESS':
return ArtifactStatus.inProgress;
}
throw Exception('$this is not known in enum ArtifactStatus');
}