toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "height": height,
      "html_attributions": htmlAttributions == null
          ? []
          : List<dynamic>.from(htmlAttributions!.map((x) => x)),
      "photo_reference": photoReference,
      "width": width,
    };