Filter.matchesRegExp constructor Null safety

Filter.matchesRegExp(
  1. String field,
  2. RegExp regExp,
  3. {bool? anyInList}
)

Filter field value using regExp regular expression.

If anyInList is true, it means that if field is a list, a record matches if any of the list item matches the pattern.

Implementation

factory Filter.matchesRegExp(String field, RegExp regExp, {bool? anyInList}) {
  return SembastMatchesFilter(field, regExp, anyInList);
}