updateAdData method

void updateAdData(
  1. String? newTitle,
  2. String? newDescription,
  3. String? newBanner,
  4. String? newCTA,
)

Implementation

void updateAdData(String? newTitle, String? newDescription, String? newLogo,
    String? newBanner, String? newCTA) {
  _title = newTitle;
  _description = newDescription;
  _logo = newLogo;
  _bannerImageUrl = newBanner;
  _callToActionText = newCTA;
}