pausePlayer method

Future<bool> pausePlayer(
  1. String key
)

platform call to pause player

Implementation

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