mergeWith method

Implementation

AssistMessageSettings mergeWith(AssistMessageSettings settings) {
  return copyWith(
    showAuthorName: settings.showAuthorName,
    showTimestamp: settings.showTimestamp,
    showAuthorAvatar: settings.showAuthorAvatar,
    timestampFormat: settings.timestampFormat,
    textStyle: settings.textStyle,
    headerTextStyle: settings.headerTextStyle,
    backgroundColor: settings.backgroundColor,
    shape: settings.shape,
    widthFactor: settings.widthFactor,
    avatarSize: settings.avatarSize,
    margin: settings.margin,
    padding: settings.padding,
    avatarPadding: settings.avatarPadding,
    headerPadding: settings.headerPadding,
    footerPadding: settings.footerPadding,
  );
}