build method

TBLClassicUnit build(
  1. String placement,
  2. String mode,
  3. bool isFeed,
  4. TBLClassicListener tblClassicListener, {
  5. int? viewId,
  6. ScrollController? scrollController,
  7. bool? keepAlive,
})

Builder

Implementation

TBLClassicUnit build(String placement, String mode, bool isFeed,
    TBLClassicListener tblClassicListener,
    {int? viewId, ScrollController? scrollController, bool? keepAlive}) {
  return TBLClassicUnit(
    _tblPublisherInfo.publisherId,
    mode,
    placement,
    _pageUrl,
    _pageType,
    _pageId,
    _targetType,
    isFeed,
    tblClassicListener,
    _unrecognizedPageExtraPropertiesManager,
    _tblTrackingManager,
    _tblEventsManager,
    viewId: viewId,
    scrollController: scrollController,
    keepAlive: keepAlive,
  );
}