Query constructor

Query({
  1. IdsQuery? idQuery,
  2. DomainsQuery? domainQuery,
})

Implementation

factory Query({
  IdsQuery? idQuery,
  DomainsQuery? domainQuery,
}) {
  final $result = create();
  if (idQuery != null) {
    $result.idQuery = idQuery;
  }
  if (domainQuery != null) {
    $result.domainQuery = domainQuery;
  }
  return $result;
}