Trailer class

Represents a trailer with url, pubdate, length, type, season, and value attributes.

The Trailer class corresponds to the trailer element in the podcast namespace.

Constructors

Trailer({String? url, String? pubdate, int? length, String? type, int? season, String? value})
Constructor for creating a Trailer object.
Trailer.parse(XmlElement element)
Factory method to parse an XmlElement and create a Trailer object from it.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
length int?
The length attribute value of the trailer.
final
pubdate String?
The pubdate attribute value of the trailer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
season int?
The season attribute value of the trailer.
final
type String?
The type attribute value of the trailer.
final
url String?
The URL attribute value of the trailer.
final
value String?
The value of the trailer.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited