idle method

  1. @protected
void idle()

Change the state to idle.

This will be called by clearPage.

DO NOT call this method directly, trigger it by performing a search action.

Implementation

@protected
void idle() {
  if (_state is! SearchStatusIdle) {
    _state = const SearchStatusIdle();
    notifyListeners();
  }
}