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