copyWithWrapped method

CategoryGroup copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped<String>? name,
  3. Wrapped<bool>? hidden,
  4. Wrapped<bool>? deleted,
})

Implementation

CategoryGroup copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<String>? name,
    Wrapped<bool>? hidden,
    Wrapped<bool>? deleted}) {
  return CategoryGroup(
      id: (id != null ? id.value : this.id),
      name: (name != null ? name.value : this.name),
      hidden: (hidden != null ? hidden.value : this.hidden),
      deleted: (deleted != null ? deleted.value : this.deleted));
}