toDocumentVersionStatus method

DocumentVersionStatus toDocumentVersionStatus()

Implementation

DocumentVersionStatus toDocumentVersionStatus() {
  switch (this) {
    case 'ACTIVE':
      return DocumentVersionStatus.active;
  }
  throw Exception('$this is not known in enum DocumentVersionStatus');
}