Skip to content

Commit df46981

Browse files
committed
typo in featuredMedia
1 parent 71eca7b commit df46981

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/schemas/post.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class Post {
110110
@required String content,
111111
@required String excerpt,
112112
@required this.authorID,
113-
String featureMedia,
113+
String featuredMedia,
114114
this.featuredMediaID,
115115
this.commentStatus = PostCommentStatus.open,
116116
this.pingStatus = PostPingStatus.open,
@@ -120,7 +120,7 @@ class Post {
120120
this.categoryIDs,
121121
this.tagIDs,
122122
}) : this.title = new Title(rendered: title),
123-
this.featuredMedia = new Media(sourceUrl: featureMedia),
123+
this.featuredMedia = new Media(sourceUrl: featuredMedia),
124124
this.content = new Content(rendered: content),
125125
this.excerpt = new Excerpt(rendered: excerpt);
126126

0 commit comments

Comments
 (0)