messageMatches method

QueryBuilder<MessageItem, MessageItem, QAfterFilterCondition> messageMatches(
  1. String pattern,
  2. {bool caseSensitive = true}
)

Implementation

QueryBuilder<MessageItem, MessageItem, QAfterFilterCondition> messageMatches(
    String pattern,
    {bool caseSensitive = true}) {
  return QueryBuilder.apply(this, (query) {
    return query.addFilterCondition(FilterCondition.matches(
      property: r'message',
      wildcard: pattern,
      caseSensitive: caseSensitive,
    ));
  });
}