addTmrAccessAsync method
Add a TMR access to this session for the given authentication factor.
recipients
- A TMR recipient with its associated rights.
Returns the ID of the created TMR access.
Implementation
Future<String> addTmrAccessAsync(SealdTmrRecipientWithRights recipient) {
final _TransferablePointer<NativeSealdEncryptionSession> tPtr = _ptr;
return compute(
(Map<String, dynamic> args) =>
SealdEncryptionSession._(tPtr).addTmrAccess(args["recipient"]),
{"recipient": recipient});
}