The Webfeed Flutter package for Appeto SDK.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
280 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. return Hash(
  11. algo: element.getAttribute('algo'),
  12. value: element.text,
  13. );
  14. }
  15. }