WithLookup constructor

WithLookup({
  1. String? collection,
  2. WithPayloadSelector? withPayload,
  3. WithVectorsSelector? withVectors,
})

Implementation

factory WithLookup({
  $core.String? collection,
  WithPayloadSelector? withPayload,
  WithVectorsSelector? withVectors,
}) {
  final $result = create();
  if (collection != null) {
    $result.collection = collection;
  }
  if (withPayload != null) {
    $result.withPayload = withPayload;
  }
  if (withVectors != null) {
    $result.withVectors = withVectors;
  }
  return $result;
}