AlternateEnclosure constructor

AlternateEnclosure({
  1. String? type,
  2. int? length,
  3. double? bitrate,
  4. int? height,
  5. String? lang,
  6. String? title,
  7. String? rel,
  8. String? codecs,
  9. String? default_,
  10. required List<Source> sources,
  11. required List<Integrity> integrities,
})

Constructor for creating an AlternateEnclosure object.

The constructor initializes an AlternateEnclosure object with the following named parameters:

  • type: The type of the alternate enclosure.
  • length: The length of the alternate enclosure in bytes.
  • bitrate: The bitrate of the alternate enclosure in kbps (kilobits per second).
  • height: The height of the alternate enclosure in pixels (for video).
  • lang: The language of the alternate enclosure.
  • title: The title of the alternate enclosure.
  • rel: The relationship of the alternate enclosure to the main enclosure.
  • codecs: The codecs used for the alternate enclosure (for media files).
  • default_: The default status of the alternate enclosure.
  • sources: The list of sources for the alternate enclosure.
  • integrities: The list of integrities for the alternate enclosure.

Implementation

AlternateEnclosure({
  this.type,
  this.length,
  this.bitrate,
  this.height,
  this.lang,
  this.title,
  this.rel,
  this.codecs,
  this.default_,
  required this.sources,
  required this.integrities,
});