title: Map String Dynamic access var in flutter
body: <p>I have the next json code:</p>
  
  <pre><code>{"Images":{"1":{"file":"adv721899378.jpg","transTime":"15","type":"image"},"2":{"file":"adv725496177.jpg","transTime":"8","type":"image"}}}
  </code></pre>
  
  <p>I want to get to each individual file name.</p>
  
  <p>I tried the following:</p>
  
  <pre><code>static Map&lt;String, dynamic&gt; jsonCode = json.decode(jsonFromHost);
  Map&lt;String, dynamic&gt; mediaUrls = jsonCode["Images"];
  
  for(var i=0; i&lt;mediaUrls.length;i++) {
    print("length: " + mediaUrls.length.toString() + " | i: " + i.toString());
    Map&lt;String, dynamic&gt; images = mediaUrls[i];
    print('Howdy, ${mediaUrls[i]["file"]}!');
  }
  </code></pre>
  
  <p>with no success - because the proper indication is mediaUrls["1"]["file"] and not [1]["files"].</p>