TvShow class
Constructors
-
TvShow({required int id, required String originalLanguage, String? backdropPath, String? posterPath, String? overview, num? popularity, int? voteCount, num? voteAverage, Date? firstAirDate, String? name, String? originalName, List<
String> originCountry = const [], List<int> genreIds = const [], List<Creator> createdBy = const [], List<int> episodeRunTime = const [], List<Genre> genres = const [], String? homepage, bool? inProduction, List<String> languages = const [], Date? lastAirDate, EpisodeBase? lastEpisodeToAir, List<Company> networks = const [], int? numOfEpisodes, int? numOfSeasons, List<Company> productionCompanies = const [], List<SeasonBase> seasons = const [], String? status, String? type, ImageCollection? images, List<AlternativeTitle> alternativeTitles = const [], Credits? credits, ExternalInfo? externalIds, List<Keyword> keywords = const [], List<Video> videos = const [], List<TvBase> recommendations = const [], List<TvBase> similar = const [], Map<String, WatchProviders> watchProviders = const {}}) -
TvShow.fromJson(Map<
String, dynamic> map, AssetResolver assetResolver) -
factory
Properties
-
alternativeTitles
→ List<
AlternativeTitle> -
final
- backdropPath → String?
-
finalinherited
-
createdBy
→ List<
Creator> -
final
- credits → Credits?
-
final
-
episodeRunTime
→ List<
int> -
final
- externalIds → ExternalInfo?
-
final
- firstAirDate → Date?
-
finalinherited
-
genreIds
→ List<
int> -
finalinherited
-
genres
→ List<
Genre> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- homepage → String?
-
final
- id → int
-
finalinherited
- images → ImageCollection?
-
final
- inProduction → bool
-
final
-
keywords
→ List<
Keyword> -
final
-
languages
→ List<
String> -
final
- lastAirDate → Date?
-
final
- lastEpisodeToAir → EpisodeBase?
-
final
- name → String
-
finalinherited
-
networks
→ List<
Company> -
final
- numOfEpisodes → int
-
final
- numOfSeasons → int
-
final
- originalLanguage → String
-
finalinherited
- originalName → String?
-
finalinherited
-
originCountry
→ List<
String> -
finalinherited
- overview → String?
-
finalinherited
- popularity → num
-
finalinherited
- posterPath → String?
-
finalinherited
-
productionCompanies
→ List<
Company> -
final
-
recommendations
→ List<
TvBase> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
seasons
→ List<
SeasonBase> -
final
-
similar
→ List<
TvBase> -
final
- status → String?
-
final
- type → String?
-
final
-
videos
→ List<
Video> -
final
- voteAverage → num
-
finalinherited
- voteCount → int
-
finalinherited
-
watchProviders
→ Map<
String, WatchProviders> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited