copyWith method
Implementation
Animation copyWith({
int? duration,
int? width,
int? height,
String? fileName,
String? mimeType,
bool? hasStickers,
Minithumbnail? minithumbnail,
Thumbnail? thumbnail,
File? animation,
}) => Animation(
duration: duration ?? this.duration,
width: width ?? this.width,
height: height ?? this.height,
fileName: fileName ?? this.fileName,
mimeType: mimeType ?? this.mimeType,
hasStickers: hasStickers ?? this.hasStickers,
minithumbnail: minithumbnail ?? this.minithumbnail,
thumbnail: thumbnail ?? this.thumbnail,
animation: animation ?? this.animation,
);