toApplicationVersionStatus method
Implementation
ApplicationVersionStatus toApplicationVersionStatus() {
switch (this) {
case 'Processed':
return ApplicationVersionStatus.processed;
case 'Unprocessed':
return ApplicationVersionStatus.unprocessed;
case 'Failed':
return ApplicationVersionStatus.failed;
case 'Processing':
return ApplicationVersionStatus.processing;
case 'Building':
return ApplicationVersionStatus.building;
}
throw Exception('$this is not known in enum ApplicationVersionStatus');
}