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) as BoxDecorationDto? ??
        other?.decoration,
    copyIconColor:
        copyIconColor?.merge(other?.copyIconColor) ?? other?.copyIconColor,
    textStyle: textStyle?.merge(other?.textStyle) ?? other?.textStyle,
  );
}