SearchHit_ constructor
Implementation
factory SearchHit_({
$core.String? id,
$core.double? score,
$core.Iterable<Metadata_>? metadata,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (score != null) {
$result.score = score;
}
if (metadata != null) {
$result.metadata.addAll(metadata);
}
return $result;
}