exists method Null safety

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

指定したフィールドの値が存在する(または存在しない)ことを検索条件に追加する key フィールド名 value 検索する値(true:存在する、false:存在しない)

Implementation

void exists(String key, {bool value = true}) {
  setOperand(key, value, ope: '\$exists');
}