We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1929421 commit 71eca7bCopy full SHA for 71eca7b
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 featureMedia,
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: featureMedia),
124
this.content = new Content(rendered: content),
125
this.excerpt = new Excerpt(rendered: excerpt);
126
0 commit comments