merge method
Creates a copy of this WxTileStyle but with the given fields replaced with the new values.
Implementation
WxTileStyle merge(WxTileStyle? other) {
// if null return current object
if (other == null) return this;
return copyWith(
direction: other.direction,
margin: other.margin,
spacing: other.spacing,
adaptiveSpacing: other.adaptiveSpacing,
align: other.align,
justify: other.justify,
inline: other.inline,
childWrap: other.childWrap,
);
}