AudioTrack constructor

AudioTrack({
  1. required int trackId,
  2. TrackType trackType = TrackType.audio,
  3. required String language,
  4. required int channel,
  5. required int bitrate,
})

Creates an instance of AudioTrack.

The language, channel and bitrate arguments are required.

trackType is TrackType.audio.

Implementation

AudioTrack({
  required super.trackId,
  super.trackType = TrackType.audio,
  required this.language,
  required this.channel,
  required this.bitrate,
});