merge method

Implementation

StreamMessageComposerMediaAttachmentThemeData merge(
  StreamMessageComposerMediaAttachmentThemeData? other,
) {
  final _this = (this as StreamMessageComposerMediaAttachmentThemeData);

  if (other == null || identical(_this, other)) {
    return _this;
  }

  if (!other.canMerge) {
    return other;
  }

  return copyWith(borderColor: other.borderColor, size: other.size);
}