copyWith method
Implementation
AdImageView copyWith(AdView? view) {
if (view == null) return this;
assert(view is AdImageView);
return AdImageView(
decoration: view.decoration ?? decoration,
size: view.height ?? view.width ?? height ?? width,
margin: view.margin ?? margin,
padding: view.padding ?? padding,
elevation: view.elevation ?? elevation,
elevationColor: view.elevationColor ?? elevation as Color?,
);
}