toPhaseStatus method
Implementation
PhaseStatus toPhaseStatus() {
switch (this) {
case 'PENDING':
return PhaseStatus.pending;
case 'SUCCESS':
return PhaseStatus.success;
case 'ERROR':
return PhaseStatus.error;
}
throw Exception('$this is not known in enum PhaseStatus');
}