subscribeToTrottlerEvents method

  1. @protected
void subscribeToTrottlerEvents()

Implementation

@protected
void subscribeToTrottlerEvents() {
  unsubscribeToTrottlerEventsIfNeeded();

  subscriptionStream = trottler
      .throttleTime(widget.trottleTimeDuration)
      .listen((Function onTap) => onTap());
}