RetrievedPoint constructor

RetrievedPoint({
  1. PointId? id,
  2. Iterable<MapEntry<String, Value>>? payload,
  3. VectorsOutput? vectors,
  4. ShardKey? shardKey,
  5. OrderValue? orderValue,
})

Implementation

factory RetrievedPoint({
  PointId? id,
  $core.Iterable<$core.MapEntry<$core.String, $11.Value>>? payload,
  VectorsOutput? vectors,
  $1.ShardKey? shardKey,
  OrderValue? orderValue,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (payload != null) {
    $result.payload.addEntries(payload);
  }
  if (vectors != null) {
    $result.vectors = vectors;
  }
  if (shardKey != null) {
    $result.shardKey = shardKey;
  }
  if (orderValue != null) {
    $result.orderValue = orderValue;
  }
  return $result;
}