Photos.fromJson constructor

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

Implementation

Photos.fromJson(Map<String, dynamic> json) {
  height = json['height'];
  htmlAttributions = json['html_attributions'].cast<String>();
  photoReference = json['photo_reference'];
  width = json['width'];
}