The Webfeed Flutter package for Appeto SDK.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

25 行
475 B

  1. import 'package:xml/xml.dart';
  2. class Thumbnail {
  3. final String url;
  4. final String width;
  5. final String height;
  6. final String time;
  7. Thumbnail({
  8. this.url,
  9. this.width,
  10. this.height,
  11. this.time,
  12. });
  13. factory Thumbnail.parse(XmlElement element) {
  14. return Thumbnail(
  15. url: element.getAttribute("url"),
  16. width: element.getAttribute("width"),
  17. height: element.getAttribute("height"),
  18. time: element.getAttribute("time"),
  19. );
  20. }
  21. }