toExportStatus method

ExportStatus toExportStatus()

Implementation

ExportStatus toExportStatus() {
  switch (this) {
    case 'IN_PROGRESS':
      return ExportStatus.inProgress;
    case 'COMPLETED':
      return ExportStatus.completed;
    case 'CANCELLED':
      return ExportStatus.cancelled;
  }
  throw Exception('$this is not known in enum ExportStatus');
}