removeFromBlockList static method
将用户从黑名单中移除。
Implementation
static Future<bool> removeFromBlockList(String id) async {
List<String> list = getBlockList();
if (list.contains(id)) {
list.remove(id);
return _spf!.setString('im_block_list', list.join(','));
} else {
return true;
}
}