The Webfeed Flutter package for Appeto SDK.
Você não pode selecionar mais de 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.

22 linhas
330 B

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