query method

Future<SearchResult> query (String baseDN, String query, List<String> attributes, { int scope: SearchScope.SUB_LEVEL, int sizeLimit: 0, List<Control> controls: null })

Implementation

Future<SearchResult> query(
    String baseDN, String query, List<String> attributes,
    {int scope: SearchScope.SUB_LEVEL,
    int sizeLimit: 0,
    List<Control> controls: null}) async {
  var filter = queryParser.getFilter(query);
  return this
      .search(baseDN, filter, attributes, scope: scope, sizeLimit: sizeLimit);
}