getWatchProvidersTv method

Future<WatchProvidersTv> getWatchProvidersTv()

Get Available Watch Providers Tv

Returns a list of the watch provider (OTT/streaming) data we have available for TV series.

For more details on the API go here.

Throws FilmGyaanException on an error.

Implementation

Future<WatchProvidersTv> getWatchProvidersTv() async {
  var params = WatchProvidersTvParams();

  _logger.info('Getting watch providers tv');

  return defaultFlow<WatchProvidersTvParams, WatchProvidersTv>(
    core: this,
    params: params,
    serializer: (dynamic json) => WatchProvidersTv.fromMap(
      json as Map<String, dynamic>,
    ),
  );
}