merge method
Values set on other win, like TextStyle.merge.
Implementation
TextStyleSpec merge(TextStyleSpec? other) {
if (other == null) return this;
return TextStyleSpec(
fontFamily: other.fontFamily ?? fontFamily,
fontSize: other.fontSize ?? fontSize,
fontWeight: other.fontWeight ?? fontWeight,
italic: other.italic ?? italic,
color: other.color ?? color,
height: other.height ?? height,
letterSpacing: other.letterSpacing ?? letterSpacing,
token: other.token ?? token,
);
}