copyWith method
ChatPhoto
copyWith({
- int? id,
- int? addedDate,
- Minithumbnail? minithumbnail,
- List<
PhotoSize> ? sizes, - AnimatedChatPhoto? animation,
Implementation
ChatPhoto copyWith({
int? id,
int? addedDate,
Minithumbnail? minithumbnail,
List<PhotoSize>? sizes,
AnimatedChatPhoto? animation,
}) => ChatPhoto(
id: id ?? this.id,
addedDate: addedDate ?? this.addedDate,
minithumbnail: minithumbnail ?? this.minithumbnail,
sizes: sizes ?? this.sizes,
animation: animation ?? this.animation,
);