DomainQuery constructor

DomainQuery({
  1. String? domain,
  2. TextQueryMethod? method,
})

Implementation

factory DomainQuery({
  $core.String? domain,
  $8.TextQueryMethod? method,
}) {
  final $result = create();
  if (domain != null) {
    $result.domain = domain;
  }
  if (method != null) {
    $result.method = method;
  }
  return $result;
}