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