BigoNativeAd constructor

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

Implementation

BigoNativeAd(
    {required BigoAdMessageReader reader,
    required StandardMessageCodec codec})
    : super(reader: reader, codec: codec) {
  _title = reader.readMessage();
  _description = reader.readMessage();
  _callToAction = reader.readMessage();
  _warning = reader.readMessage();
  _advertiser = reader.readMessage();
  _hasIcon = reader.readMessage() ?? false;
  _creativeType = reader.readMessage();
}