QueryTerm constructor

const QueryTerm(
  1. String text, {
  2. bool isNegated = false,
})

Creates a query term for text; set isNegated for excluded ("-word") terms. Audited: 2026-06-12 11:26 EDT

Implementation

const QueryTerm(this.text, {this.isNegated = false});