toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ExportStatus.inProgress:
      return 'IN_PROGRESS';
    case ExportStatus.completed:
      return 'COMPLETED';
    case ExportStatus.cancelled:
      return 'CANCELLED';
  }
}