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.

17 rivejä
421 B

  1. import 'package:webfeed/util/iterable.dart';
  2. import 'package:xml/xml.dart';
  3. class ItunesOwner {
  4. final String? name;
  5. final String? email;
  6. ItunesOwner({this.name, this.email});
  7. factory ItunesOwner.parse(XmlElement element) {
  8. return ItunesOwner(
  9. name: element.findElements('itunes:name').firstOrNull?.text.trim(),
  10. email: element.findElements('itunes:email').firstOrNull?.text.trim(),
  11. );
  12. }
  13. }