ReviewWebService class Null safety

Implementers

Constructors

ReviewWebService()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addRate({required String productCode, required double rate, required int customerId}) Future<bool?>
It's used for only adding rate on product,User must have an account to use this feature.
addReview({required ItemReview itemReview}) Future<bool?>
It's used to add review on product. User can make only one review on the same product. User must have an account to use this feature.
getProductRate({required String productCode}) Future<ReviewRateModel>
It's return product rate. It must take product code.
getProductReviews({required String productCode}) Future<ReviewModel>
It's return all product reviews.It must take product code.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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