getTvScreenedTheatrically method

Future<AlternativeTitles> getTvScreenedTheatrically({
  1. required int tvId,
})

Get TV screened theatrically

Get a list of seasons or episodes that have been screened in a film festival or theatre.

For more details on the API go here.

Throws FilmGyaanException on an error.

Implementation

Future<AlternativeTitles> getTvScreenedTheatrically({
  required int tvId,
}) async {
  Ensure(tvId > 0).isTrue('Tv Id should be > 0');

  var params = TvScreenedTheatricallyParams(
    tvId: tvId,
  );

  _logger.info('Getting tv screened theatrically for $tvId');

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