Q: Access list of map values in dart? I have this list of  map , how to access "answers" values for each index from this map?
var questions = [
    {
      "question": "Whats your favourite color?",
      "answers": ["Red", "Green", "Yellow"]
    },
    {
      "question": "Whats your favourite animal?",
      "answers": ["Tiger", "Elephant", "Unicorn"]
    },
    {
      "question": "Whats your favourite game?",
      "answers": ["Tiger", "Elephant", "Unicorn"]
    }
  ];


A: It's just a List of Objects. You can simply access with this:
questions.forEach((element) {
  print(element['answers']);
});

And to print answers:
questions.forEach((element) {
  var answers = element['answers'];
  answers.forEach((answer) {
    print(answer);
  });
});

