The Webfeed Flutter package for Appeto SDK.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
281 B

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