merge method

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

Implementation

@override
VisibilityModifierAttribute merge(VisibilityModifierAttribute? other) {
  return VisibilityModifierAttribute(other?.visible ?? visible);
}