syncConversationsSilentMode method

Future<void> syncConversationsSilentMode()

Get all conversations mute info from server.

Throws A description of the exception. See ChatError.

Implementation

Future<void> syncConversationsSilentMode() async {
  try {
    Map result = await platform_interface.Client.instance.pushManager
        .callNativeMethod(ChatMethodKeys.syncSilentModels);
    ChatError.hasErrorFromResult(result);
  } catch (e) {
    rethrow;
  }
}