toPaginatedListUserDto method

PaginatedListUserDto toPaginatedListUserDto()

Implementation

PaginatedListUserDto toPaginatedListUserDto() => PaginatedListUserDto(
    pageSize: this.pageSize,
    totalSize: this.totalSize,
    rows: this.rows.map((e) => e.toUserDto()).toList(),
    nextKeyPair: PaginatedDocumentKeyIdPairObject(startKey: this.nextKeyPair?.startKey, startKeyDocId: this.nextKeyPair?.startKeyDocId)
);