Finder constructor Null safety

Finder(
  1. {Filter? filter,
  2. List<SortOrder>? sortOrders,
  3. int? limit,
  4. int? offset,
  5. Boundary? start,
  6. Boundary? end}
)

Specify a filter.

Having a start and/or end boundary requires a sortOrders when the values are specified. start/end is done after filtering.

A finder without any info does not filter anything

Implementation

factory Finder(
    {Filter? filter,
    List<SortOrder>? sortOrders,
    int? limit,
    int? offset,
    Boundary? start,
    Boundary? end}) {
  return SembastFinder(
      filter: filter,
      sortOrders: sortOrders,
      limit: limit,
      offset: offset,
      start: start,
      end: end);
}