typingUser method
Implementation
String typingUser(String jid) {
var index =
typingAndGoneStatus.indexWhere((it) => it.singleOrgroupJid == jid);
if (index.isNegative) {
return "";
} else {
return typingAndGoneStatus[index].userId.isNotEmpty
? typingAndGoneStatus[index].userId
: typingAndGoneStatus[index].singleOrgroupJid;
}
}