mutePlayer method

Future<void> mutePlayer (bool muteState)

Implementation

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