copyWith method

CategorySticker copyWith({
  1. String? category,
  2. List<Sticker>? stickers,
})

Copy method

Implementation

CategorySticker copyWith({String? category, List<Sticker>? stickers}) {
  return CategorySticker(
    category: category ?? this.category,
    stickers: stickers ?? this.stickers,
  );
}