copyWith method

Domain copyWith({
  1. String? id,
  2. String? phase,
  3. DomainSpec? spec,
})

Implementation

Domain copyWith({
  String? id,
  String? phase,
  DomainSpec? spec,
}) {
  return Domain(
    id: id ?? this.id,
    phase: phase ?? this.phase,
    spec: spec ?? this.spec,
  );
}