mergeWith method
Merge with another MessageListStyle
Implementation
MessageListStyle mergeWith(MessageListStyle? other) {
if (other == null) return this;
return MessageListStyle(
loadingIconTint: other.loadingIconTint ?? loadingIconTint,
emptyTextStyle: other.emptyTextStyle ?? emptyTextStyle,
errorTextStyle: other.errorTextStyle ?? errorTextStyle,
contentPadding: other.contentPadding ?? contentPadding,
width: other.width ?? width,
height: other.height ?? height,
background: other.background ?? background,
border: other.border ?? border,
borderRadius: other.borderRadius ?? borderRadius,
gradient: other.gradient ?? gradient,
);
}