Update packages/stream_chat/lib/src/core/models/filter.dart

Co-authored-by: Salvatore Giordano <[email protected]>
This commit is contained in:
Deven Joshi
2021-09-28 14:10:14 +05:30
committed by GitHub
co-authored by Salvatore Giordano
parent 4592491b15
commit 8fd25028d3
@@ -166,7 +166,7 @@ class Filter extends Equatable {
factory Filter.autoComplete(String key, String text) =>
Filter._(operator: FilterOperator.autoComplete, key: key, value: text);
/// Matches values that exist.
/// Matches values that exist/don't exist based on the specified boolean value.
factory Filter.exists(String key, {bool exists = true}) =>
Filter._(operator: FilterOperator.exists, key: key, value: exists);