The Webfeed Flutter package for Appeto SDK.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

25 righe
436 B

  1. import 'package:xml/xml.dart';
  2. class Category {
  3. final String scheme;
  4. final String label;
  5. final String value;
  6. Category({
  7. this.scheme,
  8. this.label,
  9. this.value,
  10. });
  11. factory Category.parse(XmlElement element) {
  12. if (element == null) {
  13. return null;
  14. }
  15. return Category(
  16. scheme: element.getAttribute("scheme"),
  17. label: element.getAttribute("label"),
  18. value: element.text,
  19. );
  20. }
  21. }