SubtitleTrack constructor

const SubtitleTrack({
  1. required String id,
  2. required String label,
  3. String? url,
  4. String? format,
  5. bool isDefault = false,
  6. bool isForced = false,
  7. String? language,
  8. List<MediaTrackRole> roles = const [],
})

Implementation

const SubtitleTrack({
  required this.id,
  required this.label,
  this.url,
  this.format,
  this.isDefault = false,
  this.isForced = false,
  this.language,
  this.roles = const [],
});