findContactsByOpeningDate method
Future<DecryptedPaginatedListContactDto?>
findContactsByOpeningDate(
- UserDto user,
- int startKey,
- int endKey,
- String hcpartyid,
- String? startDocumentId,
- int? limit,
- CryptoConfig<
DecryptedContactDto, ContactDto> config,
Implementation
Future<DecryptedPaginatedListContactDto?> findContactsByOpeningDate(UserDto user, int startKey, int endKey, String hcpartyid,
String? startDocumentId, int? limit, CryptoConfig<DecryptedContactDto, ContactDto> config) async {
return await (await this.rawFindContactsByOpeningDate(startKey, endKey, hcpartyid, startDocumentId: startDocumentId, limit: limit))?.let(
(it) async => DecryptedPaginatedListContactDto(
rows: await Future.wait(it.rows.map((it) => config.decryptContact(user.dataOwnerId()!, it))),
pageSize: it.pageSize,
totalSize: it.totalSize,
nextKeyPair: it.nextKeyPair));
}