update method

Future<ResponseItemDTO> update({
  1. String? id,
  2. ProductRatingPutBody? rating,
})

Implementation

Future<ResponseItemDTO> update(
    {String? id, ProductRatingPutBody? rating}) async {
  return await _repository!.update(
    id: id,
    rating: rating,
  );
}