merge method
Creates a copy of this ChipSelectionData but with the given fields replaced with the new values.
Implementation
ChipSelectionData<T> merge(ChipSelectionData<T>? other) {
// if null return current object
if (other == null) return this;
return copyWith(
value: other.value,
label: other.label,
tooltip: other.tooltip,
disabled: other.disabled,
hidden: other.hidden,
meta: other.meta,
style: other.style,
activeStyle: other.activeStyle,
select: other.select,
selected: other.selected,
);
}