Boundary constructor

Boundary(
  1. {RecordSnapshot record,
  2. bool include,
  3. List values}
)

Create a boundary from a set of values or a given record

if include is true, the record at the boundary will be included Number of values should match the number or sort orders

snapshot superseeds record

Implementation

factory Boundary(
    {RecordSnapshot record, bool include, List<dynamic> values}) {
  return SembastBoundary(record: record, include: include, values: values);
}