toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReportStatus.workInProgress:
      return 'WORK_IN_PROGRESS';
    case ReportStatus.failed:
      return 'FAILED';
    case ReportStatus.completed:
      return 'COMPLETED';
  }
}