copyWithWrapped method

Category copyWithWrapped({
  1. Wrapped<String>? categoryId,
  2. Wrapped<String>? group,
  3. Wrapped<List<String>>? hierarchy,
})

Implementation

Category copyWithWrapped(
    {Wrapped<String>? categoryId,
    Wrapped<String>? group,
    Wrapped<List<String>>? hierarchy}) {
  return Category(
      categoryId: (categoryId != null ? categoryId.value : this.categoryId),
      group: (group != null ? group.value : this.group),
      hierarchy: (hierarchy != null ? hierarchy.value : this.hierarchy));
}