merge method

Merges this object with other, returning a new object of type T.

Implementation

@override
RotatedBoxModifierAttribute merge(RotatedBoxModifierAttribute? other) {
  // Merge by prioritizing the properties of the other instance if available
  return RotatedBoxModifierAttribute(other?.quarterTurns ?? quarterTurns);
}