setNotify static method

Future<bool> setNotify(
  1. String accId,
  2. bool notify
)

设置账号的消息提醒状态

Implementation

static Future<bool> setNotify(String accId, bool notify) async {
  return (await NimCore.instance.userService
          .setMute(userId: accId, isMute: !notify))
      .isSuccess;
}