merge method

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

Implementation

@override
MdBlockQuoteDto merge(MdBlockQuoteDto? other) {
  return MdBlockQuoteDto(
    textStyle: textStyle?.merge(other?.textStyle) ?? other?.textStyle,
    decoration: (decoration?.merge(other?.decoration) ?? other?.decoration)
        as BoxDecorationDto?,
    padding: padding?.merge(other?.padding) ?? other?.padding,
    contentPadding:
        contentPadding?.merge(other?.contentPadding) ?? other?.contentPadding,
  );
}