toValue method
Implementation
String toValue() {
switch (this) {
case ModelApprovalStatus.approved:
return 'Approved';
case ModelApprovalStatus.rejected:
return 'Rejected';
case ModelApprovalStatus.pendingManualApproval:
return 'PendingManualApproval';
}
}