getGroupBlockListFromServer method

Future<List<String>?> getGroupBlockListFromServer(
  1. String groupId, {
  2. int pageSize = 200,
  3. int pageNum = 1,
})

获取黑名单列表

Implementation

Future<List<String>?> getGroupBlockListFromServer(
  String groupId, {
  int pageSize = 200,
  int pageNum = 1,
}) async {
  Map req = {'groupId': groupId, 'pageNum': pageNum, 'pageSize': pageSize};
  Map result = await _channel.invokeMethod(
      EMSDKMethod.getGroupBlockListFromServer, req);
  EMError.hasErrorFromResult(result);
  return result[EMSDKMethod.getGroupBlockListFromServer]?.cast<String>();
}