getWatchProvidersMovie method
Get Available Watch Providers Movies
Returns a list of the watch provider (OTT/streaming) data we have available for movies.
For more details on the API go here.
Throws FilmGyaanException on an error.
Implementation
Future<WatchProvidersMovie> getWatchProvidersMovie() async {
var params = WatchProvidersMoviesParams();
_logger.info('Getting watch providers movie');
return defaultFlow<WatchProvidersMoviesParams, WatchProvidersMovie>(
core: this,
params: params,
serializer: (dynamic json) => WatchProvidersMovie.fromMap(
json as Map<String, dynamic>,
),
);
}