The Webfeed Flutter package for Appeto SDK.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

38 строки
819 B

  1. import 'package:xml/xml.dart';
  2. class RssCloud {
  3. String domain;
  4. String port;
  5. String path;
  6. String registerProcedure;
  7. String protocol;
  8. RssCloud(
  9. this.domain,
  10. this.port,
  11. this.path,
  12. this.registerProcedure,
  13. this.protocol,
  14. );
  15. factory RssCloud.parse(XmlElement node) {
  16. var domain = node.getAttribute("domain");
  17. var port = node.getAttribute("port");
  18. var path = node.getAttribute("path");
  19. var registerProcedure = node.getAttribute("registerProcedure");
  20. var protocol = node.getAttribute("protocol");
  21. return new RssCloud(domain, port, path, registerProcedure, protocol);
  22. }
  23. @override
  24. String toString() {
  25. return '''
  26. domain: $domain
  27. port: $port
  28. path: $path
  29. registerProcedure: $registerProcedure
  30. protocol: $protocol
  31. ''';
  32. }
  33. }