findByHCPartyFormId method
Future<List<DecryptedContactDto> >
findByHCPartyFormId(
- UserDto user,
- String hcPartyId,
- String formId,
- CryptoConfig<
DecryptedContactDto, ContactDto> config,
Implementation
Future<List<DecryptedContactDto>> findByHCPartyFormId(
UserDto user, String hcPartyId, String formId, CryptoConfig<DecryptedContactDto, ContactDto> config) async {
return Future.wait(
(await this.rawListContactsByHCPartyAndFormId(hcPartyId, formId))!.map((it) => config.decryptContact(user.dataOwnerId()!, it)));
}