copyWith method

AnimatedEmoji copyWith({
  1. Sticker? sticker,
  2. int? stickerWidth,
  3. int? stickerHeight,
  4. int? fitzpatrickType,
  5. File? sound,
  6. bool? isRegularEmoji,
})

Implementation

AnimatedEmoji copyWith({
  Sticker? sticker,
  int? stickerWidth,
  int? stickerHeight,
  int? fitzpatrickType,
  File? sound,
  bool? isRegularEmoji,
}) =>
    AnimatedEmoji(
      sticker: sticker ?? this.sticker,
      stickerWidth: stickerWidth ?? this.stickerWidth,
      stickerHeight: stickerHeight ?? this.stickerHeight,
      fitzpatrickType: fitzpatrickType ?? this.fitzpatrickType,
      sound: sound ?? this.sound,
      isRegularEmoji: isRegularEmoji ?? this.isRegularEmoji,
    );