TheMoviePersonImage.fromJson constructor

TheMoviePersonImage.fromJson(
  1. Map<String, dynamic> json
)

Implementation

TheMoviePersonImage.fromJson(Map<String, dynamic> json) {
  id = json["id"];
  profiles = json["profiles"] == null
      ? null
      : (json["profiles"] as List)
          .map((e) => TheMoviePersonProfiles.fromJson(e))
          .toList();
}