RetrievedPoint constructor
RetrievedPoint({
- PointId? id,
- Iterable<
MapEntry< ? payload,String, Value> > - VectorsOutput? vectors,
- ShardKey? shardKey,
- 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;
}