getBlackList static method
查询已经设置的黑名单列表
finished
回调结果,code 为 0 代表操作成功,其他值代表失败
userIdList
黑名单用户 id 列表
Implementation
static Future<void> getBlackList(Function(List? /*<String>*/ userIdList, int? code)? finished) async {
Map result = await _channel.invokeMethod(RCMethodKey.GetBlackList);
List? userIdList = result["userIdList"];
int? code = result["code"];
if (finished != null) {
finished(userIdList, code);
}
}