merge method
Implementation
StreamMessageAttachmentStyle merge(StreamMessageAttachmentStyle? other) {
final _this = (this as StreamMessageAttachmentStyle);
if (other == null || identical(_this, other)) {
return _this;
}
if (!other.canMerge) {
return other;
}
return copyWith(
backgroundColor: other.backgroundColor,
shape: other.shape,
side: other.side,
padding: other.padding,
);
}