updateChatMuteStatus method

  1. @override
dynamic updateChatMuteStatus(
  1. String jid,
  2. bool muteStatus
)
override

Implementation

@override
updateChatMuteStatus(String jid, bool muteStatus) async {
  try {
    await mirrorFlyMethodChannel.invokeMethod(
        'updateChatMuteStatus', {"jid": jid, "mute_status": muteStatus});
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}