sendTypingStatus method

  1. @override
dynamic sendTypingStatus(
  1. String toJid,
  2. String chattype
)
override

This method is used to set the current user's typing status.

Implementation

@override
sendTypingStatus(String toJid, String chattype) async {
  try {
    await mirrorFlyMethodChannel.invokeMethod(
        'sendTypingStatus', {"to_jid": toJid, "chattype": chattype});
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}