copyWith method

CategoryEmoji copyWith({
  1. Category? category,
  2. List<Emoji>? emoji,
})

Copy method

Implementation

CategoryEmoji copyWith({Category? category, List<Emoji>? emoji}) {
  return CategoryEmoji(
    category ?? this.category,
    emoji ?? this.emoji,
  );
}