isBlackList static method

Future<NIMResult<bool>> isBlackList(
  1. String userId
)

是否在黑名单中

Implementation

static Future<NIMResult<bool>> isBlackList(String userId) {
  return NimCore.instance.userService.isInBlackList(userId);
}