getVideos method
Implementation
Future<List<Video>> getVideos(
int id, {
String? language,
}) {
var queryParams = {
"api_key": _apiKey,
"language": language,
};
return _get<List<Video>>(
"3/movie/$id/videos",
queryParams,
const QualitySettings(),
(map, assetResolver) =>
Video.listFromJson(map["results"] as List<dynamic>),
);
}