PlacePhoto class abstract

A photo of a Place. The photo can be accesed via the Place Photo API using an url in the following pattern: https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photo_reference=photo_reference&key=YOUR_API_KEY See Place Photos for more information.

Properties:

  • height - The height of the photo.
  • width - The width of the photo.
  • htmlAttributions - The HTML attributions for the photo.
  • photoReference - A string used to identify the photo when you perform a Photo request.

Constructors

PlacePhoto([void updates(PlacePhotoBuilder b)])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height num
The height of the photo.
no setter
htmlAttributions → BuiltList<String>
The HTML attributions for the photo.
no setter
photoReference String
A string used to identify the photo when you perform a Photo request.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width num
The width of the photo.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PlacePhotoBuilder)) PlacePhoto
Rebuilds the instance.
inherited
toBuilder() PlacePhotoBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<PlacePhoto>
no setter