merge method
This style, with any unset field taken from other, field by field.
Implementation
ScriptStyle merge(ScriptStyle? other) {
if (other == null) {
return this;
}
return ScriptStyle(
scale: scale ?? other.scale,
color: color ?? other.color,
);
}