listModifiedAfter method
Future<DecryptedPaginatedListPatientDto?>
listModifiedAfter(
- UserDto user,
- int date,
- int? startKey,
- String? startDocumentId,
- int? limit,
- CryptoConfig<
DecryptedPatientDto, PatientDto> config,
Implementation
Future<DecryptedPaginatedListPatientDto?> listModifiedAfter(UserDto user, int date, int? startKey, String? startDocumentId, int? limit,
CryptoConfig<DecryptedPatientDto, PatientDto> config) async {
return await (await this.rawFindPatientsModifiedAfter(date, startKey: startKey, startDocumentId: startDocumentId, limit: limit))?.let((it) async =>
DecryptedPaginatedListPatientDto(
rows: await Future.wait(it.rows.map((it) => config.decryptPatient(user.dataOwnerId()!, it))),
pageSize: it.pageSize,
totalSize: it.totalSize,
nextKeyPair: it.nextKeyPair)
);
}