HierarchyQuery.prefix constructor

HierarchyQuery.prefix(
  1. String rawQuery, {
  2. SearchTarget target,
})

Create a prefix-substring query.

The query is split on / or . into segments. Each segment is matched via startsWith (for signals) or contains (for occurrences) against names at successive depths.

Implementation

factory HierarchyQuery.prefix(
  String rawQuery, {
  SearchTarget target,
}) = PrefixQuery;