The Webfeed Flutter package for Appeto SDK.
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

18 linhas
482 B

  1. import 'package:webfeed/util/helpers.dart';
  2. import 'package:xml/xml.dart';
  3. class AtomSource {
  4. String id;
  5. String title;
  6. String updated;
  7. AtomSource(this.id, this.title, this.updated);
  8. factory AtomSource.parse(XmlElement element) {
  9. var id = xmlGetString(element, "id", strict: false);
  10. var title = xmlGetString(element, "title", strict: false);
  11. var updated = xmlGetString(element, "updated", strict: false);
  12. return new AtomSource(id, title, updated);
  13. }
  14. }