DomainSearchQuery constructor

DomainSearchQuery({
  1. DomainQuery? domainQuery,
  2. DomainGeneratedQuery? generatedQuery,
  3. DomainPrimaryQuery? primaryQuery,
})

Implementation

factory DomainSearchQuery({
  DomainQuery? domainQuery,
  DomainGeneratedQuery? generatedQuery,
  DomainPrimaryQuery? primaryQuery,
}) {
  final $result = create();
  if (domainQuery != null) {
    $result.domainQuery = domainQuery;
  }
  if (generatedQuery != null) {
    $result.generatedQuery = generatedQuery;
  }
  if (primaryQuery != null) {
    $result.primaryQuery = primaryQuery;
  }
  return $result;
}