copyWith method

GetStickerOutlineSvgPath copyWith({
  1. int? stickerFileId,
  2. bool? forAnimatedEmoji,
  3. bool? forClickedAnimatedEmojiMessage,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

GetStickerOutlineSvgPath copyWith({
  int? stickerFileId,
  bool? forAnimatedEmoji,
  bool? forClickedAnimatedEmojiMessage,
}) => GetStickerOutlineSvgPath(
  stickerFileId: stickerFileId ?? this.stickerFileId,
  forAnimatedEmoji: forAnimatedEmoji ?? this.forAnimatedEmoji,
  forClickedAnimatedEmojiMessage:
      forClickedAnimatedEmojiMessage ?? this.forClickedAnimatedEmojiMessage,
);