isNeedNotify static method

Future<bool> isNeedNotify(
  1. String accid
)

是否打开消息提醒

Implementation

static Future<bool> isNeedNotify(String accid) async {
  return NimCore.instance.userService.isMute(accid).then((value) {
    return value.isSuccess && value.data != null ? !value.data! : false;
  });
}