DiscoverInput constructor

DiscoverInput({
  1. VectorInput? target,
  2. ContextInput? context,
})

Implementation

factory DiscoverInput({
  VectorInput? target,
  ContextInput? context,
}) {
  final $result = create();
  if (target != null) {
    $result.target = target;
  }
  if (context != null) {
    $result.context = context;
  }
  return $result;
}