merge method

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

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

Implementation

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