Photos.fromJson constructor
Implementation
Photos.fromJson(Map<String, dynamic> json) {
if (json["height"] is int) this.height = json["height"];
if (json["html_attributions"] is List)
this.htmlAttributions =
json["html_attributions"] == null ? null : List<String>.from(json["html_attributions"]);
if (json["photo_reference"] is String) this.photoReference = json["photo_reference"];
if (json["width"] is int) this.width = json["width"];
}