title: Dart doesn't recognize type
body: <p>This is the simplified source code, i am fetching dataBaseList from a firebase Database and i know that it only contains Strings:</p>
  <pre><code>List&lt;String&gt; stringList;
  stringList = dataBaseList;
  </code></pre>
  <p>It returns this Error: <code>'List&lt;dynamic&gt;' is not a subtype of type 'List&lt;String&gt;</code></p>
  <p>So I thought this solution might fix the problem:</p>
  <pre><code>List&lt;String&gt; stringList;
  stringList = dataBaseList as List&lt;String&gt;;
  </code></pre>
  <p>However, it now returns this error:
  <code>type 'List&lt;dynamic&gt;' is not a subtype of type 'List&lt;String&gt;' in type cast</code></p>
  <p>Is there a solution to this?</p>
  <p>I am not that familiar with Stackoverflow conventions so I am sorry if I violated any</p>