MovieDiscoverSettings constructor
const
MovieDiscoverSettings({
- String? certificationCountry,
- String? certification,
- String? certificationLTE,
- bool? includeAdult,
- bool? includeVideo,
- String? language,
- int? year,
- int? primaryReleaseYear,
- Date? primaryReleaseDateGTE,
- Date? primaryReleaseDateLTE,
- Date? releaseDateGTE,
- Date? releaseDateLTE,
- SortBy? sortBy,
- int? voteCountGTE,
- int? voteCountLTE,
- num? voteAverageGTE,
- num? voteAverageLTE,
- int? withCast,
- int? withCrew,
- List<
int> ? withCompanies, - List<
int> ? withGenres, - List<
int> ? withKeywords, - List<
int> ? withPeople, - QualitySettings quality = const QualitySettings(),
Implementation
const MovieDiscoverSettings({
this.certificationCountry,
this.certification,
this.certificationLTE,
bool? includeAdult,
this.includeVideo,
String? language,
int? year,
int? primaryReleaseYear,
this.primaryReleaseDateGTE,
this.primaryReleaseDateLTE,
this.releaseDateGTE,
this.releaseDateLTE,
this.sortBy,
this.voteCountGTE,
this.voteCountLTE,
this.voteAverageGTE,
this.voteAverageLTE,
this.withCast,
this.withCrew,
this.withCompanies,
this.withGenres,
this.withKeywords,
this.withPeople,
QualitySettings quality = const QualitySettings(),
}) : assert(voteCountGTE == null || voteCountGTE >= 0),
assert(voteCountLTE == null || voteCountLTE >= 1),
assert(voteAverageGTE == null ||
voteAverageGTE >= 0 && voteAverageGTE <= 10),
assert(voteAverageLTE == null ||
voteAverageLTE >= 0 &&
(voteAverageGTE != null && voteAverageGTE <= 10)),
super(
language: language,
includeAdult: includeAdult,
year: year,
primaryReleaseYear: primaryReleaseYear,
quality: quality,
);