updateOptions function

UpdateOptions updateOptions({
  1. bool insertIfAbsent = false,
  2. bool justOnce = false,
})

Creates a new instance of UpdateOptions with insertIfAbsent and justOnce set to false.

Implementation

UpdateOptions updateOptions({
  bool insertIfAbsent = false,
  bool justOnce = false,
}) =>
    UpdateOptions(insertIfAbsent: insertIfAbsent, justOnce: justOnce);