TheMovieCast.fromJson constructor

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

Implementation

TheMovieCast.fromJson(Map<String, dynamic> json) {
  adult = json["adult"];
  gender = json["gender"];
  id = json["id"];
  knownForDepartment = json["known_for_department"];
  name = json["name"];
  originalName = json["original_name"];
  popularity = json["popularity"];
  profilePath = json["profile_path"];
  castId = json["cast_id"];
  character = json["character"];
  creditId = json["credit_id"];
  order = json["order"];
}