getTvKeywords method
Get TV keywords
Get the keywords that have been added to a TV show.
For more details on the API go here.
Throws FilmGyaanException on an error.
Implementation
Future<Keywords> getTvKeywords({
required int tvId,
}) async {
Ensure(tvId > 0).isTrue('Tv Id should be > 0');
var params = TvKeywordsParams(
tvId: tvId,
);
_logger.info('Getting tv images for $tvId');
return defaultFlow<TvKeywordsParams, Keywords>(
core: this,
params: params,
serializer: (dynamic json) => Keywords.fromMap(
json as Map<String, dynamic>,
),
);
}