TvSeason constructor

TvSeason({
  1. Date? airDate,
  2. int episodeCount = 0,
  3. required int id,
  4. String? name,
  5. String? overview,
  6. String? posterPath,
  7. int seasonNumber = 0,
  8. List<TvEpisode> episodes = const [],
})

Implementation

TvSeason({
  Date? airDate,
  int episodeCount = 0,
  required int id,
  String? name,
  String? overview,
  String? posterPath,
  int seasonNumber = 0,
  this.episodes = const [],
}) : super(
        airDate: airDate,
        episodeCount: episodeCount,
        id: id,
        name: name,
        overview: overview,
        posterPath: posterPath,
        seasonNumber: seasonNumber,
      );