BulkWriteOptions constructor

BulkWriteOptions({
  1. BoolValue? bypassDocumentValidation,
  2. List<int>? comment,
  3. BoolValue? ordered,
  4. List<int>? let,
})

Implementation

factory BulkWriteOptions({
  $9.BoolValue? bypassDocumentValidation,
  $core.List<$core.int>? comment,
  $9.BoolValue? ordered,
  $core.List<$core.int>? let,
}) {
  final _result = create();
  if (bypassDocumentValidation != null) {
    _result.bypassDocumentValidation = bypassDocumentValidation;
  }
  if (comment != null) {
    _result.comment = comment;
  }
  if (ordered != null) {
    _result.ordered = ordered;
  }
  if (let != null) {
    _result.let = let;
  }
  return _result;
}