inc method

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

Increments the value of the field by the specified amount.

Implementation

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