1
0
mirror of https://github.com/stonega/tsacdop synced 2024-12-08 06:31:51 +01:00
tsacdop-podcast-app-android/lib/webfeed/domain/rss_itunes_image.dart
2020-02-09 20:29:09 +08:00

15 lines
290 B
Dart

import 'package:xml/xml.dart';
class RssItunesImage {
final String href;
RssItunesImage({this.href});
factory RssItunesImage.parse(XmlElement element) {
if (element == null) return null;
return RssItunesImage(
href: element.getAttribute("href")?.trim(),
);
}
}