copyWith method

VideoNote copyWith({
  1. int? duration,
  2. int? length,
  3. Minithumbnail? minithumbnail,
  4. Thumbnail? thumbnail,
  5. File? video,
})

Implementation

VideoNote copyWith({
  int? duration,
  int? length,
  Minithumbnail? minithumbnail,
  Thumbnail? thumbnail,
  File? video,
}) => VideoNote(
  duration: duration ?? this.duration,
  length: length ?? this.length,
  minithumbnail: minithumbnail ?? this.minithumbnail,
  thumbnail: thumbnail ?? this.thumbnail,
  video: video ?? this.video,
);