Review class

Constructors

Review({String? authorName, String? authorUrl, String? language, String? profilePhotoUrl, int? rating, String? relativeTimeDescription, String? text, int? time})
Review.fromJson(Map<String, dynamic> json)
factory

Properties

authorName String?
authorName the name of the user who submitted the review. Anonymous reviews are attributed to "A Google user".
final
authorUrl String?
authorUrl the URL to the user's Google Maps Local Guides profile, if available.
final
hashCode int
The hash code for this object.
no setterinherited
language String?
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.
final
profilePhotoUrl String?
profilePhotoUrl the URL to the user's profile photo, if available.
final
rating int?
rating the user's overall rating for this place. This is a whole number, ranging from 1 to 5.
final
relativeTimeDescription String?
relativeTimeDescription the time that the review was submitted, relative to the current time.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
text the user's review. When reviewing a location with Google Places, text reviews are considered optional. Therefore, this field may by empty. Note that this field may include simple HTML markup. For example, the entity reference & may represent an ampersand character.
final
time int?
time the time that the review was submitted, measured in the number of seconds since since midnight, January 1, 1970 UTC.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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