copyWith method

AnimatedEmoji copyWith({
  1. Sticker? sticker,
  2. int? stickerWidth,
  3. int? stickerHeight,
  4. int? fitzpatrickType,
  5. File? sound,
  6. dynamic extra,
  7. int? clientId,
})

Implementation

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