merge method

SearchBarAttrs merge (SearchBarAttrs other)

Implementation

SearchBarAttrs merge(SearchBarAttrs other) {
  return SearchBarAttrs(
    primaryColor: other.primaryColor ?? this.primaryColor,
    secondaryColor: other.secondaryColor ?? this.secondaryColor,
    searchBarColor: other.searchBarColor ?? this.searchBarColor,
    textBoxBackgroundColor: other.textBoxBackgroundColor ?? this.textBoxBackgroundColor,
    textBoxOutlineColor: other.textBoxOutlineColor ?? this.textBoxOutlineColor,
    loaderBottomMargin: other.loaderBottomMargin ?? this.loaderBottomMargin,
    textBoxOutlineWidth: other.textBoxOutlineWidth ?? this.textBoxOutlineWidth,
    textBoxOutlineRadius: other.textBoxOutlineRadius ?? this.textBoxOutlineRadius,
  );
}