toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ExportStatus.inProgress:
      return 'IN_PROGRESS';
    case ExportStatus.ready:
      return 'READY';
    case ExportStatus.failed:
      return 'FAILED';
  }
}