title: Old Flutter code (1.5.4) with access to Map does not work in Flutter 2.8.1
body: <p>The code below works fine in Flutter 1.5.4, but does not want to in 2.8.1:</p>
  <pre><code>  void main() {
      String result;
  
      var questions = [
    {
      'questionText': 'What\'s your favorite color?',
      'answers': ['Blue', 'Green', 'White', 'Black', 'Snow-white']
    },
    {
      'questionText': 'What\'s your favorite animal?',
      'answers': ['Hamster', 'Owl', 'Rabbit', 'Bear']
    },
  ];
  
      result = questions[0]['questionText'];
      print(result);
    }
  </code></pre>
  <p>To make it running, I have to force convertion to String :((</p>
  <pre><code>result = questions[0]['questionText'] as String;
  </code></pre>