Domain constructor

Domain({
  1. ObjectDetails? details,
  2. String? domain,
  3. bool? primary,
  4. bool? generated,
})

Implementation

factory Domain({
  $8.ObjectDetails? details,
  $core.String? domain,
  $core.bool? primary,
  $core.bool? generated,
}) {
  final $result = create();
  if (details != null) {
    $result.details = details;
  }
  if (domain != null) {
    $result.domain = domain;
  }
  if (primary != null) {
    $result.primary = primary;
  }
  if (generated != null) {
    $result.generated = generated;
  }
  return $result;
}