onTypingEnded method
Implementation
@override
void onTypingEnded(TypingIndicator typingIndicator) {
if (userObject != null &&
typingIndicator.receiverType == ReceiverTypeConstants.user &&
typingIndicator.sender.uid == userObject!.uid) {
isTyping = false;
typingUser = null;
update();
} else if (groupObject != null &&
typingIndicator.receiverType == ReceiverTypeConstants.group &&
typingIndicator.receiverId == groupObject!.guid) {
isTyping = false;
typingUser = typingIndicator.sender;
update();
}
}