RecommendInput constructor
RecommendInput({
- Iterable<
VectorInput> ? positive, - Iterable<
VectorInput> ? negative, - RecommendStrategy? strategy,
Implementation
factory RecommendInput({
$core.Iterable<VectorInput>? positive,
$core.Iterable<VectorInput>? negative,
RecommendStrategy? strategy,
}) {
final $result = create();
if (positive != null) {
$result.positive.addAll(positive);
}
if (negative != null) {
$result.negative.addAll(negative);
}
if (strategy != null) {
$result.strategy = strategy;
}
return $result;
}