getTvLatest method

Future<TvDetails> getTvLatest()

Get TV Latest

Get the most newly created TV show. This is a live response and will continuously change.

For more details on the API go here.

Throws FilmGyaanException on an error.

Implementation

Future<TvDetails> getTvLatest() async {
  var params = TvLatestParams();

  _logger.info('Getting tv latest');

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