toPaginatedListPatientDto method

DecryptedPaginatedListPatientDto toPaginatedListPatientDto()

Implementation

DecryptedPaginatedListPatientDto toPaginatedListPatientDto() => DecryptedPaginatedListPatientDto(
    pageSize: this.pageSize,
    totalSize: this.totalSize,
    rows: this.rows.map((e) => e.toPatientDto()).toList(),
    nextKeyPair: PaginatedDocumentKeyIdPairObject(startKey: this.nextKeyPair?.startKey, startKeyDocId: this.nextKeyPair?.startKeyDocId)
);