toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ApprovalStatus.approved:
      return 'Approved';
    case ApprovalStatus.rejected:
      return 'Rejected';
  }
}