AlternateEnclosure constructor
AlternateEnclosure({})
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,
});