InsertOneRequest constructor

InsertOneRequest({
  1. List<int>? collectionOid,
  2. RequestContext? context,
  3. 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;
}