title: How show wordpress content image api
body: <p>i want to show image content in my flutter app . i use wordpress api . 
  i use this class to show featuredmedia , title and content </p>
  
  <pre><code> Post.fromJson(Map&lt;String, dynamic&gt; json)
    : title = json['title']["rendered"],
      excerpt = json['excerpt']["rendered"],
      image = json["_embedded"]['wp:featuredmedia'][0]["media_details"]
          ["sizes"]["medium"]["source_url"],
      date = json['date'],
      content = json['content']["rendered"],
        id = json['id'];
  </code></pre>
  
  <p>and this is wordpress content </p>
  
  <p>"content": {
  "rendered": "The PM has warned MPs they are damaging his chances of getting a deal with the EU by trying to block a no-deal Brexit.</p>\n<p>Boris Johnson said the UK would leave the bloc &#8220;do or die&#8221; on 31 October &#8211; prompting some MPs to act to stop the UK leaving without an agreement.</p>\n<p>But he said the more MPs try to block a no-deal Brexit, &#8220;the more likely it is that we&#8217;ll end up in that situation&#8221;.</p>\n<p>It comes after the PM announced he would be suspending Parliament for five weeks over September and October.</p>\n<p>Mr Johnson said it was to allow the government to hold a Queen&#8217;s Speech and outline its &#8220;very exciting agenda&#8221; for the future.</p>\n<p>But critics claim his intention is to prevent any moves in the Commons to stop a no deal.</p>\n<p>https://iraqmedianews.com/wp-content/uploads/2019/08/file-20181002-85614-vu0p6l-300x205.jpg\" alt=\"\" width=\"300\" height=\"205\" srcset=\"<a href="https://iraqmedianews.com/wp-content/uploads/2019/08/file-20181002-85614-vu0p6l-300x205.jpg" rel="nofollow noreferrer">https://iraqmedianews.com/wp-content/uploads/2019/08/file-20181002-85614-vu0p6l-300x205.jpg</a> 300w, <a href="https://iraqmedianews.com/wp-content/uploads/2019/08/file-20181002-85614-vu0p6l-768x524.jpg" rel="nofollow noreferrer">https://iraqmedianews.com/wp-content/uploads/2019/08/file-20181002-85614-vu0p6l-768x524.jpg</a> 768w, <a href="https://iraqmedianews.com/wp-content/uploads/2019/08/file-20181002-85614-vu0p6l.jpg" rel="nofollow noreferrer">https://iraqmedianews.com/wp-content/uploads/2019/08/file-20181002-85614-vu0p6l.jpg</a> 926w\" sizes=\"(max-width: 300px) 100vw, 300px\" /></p>\n",
  "protected": false
  },</p>