newContactDelegations method
Future<DecryptedContactDto>
newContactDelegations(
- UserDto user,
- String contactId,
- DelegationDto delegationDto,
- CryptoConfig<
DecryptedContactDto, ContactDto> config,
Implementation
Future<DecryptedContactDto> newContactDelegations(
UserDto user, String contactId, DelegationDto delegationDto, CryptoConfig<DecryptedContactDto, ContactDto> config) async {
return await config.decryptContact(user.dataOwnerId()!, (await this.rawNewContactDelegations(contactId, delegationDto))!);
}