merge method

  1. @override
SpecUtility<T, DropdownMenuItemSpecAttribute> merge(
  1. covariant SpecUtility<T, DropdownMenuItemSpecAttribute> other
)
inherited

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

Implementation

@override
SpecUtility<T, V> merge(covariant SpecUtility<T, V> other) {
  attributeValue = (attributeValue?.merge(other.attributeValue) ??
      other.attributeValue) as T;

  return this;
}