resolve method

String resolve({
  1. required List<Poster> posters,
  2. String posterType = "PORTRAIT",
})

Implementation

String resolve(
    {required List<Poster> posters, String posterType = "PORTRAIT"}) {
  Poster? poster = _resolverPosterFromType(posters, posterType);
  String? posterUrl = _getUrlForResolution(poster!);
  posterUrl ??=
      "https://e1.pxfuel.com/desktop-wallpaper/657/570/desktop-wallpaper-pure-white-blank-white-pic-blank-white-thumbnail.jpg";
  return posterUrl;
}