Filter.exists constructor

Filter.exists(
  1. String key, {
  2. bool exists = true,
})

Matches values that exist/don't exist based on the specified boolean value.

Implementation

factory Filter.exists(String key, {bool exists = true}) =>
    Filter._(operator: FilterOperator.exists, key: key, value: exists);