@override Future<bool?> prepareToPlay(String url) async { return await methodChannel .invokeMethod<bool?>('prepareToPlay', {'url': url}); }