copyWith method

StoryVideo copyWith({
  1. double? duration,
  2. int? width,
  3. int? height,
  4. bool? hasStickers,
  5. bool? isAnimation,
  6. Minithumbnail? minithumbnail,
  7. Thumbnail? thumbnail,
  8. int? preloadPrefixSize,
  9. File? video,
})

Implementation

StoryVideo copyWith({
  double? duration,
  int? width,
  int? height,
  bool? hasStickers,
  bool? isAnimation,
  Minithumbnail? minithumbnail,
  Thumbnail? thumbnail,
  int? preloadPrefixSize,
  File? video,
}) =>
    StoryVideo(
      duration: duration ?? this.duration,
      width: width ?? this.width,
      height: height ?? this.height,
      hasStickers: hasStickers ?? this.hasStickers,
      isAnimation: isAnimation ?? this.isAnimation,
      minithumbnail: minithumbnail ?? this.minithumbnail,
      thumbnail: thumbnail ?? this.thumbnail,
      preloadPrefixSize: preloadPrefixSize ?? this.preloadPrefixSize,
      video: video ?? this.video,
    );