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