PlaceReview class abstract
A review of the place submitted by a user.
Properties:
- authorName - The name of the user who submitted the review. Anonymous reviews are attributed to "A Google user".
- rating - The user's overall rating for this place. This is a whole number, ranging from 1 to 5.
- relativeTimeDescription - The time that the review was submitted in text, relative to the current time.
- time - The time that the review was submitted, measured in the number of seconds since since midnight, January 1, 1970 UTC.
- authorUrl - The URL to the user's Google Maps Local Guides profile, if available.
- profilePhotoUrl - The URL to the user's profile photo, if available.
- language - An IETF language code indicating the language used in the user's review. This field contains the main language tag only, and not the secondary tag indicating country or region. For example, all the English reviews are tagged as 'en', and not 'en-AU' or 'en-UK' and so on.
- text - The user's review. When reviewing a location with Google Places, text reviews are considered optional. Therefore, this field may be empty. Note that this field may include simple HTML markup. For example, the entity reference
&
may represent an ampersand character.
Constructors
- PlaceReview([void updates(PlaceReviewBuilder b)])
-
factory
Properties
-
The name of the user who submitted the review. Anonymous reviews are attributed to "A Google user".
no setter
-
The URL to the user's Google Maps Local Guides profile, if available.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → String?
-
An IETF language code indicating the language used in the user's review. This field contains the main language tag only, and not the secondary tag indicating country or region. For example, all the English reviews are tagged as 'en', and not 'en-AU' or 'en-UK' and so on.
no setter
- profilePhotoUrl → String?
-
The URL to the user's profile photo, if available.
no setter
- rating → num
-
The user's overall rating for this place. This is a whole number, ranging from 1 to 5.
no setter
- relativeTimeDescription → String
-
The time that the review was submitted in text, relative to the current time.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
The user's review. When reviewing a location with Google Places, text reviews are considered optional. Therefore, this field may be empty. Note that this field may include simple HTML markup. For example, the entity reference
&
may represent an ampersand character.no setter - time → num
-
The time that the review was submitted, measured in the number of seconds since since midnight, January 1, 1970 UTC.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(PlaceReviewBuilder)) → PlaceReview -
Rebuilds the instance.
inherited
-
toBuilder(
) → PlaceReviewBuilder -
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<
PlaceReview> -
no setter