TheMovieImage.fromJson constructor
TheMovieImage.fromJson(
- Map<String, dynamic> json
)
Implementation
TheMovieImage.fromJson(Map<String, dynamic> json) {
backdrops = json["backdrops"] == null
? null
: (json["backdrops"] as List)
.map((e) => TheMovieImageBackdrops.fromJson(e))
.toList();
id = json["id"];
logos = json["logos"] == null
? null
: (json["logos"] as List)
.map((e) => TheMovieImageLogos.fromJson(e))
.toList();
posters = json["posters"] == null
? null
: (json["posters"] as List)
.map((e) => TheMovieImagePosters.fromJson(e))
.toList();
}