Document constructor

Document({
  1. String? id,
  2. String? rev,
  3. int? created,
  4. int? modified,
  5. String? author,
  6. String? responsible,
  7. String? medicalLocationId,
  8. int? deletionDate,
  9. String? objectStoreReference,
  10. String? mainUti,
  11. String? name,
  12. String? version,
  13. Set<String> otherUtis = const {},
  14. String? externalUuid,
  15. int? size,
  16. String? hash,
  17. String? attachmentId,
})

Returns a new Document instance.

Implementation

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