toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ApprovalState.approve:
      return 'APPROVE';
    case ApprovalState.revoke:
      return 'REVOKE';
  }
}