title: Flutter populate dropdown button from json array
body: <p>How do I populate this JSON list into dropdown button?</p>
  
  <pre><code>{
      "status": true,
      "message": "success",
      "data": {
          "list": [
              {
                  "idattribute": "2",
                  "attrName": "BBQ"
              },
              {
                  "idattribute": "1",
                  "attrName": "FRUIT JUICE"
              }
          ]
      }
  }
  </code></pre>