getVideoIndex method
Returns the index of the video currently playing from the current playlist. If the playlist only has 1 video, the method returns the numeric value 0
Implementation
Future<int?> getVideoIndex() async {
return await _methodChannel.invokeMethod<int>('getVideoIndex');
}