copyWith method
Creates a copy with the given fields replaced.
Implementation
ImageFileMessageContent copyWith({ImageFile? imageFile}) {
return ImageFileMessageContent(imageFile: imageFile ?? this.imageFile);
}
Creates a copy with the given fields replaced.
ImageFileMessageContent copyWith({ImageFile? imageFile}) {
return ImageFileMessageContent(imageFile: imageFile ?? this.imageFile);
}