title: How do I parse images from a json file using flutter in which my images are local?
body: <p>I'm currently hard coding my images inside a list that takes in an imageUrl like this:</p>
  
  <pre><code>final slideList = [
    Slide(imageUrl: 'assets/images/dog1.jpeg'),
    Slide(imageUrl: 'assets/images/dog2.jpeg'),
    Slide(imageUrl: 'assets/images/dog3.jpeg')
  ];
  </code></pre>
  
  <p>I have an assets folder with an images folder nested inside, as well as a json file. I'm trying to figure out how to parse the json so I can avoid hard coding every single image I'll have in the future in said list. The json file looks like this:</p>
  
  <pre><code>[
    {
      "images": [
          "assets/images/dog1.jpeg",
          "assets/images/dog2.jpeg",
          "assets/images/dog3.jpeg"
      ]
    }
  ]
  </code></pre>
  
  <p>The images I'm using are located inside of my images folder, therefore I'm not using an api to grab images from the web. I want to be able to parse the json file and store the images in the list in the above code snippet rather than hard coding 100 different imageUrl's. </p>
  
  <p>Any help would be much appreciated!</p>