toDocumentStatusType method

DocumentStatusType toDocumentStatusType()

Implementation

DocumentStatusType toDocumentStatusType() {
  switch (this) {
    case 'INITIALIZED':
      return DocumentStatusType.initialized;
    case 'ACTIVE':
      return DocumentStatusType.active;
  }
  throw Exception('$this is not known in enum DocumentStatusType');
}