QueryTerm constructor

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

Creates a query term for text; set isNegated for excluded ("-word") terms.

Implementation

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