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.

28 righe
685 B

  1. import 'package:xml/xml.dart';
  2. class RssCloud {
  3. final String? domain;
  4. final String? port;
  5. final String? path;
  6. final String? registerProcedure;
  7. final String? protocol;
  8. RssCloud(
  9. this.domain,
  10. this.port,
  11. this.path,
  12. this.registerProcedure,
  13. this.protocol,
  14. );
  15. static parse(XmlElement? node) {
  16. if (node == null) return null;
  17. var domain = node.getAttribute('domain');
  18. var port = node.getAttribute('port');
  19. var path = node.getAttribute('path');
  20. var registerProcedure = node.getAttribute('registerProcedure');
  21. var protocol = node.getAttribute('protocol');
  22. return RssCloud(domain, port, path, registerProcedure, protocol);
  23. }
  24. }