getGroupWhiteListFromServer method

Future<List<String>?> getGroupWhiteListFromServer(
  1. String groupId
)

获取白名单列表

Implementation

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