muteParticipant method
Mutes a specific participant.
Implementation
Future<void> muteParticipant(String participantId) async {
try {
await CometChatCallsPluginPlatform.instance.nativeMuteParticipant(participantId);
} catch (e) {
throw CometChatCallsException(
ErrorCodeConstants.errorMuteParticipant,
'Failed to mute participant',
e.toString(),
);
}
}