getVideoTracks method
Returns all video tracks as array of <Int, String> The key parameter is the index of video track and the value is the display name of video track
Implementation
Future<Map<int, String>> getVideoTracks() async {
_throwIfNotInitialized('getVideoTracks');
return await vlcPlayerPlatform.getVideoTracks(_viewId);
}