ProductionCompany.fromJson constructor

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

Implementation

factory ProductionCompany.fromJson(Map<String, dynamic> json) => ProductionCompany(
  id: json["id"],
  logoPath: json["logo_path"] == null ? "https://static.thenounproject.com/png/47682-200.png" : json["logo_path"],
  name: json["name"],
  originCountry: json["origin_country"],
);