selectSubtitleTrack method

Future<void> selectSubtitleTrack(
  1. String? trackId
)

Selects a subtitle track. Passing null disables text rendering.

Implementation

Future<void> selectSubtitleTrack(String? trackId) async {
  await _invoke('setSubtitleTrack', {'id': trackId});
}