copyWith method

UploadStickerFile copyWith({
  1. int? userId,
  2. StickerFormat? stickerFormat,
  3. InputFile? sticker,
})

Implementation

UploadStickerFile copyWith({
  int? userId,
  StickerFormat? stickerFormat,
  InputFile? sticker,
}) => UploadStickerFile(
  userId: userId ?? this.userId,
  stickerFormat: stickerFormat ?? this.stickerFormat,
  sticker: sticker ?? this.sticker,
);