The Webfeed Flutter package for Appeto SDK.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

25 rader
424 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 new License(
  16. type: element.getAttribute("type"),
  17. href: element.getAttribute("href"),
  18. value: element.text,
  19. );
  20. }
  21. }