toDataOwnerDto method
DataOwnerDto
toDataOwnerDto()
Implementation
DataOwnerDto toDataOwnerDto() =>
DataOwnerDto(DataOwnerType.patient, this.id!, this.systemMetaData?.hcPartyKeys ?? const {}, publicKey: this.systemMetaData?.publicKey, rev: this.rev);