RatingSummary class

Singleton resource for the rating summary of an item.

Constructors

RatingSummary({String? fiveStarRatingCount, String? fourStarRatingCount, String? name, String? nonEmptyReviewCount, String? oneStarRatingCount, double? rating, String? ratingCount, String? threeStarRatingCount, String? twoStarRatingCount})
RatingSummary.fromJson(Map json_)

Properties

fiveStarRatingCount ↔ String?
The number of five star ratings.
getter/setter pair
fourStarRatingCount ↔ String?
The number of four star ratings.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
name ↔ String?
Identifier.
getter/setter pair
nonEmptyReviewCount ↔ String?
The number of ratings with a non-empty review text.
getter/setter pair
oneStarRatingCount ↔ String?
The number of one star ratings.
getter/setter pair
rating ↔ double?
The rating of the item as shown on the store page, expressed as a double between 1 and 5.
getter/setter pair
ratingCount ↔ String?
The total number of ratings for the item.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
threeStarRatingCount ↔ String?
The number of three star ratings.
getter/setter pair
twoStarRatingCount ↔ String?
The number of two star ratings.
getter/setter pair

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