FullTextSearch<T>.ofStream constructor

FullTextSearch<T>.ofStream({
  1. required String term,
  2. required Stream<T>? items,
  3. bool isMatchAll = false,
  4. bool isStartsWith = true,
  5. bool ignoreCase = true,
  6. int? limit,
  7. required Tokenizer<T> tokenize,
  8. List<SearchScoring>? additionalScorers,
  9. List<TermMatcher>? additionalMatchers,
})

Implementation

FullTextSearch.ofStream({
  required String term,
  required Stream<T>? items,
  bool isMatchAll = false,
  bool isStartsWith = true,
  bool ignoreCase = true,
  int? limit,
  required Tokenizer<T> tokenize,
  List<SearchScoring>? additionalScorers,
  List<TermMatcher>? additionalMatchers,
}) : this._(
          term,
          items ?? Stream<T>.empty(),
          isMatchAll,
          isStartsWith,
          ignoreCase,
          limit,
          tokenize,
          [..._defaultScoring, ...?additionalScorers],
          [..._defaultMatchers, ...?additionalMatchers]);