merge method

Merge text theme

Implementation

StreamTextTheme merge(StreamTextTheme? other) {
  if (other == null) return this;
  return copyWith(
    body: body.merge(other.body),
    title: title.merge(other.title),
    headlineBold: headlineBold.merge(other.headlineBold),
    headline: headline.merge(other.headline),
    bodyBold: bodyBold.merge(other.bodyBold),
    footnoteBold: footnoteBold.merge(other.footnoteBold),
    footnote: footnote.merge(other.footnote),
    captionBold: captionBold.merge(other.captionBold),
  );
}