toPaginatedListDeviceDto method

PaginatedListDeviceDto toPaginatedListDeviceDto()

Implementation

PaginatedListDeviceDto toPaginatedListDeviceDto() => PaginatedListDeviceDto(
    pageSize: this.pageSize,
    totalSize: this.totalSize,
    rows: this.rows.map((e) => e.toDeviceDto()).toList(),
    nextKeyPair: PaginatedDocumentKeyIdPairObject(startKey: this.nextKeyPair?.startKey, startKeyDocId: this.nextKeyPair?.startKeyDocId)
);