ReviewDto class

Review of a store.

Inheritance

Constructors

ReviewDto({required String authorName, String? authorUrl, String? profilePhotoUrl, required int rating, String? text, required DateTime time})
ReviewDto.fromJson(Map<String, dynamic> json)
factory

Properties

authorName String
The name of the user who submitted the review. Anonymous reviews are attributed to "A Google user".
read / write
authorUrl String?
The URL to the user's Google Maps Local Guides profile, if available.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
profilePhotoUrl String?
The URL to the user's profile photo, if available.
read / write
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
read-onlyoverride
rating int
The user's overall rating for this place.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
read-onlyinherited
text String?
The user's review.
read / write
time DateTime
The time that the review was submitted, measured in the number of seconds since midnight, January 1, 1970 UTC.
read / write

Methods

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

Operators

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