copyWith method
Video
copyWith(
{ - int? duration,
- int? width,
- int? height,
- String? fileName,
- String? mimeType,
- bool? hasStickers,
- bool? supportsStreaming,
- Minithumbnail? minithumbnail,
- Thumbnail? thumbnail,
- 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,
);