rate abstract method
Allows a user to rate a call after the call ends. Ensure that you call this method after leaving a channel.
Param callId
The current call ID. You can get the call ID by calling getCallId .
Param rating
The rating of the call. The value is between 1 (lowest score) and 5 (highest score). If you set a value out of this range, the SDK returns the -2 (ERR_INVALID_ARGUMENT) error.
Param description
(Optional) A description of the call. The string length should be less than 800 bytes.
Implementation
Future<void> rate(String callId, int rating, {String? description});