merge method

  1. @override
AgentMessageStyler merge(
  1. covariant AgentMessageStyler? other
)
override

Merges with another AgentMessageStyler.

Implementation

@override
AgentMessageStyler merge(AgentMessageStyler? other) {
  return AgentMessageStyler.create(
    container: MixOps.merge($container, other?.$container),
    surface: MixOps.merge($surface, other?.$surface),
    text: MixOps.merge($text, other?.$text),
    header: MixOps.merge($header, other?.$header),
    footer: MixOps.merge($footer, other?.$footer),
    maxWidthFactor: MixOps.merge($maxWidthFactor, other?.$maxWidthFactor),
    collapsedHeight: MixOps.merge($collapsedHeight, other?.$collapsedHeight),
    variants: MixOps.mergeVariants($variants, other?.$variants),
    modifier: MixOps.mergeModifier($modifier, other?.$modifier),
    animation: MixOps.mergeAnimation($animation, other?.$animation),
  );
}