searchTermEndsWith method

QueryBuilder<SearchHistoryItem, SearchHistoryItem, QAfterFilterCondition> searchTermEndsWith(
  1. String value,
  2. {bool caseSensitive = true}
)

Implementation

QueryBuilder<SearchHistoryItem, SearchHistoryItem, QAfterFilterCondition>
    searchTermEndsWith(
  String value, {
  bool caseSensitive = true,
}) {
  return QueryBuilder.apply(this, (query) {
    return query.addFilterCondition(FilterCondition.endsWith(
      property: r'searchTerm',
      value: value,
      caseSensitive: caseSensitive,
    ));
  });
}