listAllOptions method

  1. @override
FutureOr<List<T>> listAllOptions([
  1. int? limit
])
override

A list of all options.

Another common use case is to implement listAllOptions and then use the InMemorySearchOptionsMixin to apply full text indexing on the options. In that case, this function should be overridden

Implementation

@override
FutureOr<List<T>> listAllOptions([int? limit]) {
  return this.filter(null, const [], limit ?? kDefaultNumOptions);
}