mutePlayer method

Future<void> mutePlayer (bool muteState)

Implementation

static Future<void> mutePlayer(bool muteState) async {
  try {
    await _channel.invokeMethod('mutePlayer',
        <String, dynamic>{'muteState': muteState ? 'true' : 'false'});
  } on PlatformException catch (e) {
    print(e.details);
  }
}