copyWithWrapped method
Implementation
ActivityDefinition copyWithWrapped({
Wrapped<int>? id,
Wrapped<String>? name,
Wrapped<num>? weight,
}) {
return ActivityDefinition(
id: (id != null ? id.value : this.id),
name: (name != null ? name.value : this.name),
weight: (weight != null ? weight.value : this.weight),
);
}