SearchStringsByPrefix constructor

const SearchStringsByPrefix({
  1. required List<String> strings,
  2. required String query,
  3. required int limit,
  4. required bool returnNoneForEmptyQuery,
})

Searches specified query by word prefixes in the provided strings. Returns 0-based positions of strings that matched. Can be called synchronously

Implementation

const SearchStringsByPrefix({
  required this.strings,
  required this.query,
  required this.limit,
  required this.returnNoneForEmptyQuery,
});