getTrackById method

TextTrack? getTrackById(
  1. String id
)

The TextTrackList method getTrackById() returns the first TextTrack object from the track list whose id matches the specified string. This lets you find a specified track if you know its ID string.

Implementation

external TextTrack? getTrackById(String id);