copyWithWrapped method

TaskCourse copyWithWrapped({
  1. Wrapped<int>? id,
  2. Wrapped<String>? name,
  3. Wrapped<bool>? isArchived,
})

Implementation

TaskCourse copyWithWrapped({
  Wrapped<int>? id,
  Wrapped<String>? name,
  Wrapped<bool>? isArchived,
}) {
  return TaskCourse(
    id: (id != null ? id.value : this.id),
    name: (name != null ? name.value : this.name),
    isArchived: (isArchived != null ? isArchived.value : this.isArchived),
  );
}