Track.id constructor

const Track.id(
  1. int trackId
)

Select the audio track with the given mpv trackId. IDs match MpvTrack.id entries in PlayerState.tracks.

Implementation

const factory Track.id(int trackId) = TrackId._;