- Inheritance
- Implemented types
-
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.
override
-
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.
override
-
deleteData({String? path, Map<String, dynamic> queryParameters = const {}, )
→ Future<Response>
-
inherited
-
getData({String? path, Map<String, dynamic> queryParameters = const {}, )
→ Future<Response>
-
inherited
-
getProductRate({required String productCode})
→ Future<ReviewRateModel>
-
It's return product rate. It must take
product code
.
override
-
getProductReviews({required String productCode})
→ Future<ReviewModel>
-
It's return all product reviews.It must take
product code
.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
postData({dynamic data, String? path, Map<String, dynamic> queryParameters = const {}, )
→ Future<Response>
-
inherited
-
putData(dynamic data, {String? path, Map<String, dynamic> queryParameters = const {}, )
→ Future<Response>
-
inherited
-
toString()
→ String
-
A string representation of this object. [...]
inherited