SearchQuery constructor

SearchQuery({
  1. InConditionsQuery? inConditionsQuery,
  2. ExecutionTypeQuery? executionTypeQuery,
  3. TargetQuery? targetQuery,
  4. IncludeQuery? includeQuery,
})

Implementation

factory SearchQuery({
  InConditionsQuery? inConditionsQuery,
  ExecutionTypeQuery? executionTypeQuery,
  TargetQuery? targetQuery,
  IncludeQuery? includeQuery,
}) {
  final $result = create();
  if (inConditionsQuery != null) {
    $result.inConditionsQuery = inConditionsQuery;
  }
  if (executionTypeQuery != null) {
    $result.executionTypeQuery = executionTypeQuery;
  }
  if (targetQuery != null) {
    $result.targetQuery = targetQuery;
  }
  if (includeQuery != null) {
    $result.includeQuery = includeQuery;
  }
  return $result;
}