setOnInsert method

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

Implementation

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