copyWith method

ChatPhotoInfo copyWith({
  1. File? small,
  2. File? big,
  3. Minithumbnail? minithumbnail,
  4. bool? hasAnimation,
})

Implementation

ChatPhotoInfo copyWith({
  File? small,
  File? big,
  Minithumbnail? minithumbnail,
  bool? hasAnimation,
}) => ChatPhotoInfo(
  small: small ?? this.small,
  big: big ?? this.big,
  minithumbnail: minithumbnail ?? this.minithumbnail,
  hasAnimation: hasAnimation ?? this.hasAnimation,
);