TvEpisode constructor

TvEpisode({
  1. Date? airDate,
  2. int episodeNumber = 0,
  3. required int id,
  4. String? name,
  5. String? overview,
  6. String? productionCode,
  7. int seasonNumber = 0,
  8. int showId = 0,
  9. String? stillPath,
  10. num voteAverage = 0,
  11. int voteCount = 0,
  12. List<Crew> crew = const [],
  13. List<Cast> guestStars = const [],
})

Implementation

TvEpisode({
  Date? airDate,
  int episodeNumber = 0,
  required int id,
  String? name,
  String? overview,
  String? productionCode,
  int seasonNumber = 0,
  int showId = 0,
  String? stillPath,
  num voteAverage = 0,
  int voteCount = 0,
  this.crew = const [],
  this.guestStars = const [],
}) : super(
        airDate: airDate,
        episodeNumber: episodeNumber,
        id: id,
        name: name,
        overview: overview,
        productionCode: productionCode,
        seasonNumber: seasonNumber,
        showId: showId,
        stillPath: stillPath,
        voteAverage: voteAverage,
        voteCount: voteCount,
      );