copyWith method
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,
);