toApplicationStatus method
Implementation
ApplicationStatus toApplicationStatus() {
switch (this) {
case 'NOT_STARTED':
return ApplicationStatus.notStarted;
case 'IN_PROGRESS':
return ApplicationStatus.inProgress;
case 'COMPLETED':
return ApplicationStatus.completed;
}
throw Exception('$this is not known in enum ApplicationStatus');
}