BulkWriteRequest constructor
BulkWriteRequest({
- List<
int> ? collectionOid, - RequestContext? context,
- Iterable<
WriteModel> ? writeModels, - BulkWriteOptions? options,
Implementation
factory BulkWriteRequest({
$core.List<$core.int>? collectionOid,
$24.RequestContext? context,
$core.Iterable<WriteModel>? writeModels,
BulkWriteOptions? options,
}) {
final _result = create();
if (collectionOid != null) {
_result.collectionOid = collectionOid;
}
if (context != null) {
_result.context = context;
}
if (writeModels != null) {
_result.writeModels.addAll(writeModels);
}
if (options != null) {
_result.options = options;
}
return _result;
}