WebRating class

Contains information about rating and a url to review.

Constructors

WebRating(int count, double average, WebSource source)
Creates a new instance.
WebRating.withDefaults()
Creates a new instance.

Properties

average ↔ double
Avarage value of all ratings.
getter/setter pair
count ↔ int
Total number of ratings.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source WebSource
Detailed information about rating.
getter/setter pair

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.