copyWith method

ProfilePhoto copyWith({
  1. int? id,
  2. File? small,
  3. File? big,
  4. Minithumbnail? minithumbnail,
  5. bool? hasAnimation,
})

Implementation

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