File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import 'package:xml/xml.dart';
10
10
11
11
class RssFeed {
12
12
final String title;
13
+ final String author;
13
14
final String description;
14
15
final String link;
15
16
final List <RssItem > items;
@@ -32,6 +33,7 @@ class RssFeed {
32
33
33
34
RssFeed ({
34
35
this .title,
36
+ this .author,
35
37
this .description,
36
38
this .link,
37
39
this .items,
@@ -63,6 +65,7 @@ class RssFeed {
63
65
64
66
return RssFeed (
65
67
title: findElementOrNull (channelElement, "title" )? .text,
68
+ author: findElementOrNull (channelElement, "author" )? .text,
66
69
description: findElementOrNull (channelElement, "description" )? .text,
67
70
link: findElementOrNull (channelElement, "link" )? .text,
68
71
items: channelElement.findElements ("item" ).map ((element) {
You can’t perform that action at this time.
0 commit comments