Filter.custom constructor

Filter.custom(
  1. bool matches(
    1. RecordSnapshot<Key?, Value?> record
    )
)

Custom filter, use with caution and do not modify record data as it provides a raw access to the record internal value for efficiency.

Implementation

factory Filter.custom(bool Function(RecordSnapshot record) matches) =>
    SembastCustomFilter(matches);