The Webfeed Flutter package for Appeto SDK.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

22 行
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. }