leaveChannel property Null safety
Occurs when a user leaves the channel.
When the app calls the RtcEngine.leaveChannel method, the SDK uses this callback to notify the app when the user leaves the channel.
With this callback, the application retrieves the channel information, such as the call duration and statistics.
RtcStatsCallback typedef includes the following parameter:
stats: Statistics of the call.