copyWith method
Creates a copy with the given fields replaced.
Implementation
ImageUrlMessageContent copyWith({ImageUrl? imageUrl}) {
return ImageUrlMessageContent(imageUrl: imageUrl ?? this.imageUrl);
}
Creates a copy with the given fields replaced.
ImageUrlMessageContent copyWith({ImageUrl? imageUrl}) {
return ImageUrlMessageContent(imageUrl: imageUrl ?? this.imageUrl);
}