Format constructor

Format({
  1. String? id,
  2. String? label,
  3. int? selectionFlags,
  4. int? roleFlags,
  5. int? bitrate,
  6. int? averageBitrate,
  7. String? codecs,
  8. Metadata? metadata,
  9. String? containerMimeType,
  10. String? sampleMimeType,
  11. DrmInitData? drmInitData,
  12. int? subsampleOffsetUs,
  13. int? width,
  14. int? height,
  15. double? frameRate,
  16. int? channelCount,
  17. String? language,
  18. int? accessibilityChannel,
})

Implementation

Format({
  this.id,
  this.label,
  this.selectionFlags,
  this.roleFlags,
  this.bitrate,
  this.averageBitrate,
  this.codecs,
  this.metadata,
  this.containerMimeType,
  this.sampleMimeType,
  this.drmInitData,
  this.subsampleOffsetUs,
  this.width,
  this.height,
  this.frameRate,
  this.channelCount,
  String? language,
  this.accessibilityChannel,
}) : language = language?.toLowerCase();