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