Thumbnail.parse constructor

Thumbnail.parse(
  1. XmlElement element
)

Implementation

factory Thumbnail.parse(XmlElement element) {
  return Thumbnail(
    url: element.getAttribute('url'),
    width: element.getAttribute('width'),
    height: element.getAttribute('height'),
    time: element.getAttribute('time'),
  );
}