We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 83260f0 + df46981 commit aed00faCopy full SHA for aed00fa
1 file changed
lib/schemas/post.dart
@@ -110,6 +110,7 @@ class Post {
110
@required String content,
111
@required String excerpt,
112
@required this.authorID,
113
+ String featuredMedia,
114
this.featuredMediaID,
115
this.commentStatus = PostCommentStatus.open,
116
this.pingStatus = PostPingStatus.open,
@@ -119,6 +120,7 @@ class Post {
119
120
this.categoryIDs,
121
this.tagIDs,
122
}) : this.title = new Title(rendered: title),
123
+ this.featuredMedia = new Media(sourceUrl: featuredMedia),
124
this.content = new Content(rendered: content),
125
this.excerpt = new Excerpt(rendered: excerpt);
126
0 commit comments