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