copyWith method
ProfilePhoto
copyWith({
- int? id,
- File? small,
- File? big,
- Minithumbnail? minithumbnail,
- 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,
);