InsertOneRequest constructor
InsertOneRequest({
- List<
int> ? collectionOid, - RequestContext? context,
- List<
int> ? document,
Implementation
factory InsertOneRequest({
$core.List<$core.int>? collectionOid,
$24.RequestContext? context,
$core.List<$core.int>? document,
}) {
final _result = create();
if (collectionOid != null) {
_result.collectionOid = collectionOid;
}
if (context != null) {
_result.context = context;
}
if (document != null) {
_result.document = document;
}
return _result;
}