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.

25 linhas
420 B

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