endTyping method Null safety
Stops to send typing signal.
After this method completes successfully, channel event ChannelEventHandler.onTypingStatusUpdated will be invoked.
Implementation
void endTyping() {
final now = DateTime.now().millisecondsSinceEpoch;
if (now - _lastEndTypingTimestamp > _sdk.options.typingIndicatorThrottle) {
final cmd = Command.buildEndTyping(channelUrl, now);
_sdk.cmdManager.sendCommand(cmd);
_lastStartTypingTimestamp = 0;
_lastEndTypingTimestamp = now;
}
}