typing method

Future<void> typing()

Indicate that Participant is typing in this conversation.

You should call this method to indicate that a local user is entering a message into current conversation. The typing state is forwarded to users subscribed to this conversation through Conversation.onTypingStarted and Conversation.onTypingEnded callbacks. After approximately 5 seconds after the last Conversation.typing call the SDK will emit Conversation.onTypingEnded signal. One common way to implement this indicator is to call Conversation.typing repeatedly in response to key input events.

Implementation

Future<void> typing() async {
  try {
    return TwilioConversations().conversationApi.typing(sid);
  } on PlatformException catch (err) {
    throw TwilioConversations.convertException(err);
  }
}