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