merge method

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

Implementation

@override
MdCodeDto merge(MdCodeDto? other) {
  return MdCodeDto(
    span: span?.merge(other?.span) ?? other?.span,
    padding: padding?.merge(other?.padding) ?? other?.padding,
    decoration: (decoration?.merge(other?.decoration) ?? other?.decoration)
        as BoxDecorationDto?,
    copyIconColor:
        copyIconColor?.merge(other?.copyIconColor) ?? other?.copyIconColor,
    textStyle: textStyle?.merge(other?.textStyle) ?? other?.textStyle,
  );
}