merge method
Merges this object with other, returning a new object of type T.
Implementation
@override
VariantAttribute<V> merge(covariant VariantAttribute<V>? other) {
if (other?.variant != variant) throw throwArgumentError(other);
return VariantAttribute(variant, _style.merge(other?._style));
}