BaseAdSlot constructor

BaseAdSlot({
  1. required String slotId,
  2. required int totalDuration,
  3. required VastRequestOptions requestOptions,
  4. int? width,
  5. int? height,
  6. Orientation orientation = Orientation.PORTRAIT,
  7. int? maxAdPods,
  8. CreativeMatchStrategy? creativeMatchStrategy,
  9. bool allowMobileTraffic = false,
})

Implementation

BaseAdSlot({
  required this.slotId,
  required this.totalDuration,
  required this.requestOptions,
  this.width,
  this.height,
  this.orientation = Orientation.PORTRAIT,
  this.maxAdPods,
  this.creativeMatchStrategy,
  this.allowMobileTraffic = false,
});