isAutoplay method
Implementation
@override
Future<bool?> isAutoplay(String playerReference) async {
try {
return await methodChannel.invokeMethod<bool>('isAutoplay', {'playerReference': playerReference});
} on PlatformException catch (e) {
debugPrint('Failed to check autoplay: ${e.message}');
rethrow;
}
}