Trailer constructor
Constructor for creating a Trailer object.
The constructor initializes a Trailer object with optional named parameters:
- url: The URL attribute value of the trailer.
- pubdate: The pubdate attribute value of the trailer.
- length: The length attribute value of the trailer.
- type: The type attribute value of the trailer.
- season: The season attribute value of the trailer.
- value: The value of the trailer.
Implementation
Trailer({
this.url,
this.pubdate,
this.length,
this.type,
this.season,
this.value,
});