events property Null safety

Stream<AdEvent> events
inherited

Stream of AdEvents that are related only to the placement described by the instance of this class.

Implementation

Stream<AdEvent> get events {
  if (_eventsStream == null) {
    _eventsStream = _sdk.events.where(_filterEvents).asBroadcastStream();
  }
  return _eventsStream!;
}