FilterCondition.contains constructor

const FilterCondition.contains({
  1. required String property,
  2. required String value,
  3. bool caseSensitive = true,
})

Filters the results to only include objects where the String property contains value.

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

Implementation

const FilterCondition.contains({
  required this.property,
  required String value,
  this.caseSensitive = true,
})  : type = FilterConditionType.contains,
      value1 = value,
      include1 = true,
      value2 = null,
      include2 = false,
      epsilon = Query.epsilon,
      super._();