getVideoTracksCount method

Future<int?> getVideoTracksCount()

Returns the number of video tracks

Implementation

Future<int?> getVideoTracksCount() async {
  _throwIfNotInitialized('getVideoTracksCount');
  var videoTracksCount = await vlcPlayerPlatform.getVideoTracksCount(_viewId);
  value = value.copyWith(videoTracksCount: videoTracksCount);
  return videoTracksCount;
}