addBlacklist static method

Future<NIMResult<void>> addBlacklist(
  1. String userId
)

添加用户到黑名单

Implementation

static Future<NIMResult<void>> addBlacklist(String userId) {
  return NimCore.instance.userService.addToBlackList(userId);
}