onUserLeft method
Implementation
void onUserLeft(String callMode, String userJid, String callType) {
if (callList.length > 2 &&
!callList
.indexWhere(
(element) => element.userJid.toString() == userJid.toString())
.isNegative) {
//#FLUTTER-1300
CallUtils.getNameOfJid(userJid).then((value) => toToast("$value Left"));
}
removeUser(callMode, userJid, callType);
}