subscribeToDebouncerEvents method

  1. @protected
void subscribeToDebouncerEvents()

Implementation

@protected
void subscribeToDebouncerEvents() {
  unsubscribeToDebouncerEventsIfNeeded();

  if (widget.isEnabled && widget.shouldDebounceTime) {
    subscriptionStream = debouncer
        .debounceTime(widget.debounceTimeDuration)
        .listen((Function dispatchValueChanged) => dispatchValueChanged());
  }
}