PointGroup constructor
PointGroup({
- GroupId? id,
- Iterable<
ScoredPoint> ? hits, - RetrievedPoint? lookup,
Implementation
factory PointGroup({
GroupId? id,
$core.Iterable<ScoredPoint>? hits,
RetrievedPoint? lookup,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (hits != null) {
$result.hits.addAll(hits);
}
if (lookup != null) {
$result.lookup = lookup;
}
return $result;
}