BaseAdSlot constructor
BaseAdSlot({
- required String slotId,
- required int totalDuration,
- required VastRequestOptions requestOptions,
- int? width,
- int? height,
- Orientation orientation = Orientation.PORTRAIT,
- int? maxAdPods,
- CreativeMatchStrategy? creativeMatchStrategy,
- 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,
});