copyWith method

EmojiCategory copyWith({
  1. String? name,
  2. Sticker? icon,
  3. EmojiCategorySource? source,
  4. bool? isGreeting,
})

Implementation

EmojiCategory copyWith({
  String? name,
  Sticker? icon,
  EmojiCategorySource? source,
  bool? isGreeting,
}) => EmojiCategory(
  name: name ?? this.name,
  icon: icon ?? this.icon,
  source: source ?? this.source,
  isGreeting: isGreeting ?? this.isGreeting,
);