copyWith method

  1. @override
InputStoryContentVideo copyWith({
  1. InputFile? video,
  2. List<int>? addedStickerFileIds,
  3. double? duration,
  4. bool? isAnimation,
})
override

Implementation

@override
InputStoryContentVideo copyWith({
  InputFile? video,
  List<int>? addedStickerFileIds,
  double? duration,
  bool? isAnimation,
}) =>
    InputStoryContentVideo(
      video: video ?? this.video,
      addedStickerFileIds: addedStickerFileIds ?? this.addedStickerFileIds,
      duration: duration ?? this.duration,
      isAnimation: isAnimation ?? this.isAnimation,
    );