toggleVolume method

Future<void> toggleVolume()

toggle the volume

Implementation

Future<void> toggleVolume() async {
  _ctr.isMute ? await _ctr.unMute() : await _ctr.mute();
}