toValue method
Implementation
String toValue() {
switch (this) {
case PhaseStatus.pending:
return 'PENDING';
case PhaseStatus.success:
return 'SUCCESS';
case PhaseStatus.error:
return 'ERROR';
}
}
String toValue() {
switch (this) {
case PhaseStatus.pending:
return 'PENDING';
case PhaseStatus.success:
return 'SUCCESS';
case PhaseStatus.error:
return 'ERROR';
}
}