lt static method

Map<String, Object?> lt(
  1. Object? value
)

Constructs a less than ($lt) comparison operator.

Matches values that are less than the specified value.

value The value to compare against

Example:

var query = DQ.field('age', DQ.lt(65)); // { 'age': { '$lt': 65 } }

Implementation

static Map<String, Object?> lt(Object? value) {
  return {
    '\$lt': value,
  };
}