merge method
Creates a copy of this S2SingleBuilder but with the given fields replaced with the new values.
Implementation
S2SingleBuilder<T> merge(S2SingleBuilder<T>? other) {
// if null return current object
if (other == null) return this;
return S2SingleBuilder<T>(
tile: other.tile,
modal: other.modal,
modalHeader: other.modalHeader,
modalActions: other.modalActions,
modalFilter: other.modalFilter,
modalFilterToggle: other.modalFilterToggle,
modalConfirm: other.modalConfirm,
modalDivider: other.modalDivider,
modalFooter: other.modalFooter,
group: other.group,
groupHeader: other.groupHeader,
choice: other.choice,
choiceTitle: other.choiceTitle,
choiceSubtitle: other.choiceSubtitle,
choiceSecondary: other.choiceSecondary,
choiceEmpty: other.choiceEmpty,
choiceDivider: other.choiceDivider,
// choiceProgressBuilder: other.choiceProgressBuilder,
// choicePagerBuilder: other.choicePagerBuilder,
);
}