merge method
Implementation
JoinProtectedGroupConfiguration merge(
JoinProtectedGroupConfiguration mergeWith) {
return JoinProtectedGroupConfiguration(
closeIcon: closeIcon ?? mergeWith.closeIcon,
joinIcon: joinIcon ?? mergeWith.joinIcon,
joinProtectedGroupStyle:
joinProtectedGroupStyle ?? mergeWith.joinProtectedGroupStyle,
theme: theme ?? mergeWith.theme,
onJoinTap: onJoinTap ?? mergeWith.onJoinTap,
passwordPlaceholderText:
passwordPlaceholderText ?? mergeWith.passwordPlaceholderText,
title: title ?? mergeWith.title,
description: description ?? mergeWith.description,
errorStateText: errorStateText ?? mergeWith.errorStateText,
onBack: onBack ?? mergeWith.onBack,
onError: onError ?? mergeWith.onError,
);
}