copyWith method

AdView copyWith(
  1. AdView view
)

Copy this with a new AdView

Implementation

AdView copyWith(AdView view) {
  return AdView(
    viewType: view.viewType,
    decoration: view.decoration ?? decoration,
    height: view.height ?? height,
    width: view.width ?? width,
    id: view.id ?? id,
    margin: view.margin ?? margin,
    padding: view.padding ?? padding,
    elevation: view.elevation ?? elevation,
    elevationColor: view.elevationColor ?? elevationColor,
  );
}