whereNotNull top-level constant

const whereNotNull = const NullMatcherExpression(false)

Matcher for matching everything but null when using Query.where.

See Query.where. Example:

  var q = new Query<Employee>()
    ..where.manager = whereNotNull;

Implementation

const dynamic whereNotNull = const NullMatcherExpression(false)