title: Flutter error: The argument type 'Object?' can't be assigned to the parameter type 'String'
body: <p>So I started learning dart and flutter and during watching some course I ran into this error. Have something been changed in flutter, why is it not working? Also I'm sorry if I didn't attach something needed, I'm new in this world. Thanks!</p>
  <blockquote>
  <p>error part</p>
  </blockquote>
  <pre><code>Column (
      children: [
  
    Pytanie(
      pytania[_indekspytan]['tekstPytan'],
    ),
  </code></pre>
  <blockquote>
  <p>and here is the whole column</p>
  </blockquote>
  <pre><code>Column(
  
  children: [
  
    Pytanie(
      pytania[_indekspytan]['tekstPytan'], 
    ),
  
    ...(pytania[_indekspytan]['odpowiedzi'] as List&lt;String&gt; ).map((odpowiedz)   { //kropki zapobiegaja tworzeniu 2 listy, podmienia wartosci
  
      return Odpowiedz(_odpowiedzi,  odpowiedz);
  
    }).toList()
  
  
  ],
  
  
  
  ),
  </code></pre>