toPaginatedListCodeDto method

PaginatedListCodeDto toPaginatedListCodeDto()

Implementation

PaginatedListCodeDto toPaginatedListCodeDto() => PaginatedListCodeDto(
    pageSize: this.pageSize,
    totalSize: this.totalSize,
    rows: this.rows.map((e) => e.toCodeDto()).toList(),
    nextKeyPair: PaginatedDocumentKeyIdPairObject(startKey: this.nextKeyPair?.startKey, startKeyDocId: this.nextKeyPair?.startKeyDocId)
);