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