getDocuments method
Future<List<DecryptedDocumentDto> >
getDocuments(
- UserDto user,
- ListOfIdsDto listOfIdsDto,
- CryptoConfig<
DecryptedDocumentDto, DocumentDto> config
Implementation
Future<List<DecryptedDocumentDto>> getDocuments(UserDto user, ListOfIdsDto listOfIdsDto, CryptoConfig<DecryptedDocumentDto, DocumentDto> config) async {
return Future.wait((await this.rawGetDocuments(listOfIdsDto))!.map((it) => config.decryptDocument(user.dataOwnerId()!, it)));
}