copyWith method

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

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