toggleMute method
Toggle mute on/off. Returns true if successful, false otherwise.
Implementation
@override
Future<bool?> toggleMute(bool isMuted) async {
Logger.logLocalEvent(isMuted ? "Mute" : "Unmute", prefix: "");
if (_jsCall != null) {
_jsCall!.mute(isMuted);
}
return isMuted;
}