setContactsDelegations method
Future<List<DecryptedContactDto> >
setContactsDelegations(
- UserDto user,
- List<
IcureStubDto> icureStubDto, - CryptoConfig<
DecryptedContactDto, ContactDto> config
Implementation
Future<List<DecryptedContactDto>> setContactsDelegations(
UserDto user, List<IcureStubDto> icureStubDto, CryptoConfig<DecryptedContactDto, ContactDto> config) async {
return Future.wait((await this.rawSetContactsDelegations(icureStubDto))!.map((c) => config.decryptContact(user.dataOwnerId()!, c)));
}