min method

ModifierBuilder min(
  1. String fieldName,
  2. dynamic value
)

Only updates the field if the specified value is less than the existing field value

Implementation

ModifierBuilder min(String fieldName, value) {
  _updateOperation('\$min', fieldName, value);
  return this;
}