Icon class

Represents an icon (typically an image) associated with a channel or programme.

This class corresponds to the 'icon' element in the XMLTV DTD. It includes the source URL of the icon and optional width and height attributes.

Constructors

Icon({required String src, int? width, int? height})
Icon.fromXmlElement(XmlElement element)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
src String
final
width int?
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