The Webfeed Flutter package for Appeto SDK.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

28 lignes
517 B

  1. import 'package:xml/xml.dart';
  2. class Text {
  3. final String? type;
  4. final String? lang;
  5. final String? start;
  6. final String? end;
  7. final String? value;
  8. Text({
  9. this.type,
  10. this.lang,
  11. this.start,
  12. this.end,
  13. this.value,
  14. });
  15. factory Text.parse(XmlElement element) {
  16. return Text(
  17. type: element.getAttribute('type'),
  18. lang: element.getAttribute('lang'),
  19. start: element.getAttribute('start'),
  20. end: element.getAttribute('end'),
  21. value: element.text,
  22. );
  23. }
  24. }