toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data["height"] = height;
  if (htmlAttributions != null) data["html_attributions"] = htmlAttributions;
  data["photo_reference"] = photoReference;
  data["width"] = width;
  return data;
}