copyWith method

EmojiReaction copyWith({
  1. String? emoji,
  2. String? title,
  3. bool? isActive,
  4. Sticker? staticIcon,
  5. Sticker? appearAnimation,
  6. Sticker? selectAnimation,
  7. Sticker? activateAnimation,
  8. Sticker? effectAnimation,
  9. Sticker? aroundAnimation,
  10. Sticker? centerAnimation,
})

Implementation

EmojiReaction copyWith({
  String? emoji,
  String? title,
  bool? isActive,
  Sticker? staticIcon,
  Sticker? appearAnimation,
  Sticker? selectAnimation,
  Sticker? activateAnimation,
  Sticker? effectAnimation,
  Sticker? aroundAnimation,
  Sticker? centerAnimation,
}) => EmojiReaction(
  emoji: emoji ?? this.emoji,
  title: title ?? this.title,
  isActive: isActive ?? this.isActive,
  staticIcon: staticIcon ?? this.staticIcon,
  appearAnimation: appearAnimation ?? this.appearAnimation,
  selectAnimation: selectAnimation ?? this.selectAnimation,
  activateAnimation: activateAnimation ?? this.activateAnimation,
  effectAnimation: effectAnimation ?? this.effectAnimation,
  aroundAnimation: aroundAnimation ?? this.aroundAnimation,
  centerAnimation: centerAnimation ?? this.centerAnimation,
);