toPaginatedListDataSample method

PaginatedListDataSample toPaginatedListDataSample()

Implementation

PaginatedListDataSample toPaginatedListDataSample() => PaginatedListDataSample(
    pageSize: this.pageSize,
    totalSize: this.totalSize,
    rows: this.rows.map((e) => e.toDataSample(null)).toList(),
    nextKeyPair: PaginatedDocumentKeyAndIdPairObject(startKey: this.nextKeyPair?.startKey, startKeyDocId: this.nextKeyPair?.startKeyDocId)
);