toProjectState method
Implementation
ProjectState toProjectState() {
switch (this) {
case 'NORMAL':
return ProjectState.normal;
case 'SYNCING':
return ProjectState.syncing;
case 'IMPORTING':
return ProjectState.importing;
}
throw Exception('$this is not known in enum ProjectState');
}