getTvCertifications method

Future<CertificationsList> getTvCertifications()

Get Tv Certifications

Get an up to date list of the officially supported tv certifications on TMDB.

For more details on the API go here.

Throws FilmGyaanException on an error.

Implementation

Future<CertificationsList> getTvCertifications() async {
  var params = CertificationsTvParams();

  _logger.info('Getting movie certifications');

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