BigoSplashAd constructor

BigoSplashAd({
  1. required BigoAdMessageReader reader,
  2. required StandardMessageCodec codec,
})

Implementation

BigoSplashAd(
    {required BigoAdMessageReader reader,
    required StandardMessageCodec codec})
    : super(reader: reader, codec: codec) {
  _isSkippable = reader.readMessage() ?? false;
  _style = BigoSplashAdStyle.adStyle(style: reader.readMessage());
}