title: Type 'List<dynamic>' is not a subtype of type 'List<int>' where
body: <p>I am new to Flutter, I try to run one GitHub project but got an error like:</p>
  <blockquote>
  <p>type List dynamic is not a subtype of type List int where.</p>
  </blockquote>
  <p><a href="https://github.com/aaronoe/FlutterCinematic" rel="noreferrer">Github Link</a></p>
  <p><strong>Error Line</strong></p>
  <pre><code>List&lt;int&gt; genreIds;
  
  MediaItem._internalFromJson(Map jsonMap, {MediaType type: MediaType.movie})
        :
          type = type,
          id = jsonMap[&quot;id&quot;].toInt(),
          voteAverage = jsonMap[&quot;vote_average&quot;].toDouble(),
          title = jsonMap[(type == MediaType.movie ? &quot;title&quot; : &quot;name&quot;)],
          posterPath = jsonMap[&quot;poster_path&quot;] ?? &quot;&quot;,
          backdropPath = jsonMap[&quot;backdrop_path&quot;] ?? &quot;&quot;,
          overview = jsonMap[&quot;overview&quot;],
          releaseDate = jsonMap[(type == MediaType.movie
              ? &quot;release_date&quot;
              : &quot;first_air_date&quot;)],
  
          genreIds = jsonMap[&quot;genre_ids&quot;];//in this line
  
  }
  </code></pre>
  <p><a href="https://github.com/aaronoe/FlutterCinematic/blob/master/lib/model/mediaitem.dart" rel="noreferrer">Above code File</a></p>