publishResult method

dynamic publishResult(
  1. RateExperienceResult result
)

Implementation

publishResult(RateExperienceResult result) async {
  var jsonText = jsonEncode(result);
  debugPrint(jsonText);
  return _dio.post("/v1/rating/sdk/user_rating",
      queryParameters: {"lang": lang}, data: jsonText);
}