Movie class

Inheritance

Constructors

Movie({required int id, required String originalLanguage, String? backdropPath, String? posterPath, String? overview, num? popularity, int? voteCount, num? voteAverage, bool? adult, Date? releaseDate, String? originalTitle, String? title, List<int> genreIds = const [], bool video = false, Collection? belongsToCollection, int? budget, List<Genre> genres = const [], String? homepage, String? imdbId, List<Company> productionCompanies = const [], List<Country> productionCountries = const [], int? revenue, int? runtime, List<Country> spokenLanguages = const [], String? status, String? tagline, ImageCollection? images, List<AlternativeTitle> alternativeTitles = const [], Credits? credits, ExternalInfo? externalIds, List<Keyword> keywords = const [], List<Video> videos = const [], List<MovieBase> recommendations = const [], List<MovieBase> similar = const [], Map<String, WatchProviders> watchProviders = const {}})
Movie.fromJson(Map<String, dynamic> map, AssetResolver assetResolver)
factory

Properties

adult bool
finalinherited
alternativeTitles List<AlternativeTitle>
final
backdropPath String?
finalinherited
belongsToCollection Collection?
final
budget int
final
credits Credits?
final
externalIds ExternalInfo?
final
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
imdbId String?
final
keywords List<Keyword>
final
originalLanguage String
finalinherited
originalTitle String?
finalinherited
overview String?
finalinherited
popularity num
finalinherited
posterPath String?
finalinherited
productionCompanies List<Company>
final
productionCountries List<Country>
final
recommendations List<MovieBase>
final
releaseDate Date?
finalinherited
revenue int
final
runtime int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
similar List<MovieBase>
final
spokenLanguages List<Country>
final
status String?
final
tagline String?
final
title String
finalinherited
video bool
finalinherited
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