muteUnmute method

  1. @override
void muteUnmute()
override

Toggles mute/unmute for the player.

Implementation

@override
void muteUnmute() {
  try {
    _methodChannel.invokeMethod("mute");
  } catch (e) {
    throw Exception("Unable to mute/unmute the player [Mute/Unmute]");
  }
}