merge method

  1. @override
OpacityModifierAttribute merge(
  1. covariant OpacityModifierAttribute? other
)
override

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

Implementation

@override
OpacityModifierAttribute merge(OpacityModifierAttribute? other) {
  return OpacityModifierAttribute(other?.opacity ?? opacity);
}