onLeaveChannel property
Occurs when a user leaves a channel.
You can obtain information such as the total duration of a call, and the data traffic that the SDK transmits and receives.
connection
The connection information. See RtcConnection.stats
Call statistics. See RtcStats.
Implementation
final void Function(RtcConnection connection, RtcStats stats)? onLeaveChannel;