toArchiveStatus method

ArchiveStatus toArchiveStatus()

Implementation

ArchiveStatus toArchiveStatus() {
  switch (this) {
    case 'ARCHIVE_ACCESS':
      return ArchiveStatus.archiveAccess;
    case 'DEEP_ARCHIVE_ACCESS':
      return ArchiveStatus.deepArchiveAccess;
  }
  throw Exception('$this is not known in enum ArchiveStatus');
}