leaveSession method
void
leaveSession()
Leaves the session
Implementation
void leaveSession() async {
websocket.leaveRoom();
await websocket.disconnect();
localParticipant!.dispose();
for (var remoteParticipant in remoteParticipants.values) {
remoteParticipant.dispose();
}
}