merge method
Implementation
GroupsConfiguration merge(GroupsConfiguration mergeWith) {
return GroupsConfiguration(
groupsRequestBuilder:
groupsRequestBuilder ?? mergeWith.groupsRequestBuilder,
subtitleView: subtitleView ?? mergeWith.subtitleView,
listItemView: listItemView ?? mergeWith.listItemView,
groupsStyle: groupsStyle ?? mergeWith.groupsStyle,
controller: controller ?? mergeWith.controller,
options: options ?? mergeWith.options,
searchPlaceholder: searchPlaceholder ?? mergeWith.searchPlaceholder,
backButton: backButton ?? mergeWith.backButton,
showBackButton: showBackButton ?? mergeWith.showBackButton,
searchBoxIcon: searchBoxIcon ?? mergeWith.searchBoxIcon,
hideSearch: hideSearch ?? mergeWith.hideSearch,
theme: theme ?? mergeWith.theme,
selectionMode: selectionMode ?? mergeWith.selectionMode,
onSelection: onSelection ?? mergeWith.onSelection,
title: title ?? mergeWith.title,
emptyStateText: emptyStateText ?? mergeWith.emptyStateText,
errorStateText: errorStateText ?? mergeWith.errorStateText,
loadingStateView: loadingStateView ?? mergeWith.loadingStateView,
emptyStateView: emptyStateView ?? mergeWith.emptyStateView,
errorStateView: errorStateView ?? mergeWith.errorStateView,
listItemStyle: listItemStyle ?? mergeWith.listItemStyle,
avatarStyle: avatarStyle ?? mergeWith.avatarStyle,
statusIndicatorStyle:
statusIndicatorStyle ?? mergeWith.statusIndicatorStyle,
createGroupIcon: createGroupIcon ?? mergeWith.createGroupIcon,
joinProtectedGroupConfiguration: joinProtectedGroupConfiguration ??
mergeWith.joinProtectedGroupConfiguration,
hideSeparator: hideSeparator ?? mergeWith.hideSeparator,
passwordGroupIcon: passwordGroupIcon ?? mergeWith.passwordGroupIcon,
privateGroupIcon: privateGroupIcon ?? mergeWith.privateGroupIcon,
activateSelection: activateSelection ?? mergeWith.activateSelection,
hideError: hideError ?? mergeWith.hideError,
stateCallBack: stateCallBack ?? mergeWith.stateCallBack,
groupsProtocol: groupsProtocol ?? mergeWith.groupsProtocol,
appBarOptions: appBarOptions ?? mergeWith.appBarOptions,
onBack: onBack ?? mergeWith.onBack,
onItemTap: onItemTap ?? mergeWith.onItemTap,
onItemLongPress: onItemLongPress ?? mergeWith.onItemLongPress,
onError: onError ?? mergeWith.onError,
submitIcon: submitIcon ?? mergeWith.submitIcon,
selectionIcon: selectionIcon ?? mergeWith.selectionIcon,
hideAppbar: hideAppbar ?? mergeWith.hideAppbar,
controllerTag: controllerTag ?? mergeWith.controllerTag);
}