Thumbnail.parse constructor

Thumbnail.parse(
  1. XmlElement element
)

Parse constructor for the Thumbnail class, used when 'parsing' a feed

Implementation

factory Thumbnail.parse(XmlElement element) => Thumbnail(
      url: element.getAttribute('url'),
      width: element.getAttribute('width'),
      height: element.getAttribute('height'),
      time: element.getAttribute('time'),
    );