setParticipantKey static method
Sets participantId's encryption key, applied at once; a null key
removes it. A shared key on the provider wins over this one.
Throws ArgumentError for an empty participantId or an empty key.
Implementation
static Future<void> setParticipantKey(String participantId, String? key) =>
setParticipantKeyInEngine(participantId, key);