preparePlayer method
platform call to prepare player
Implementation
Future<bool> preparePlayer(String path, String key, [double? volume]) async {
var result = await _methodChannel.invokeMethod(Constants.preparePlayer, {
Constants.path: path,
Constants.volume: volume,
Constants.playerKey: key,
});
return result ?? false;
}