Filter.custom constructor Null safety

Filter.custom(
  1. bool matches(
    1. RecordSnapshot 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);