FilterCondition.matches constructor

const FilterCondition.matches(
  1. {required String property,
  2. required String wildcard,
  3. bool caseSensitive = true}

Filters the results to only include objects where the property matches the wildcard.

For String lists, at least one of the values in the list has to match.


const FilterCondition.matches({
  required String wildcard,
  this.caseSensitive = true,
})  : type = FilterConditionType.matches,
      value1 = wildcard,
      include1 = true,
      value2 = null,
      include2 = false,
      epsilon = Query.epsilon,