AdLayoutBuilder typedef Null safety

AdLayoutBuilder = AdLinearLayout Function(AdRatingBarView ratingBar, AdMediaView media, AdImageView icon, AdTextView headline, AdTextView advertiser, AdTextView body, AdTextView price, AdTextView store, AdTextView attribution, AdButtonView button)

The layout builder. It must return an AdLinearLayout and can't return null

Implementation

typedef AdLayoutBuilder = AdLinearLayout Function(
  AdRatingBarView ratingBar,
  AdMediaView media,
  AdImageView icon,
  AdTextView headline,
  AdTextView advertiser,
  AdTextView body,
  AdTextView price,
  AdTextView store,
  AdTextView attribution,
  AdButtonView button,
  // AdButtonView muteThisAd,
);