updateChatMuteStatusList method

  1. @override
dynamic updateChatMuteStatusList(
  1. List<String> jidList,
  2. bool muteStatus
)
override

This method is used to update the list chat mute status.

Implementation

@override
updateChatMuteStatusList(List<String> jidList, bool muteStatus) async {
  try {
    await mirrorFlyMethodChannel.invokeMethod('updateChatMuteStatusList',
        {"jidList": jidList, "mute_status": muteStatus});
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}