Domain constructor

Domain({
  1. String? orgId,
  2. ObjectDetails? details,
  3. String? domainName,
  4. bool? isVerified,
  5. bool? isPrimary,
  6. DomainValidationType? validationType,
})

Implementation

factory Domain({
  $core.String? orgId,
  $8.ObjectDetails? details,
  $core.String? domainName,
  $core.bool? isVerified,
  $core.bool? isPrimary,
  DomainValidationType? validationType,
}) {
  final $result = create();
  if (orgId != null) {
    $result.orgId = orgId;
  }
  if (details != null) {
    $result.details = details;
  }
  if (domainName != null) {
    $result.domainName = domainName;
  }
  if (isVerified != null) {
    $result.isVerified = isVerified;
  }
  if (isPrimary != null) {
    $result.isPrimary = isPrimary;
  }
  if (validationType != null) {
    $result.validationType = validationType;
  }
  return $result;
}