sendTypingStatus method

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

Implementation

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