merge method

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

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

Implementation

@override
AlignModifierAttribute merge(AlignModifierAttribute? other) {
  return AlignModifierAttribute(
    alignment: other?.alignment ?? alignment,
    widthFactor: other?.widthFactor ?? widthFactor,
    heightFactor: other?.heightFactor ?? heightFactor,
  );
}