Movie class
Constructors
-
Movie({required String title, String posterPath = '', required String overview, required DateTime releaseDate, String language = 'en', double voteAverage = 0.0, String backdropPath = '', int id = 0, String originalTitle = '', bool adult = false, List<
int> genreIds = const [], double popularity = 0.0, bool video = false, int voteCount = 0, int runtime = 0}) -
Movie.fromJson(Map<
String, dynamic> json) -
factory
Properties
- adult → bool
-
final
- backdropPath ↔ String
-
getter/setter pair
-
genreIds
→ List<
int> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- language → String
-
final
- originalTitle → String
-
final
- overview ↔ String
-
getter/setter pair
- popularity → double
-
final
- posterPath ↔ String
-
getter/setter pair
- releaseDate ↔ DateTime
-
getter/setter pair
- runtime ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String
-
getter/setter pair
- video → bool
-
final
- voteAverage ↔ double
-
getter/setter pair
- voteCount → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited