toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ICPRecordalStatus.approved:
      return 'APPROVED';
    case ICPRecordalStatus.suspended:
      return 'SUSPENDED';
    case ICPRecordalStatus.pending:
      return 'PENDING';
  }
}