getAll method

Implementation

Future<ResponseListDTO<RatingDTO>> getAll({
  ProductPriceAndRatingQuery? query,
}) async {
  final response = await _http!.request(
    requestType: RequestType.get,
    path: '/dashboard/products/ratings',
    query: query,
  );

  return ResponseListDTO<RatingDTO>(
    response: response,
    fromJson: RatingDTO.fromJson,
  );
}