platform call to pause player
Future<bool> pausePlayer(String key) async { var result = await _methodChannel .invokeMethod(Constants.pausePlayer, {Constants.playerKey: key}); return result ?? false; }