toDocument method

Document toDocument()

Implementation

Document toDocument() => Document(
      id: this.id,
      otherUtis: this.otherUtis,
      rev: this.rev,
      created: this.created,
      modified: this.modified,
      author: this.author,
      responsible: this.responsible,
      medicalLocationId: this.medicalLocationId,
      deletionDate: this.deletionDate,
      objectStoreReference: this.objectStoreReference,
      mainUti: this.mainUti,
      name: this.name,
      version: this.version,
      externalUuid: this.externalUuid,
      size: this.size,
      hash: this.hash,
      attachmentId: this.attachmentId,
    );