getDocumentsByExternalUuid method
Future<List<DecryptedDocumentDto> >
getDocumentsByExternalUuid(
- UserDto user,
- String externalUuid,
- CryptoConfig<
DecryptedDocumentDto, DocumentDto> config
Implementation
Future<List<DecryptedDocumentDto>> getDocumentsByExternalUuid(UserDto user, String externalUuid, CryptoConfig<DecryptedDocumentDto, DocumentDto> config) async {
return Future.wait((await this.rawGetDocumentsByExternalUuid(externalUuid))!.map((it) => config.decryptDocument(user.dataOwnerId()!, it)));
}