copyWith method

InputAnimation copyWith({
  1. InputFile? animation,
  2. InputThumbnail? thumbnail,
  3. List<int>? addedStickerFileIds,
  4. int? duration,
  5. int? width,
  6. int? height,
})

Implementation

InputAnimation copyWith({
  InputFile? animation,
  InputThumbnail? thumbnail,
  List<int>? addedStickerFileIds,
  int? duration,
  int? width,
  int? height,
}) => InputAnimation(
  animation: animation ?? this.animation,
  thumbnail: thumbnail ?? this.thumbnail,
  addedStickerFileIds: addedStickerFileIds ?? this.addedStickerFileIds,
  duration: duration ?? this.duration,
  width: width ?? this.width,
  height: height ?? this.height,
);