InstanceDetail constructor

InstanceDetail({
  1. String? id,
  2. ObjectDetails? details,
  3. State? state,
  4. String? name,
  5. String? version,
  6. Iterable<Domain>? domains,
})

Implementation

factory InstanceDetail({
  $core.String? id,
  $8.ObjectDetails? details,
  State? state,
  $core.String? name,
  $core.String? version,
  $core.Iterable<Domain>? domains,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (details != null) {
    $result.details = details;
  }
  if (state != null) {
    $result.state = state;
  }
  if (name != null) {
    $result.name = name;
  }
  if (version != null) {
    $result.version = version;
  }
  if (domains != null) {
    $result.domains.addAll(domains);
  }
  return $result;
}