toParallelDataStatus method
Implementation
ParallelDataStatus toParallelDataStatus() {
switch (this) {
case 'CREATING':
return ParallelDataStatus.creating;
case 'UPDATING':
return ParallelDataStatus.updating;
case 'ACTIVE':
return ParallelDataStatus.active;
case 'DELETING':
return ParallelDataStatus.deleting;
case 'FAILED':
return ParallelDataStatus.failed;
}
throw Exception('$this is not known in enum ParallelDataStatus');
}