not property

QueryExpression<T, InstanceType> not

Inverts the next expression.

You use this method to apply an inversion to the expression that follows. For example, the following example would only return objects where the 'id' is not equal to '5'.

    final query = new Query<Employee>()
      ..where((e) => e.name).not.equalTo("Bob");

Implementation

QueryExpression<T, InstanceType> get not {
  _invertNext = !_invertNext;

  return this;
}