findWithoutDelegations method
Future<List<DecryptedDocumentDto> >
findWithoutDelegations(
- UserDto user,
- int? limit,
- CryptoConfig<
DecryptedDocumentDto, DocumentDto> config
Implementation
Future<List<DecryptedDocumentDto>> findWithoutDelegations(UserDto user, int? limit, CryptoConfig<DecryptedDocumentDto, DocumentDto> config) async {
return Future.wait(
(await this.rawFindWithoutDelegation(limit: limit))!
.map((it) => config.decryptDocument(user.dataOwnerId()!, it))
);
}