added not exists filter

This commit is contained in:
Deven Joshi
2021-09-27 17:46:57 +05:30
parent 771ba10999
commit a931682b4c
2 changed files with 12 additions and 5 deletions
@@ -114,7 +114,7 @@ void main() {
test('notExists', () {
const key = 'testKey';
final filter = Filter.exists(key, exists: false);
final filter = Filter.notExists(key);
expect(filter.key, key);
expect(filter.value, isFalse);
expect(filter.operator, FilterOperator.exists.rawValue);