copyWithWrapped method

CategoriesGetResponse copyWithWrapped({
  1. Wrapped<List<Category>>? categories,
  2. Wrapped<String>? requestId,
})

Implementation

CategoriesGetResponse copyWithWrapped(
    {Wrapped<List<Category>>? categories, Wrapped<String>? requestId}) {
  return CategoriesGetResponse(
      categories: (categories != null ? categories.value : this.categories),
      requestId: (requestId != null ? requestId.value : this.requestId));
}