query method
Like the search method, but the filter is constructed using the query string. See https://tools.ietf.org/html/rfc2254
Implementation
Future<SearchResult> query(
String baseDN, String query, List<String> attributes,
{int scope = SearchScope.SUB_LEVEL,
int sizeLimit = 0,
List<Control> controls = const []}) {
var filter = parseQuery(query);
return search(baseDN, filter, attributes,
scope: scope, sizeLimit: sizeLimit, controls: controls);
}