toExportStatus method

ExportStatus toExportStatus()

Implementation

ExportStatus toExportStatus() {
  switch (this) {
    case 'IN_PROGRESS':
      return ExportStatus.inProgress;
    case 'READY':
      return ExportStatus.ready;
    case 'FAILED':
      return ExportStatus.failed;
  }
  throw Exception('$this is not known in enum ExportStatus');
}