merge method

ReactionsStyle merge(
  1. ReactionsStyle? style
)

Implementation

ReactionsStyle merge(ReactionsStyle? style) {
  if (style == null) return this;
  return copyWith(
      reactionTextStyle: style.reactionTextStyle,
      reactionCountTextStyle: style.reactionCountTextStyle,
      width: style.width,
      height: style.height,
      background: style.background,
      gradient: style.gradient,
      border: style.border,
      borderRadius: style.borderRadius,
      primaryBorder: style.primaryBorder,
      primaryBackgroundColor: style.primaryBackgroundColor,
      margin: style.margin,
      padding: style.padding);
}