copyWith method

Video copyWith({
  1. int? duration,
  2. int? width,
  3. int? height,
  4. String? fileName,
  5. String? mimeType,
  6. bool? hasStickers,
  7. bool? supportsStreaming,
  8. Minithumbnail? minithumbnail,
  9. Thumbnail? thumbnail,
  10. File? video,
})

Implementation

Video copyWith({
  int? duration,
  int? width,
  int? height,
  String? fileName,
  String? mimeType,
  bool? hasStickers,
  bool? supportsStreaming,
  Minithumbnail? minithumbnail,
  Thumbnail? thumbnail,
  File? video,
}) =>
    Video(
      duration: duration ?? this.duration,
      width: width ?? this.width,
      height: height ?? this.height,
      fileName: fileName ?? this.fileName,
      mimeType: mimeType ?? this.mimeType,
      hasStickers: hasStickers ?? this.hasStickers,
      supportsStreaming: supportsStreaming ?? this.supportsStreaming,
      minithumbnail: minithumbnail ?? this.minithumbnail,
      thumbnail: thumbnail ?? this.thumbnail,
      video: video ?? this.video,
    );