dispose method

  1. @mustCallSuper
void dispose()

Releases everything this controller owns. The page that created the controller calls this from its own State.dispose(); a subclass that adds its own notifiers overrides this and ends with super.dispose().

Implementation

@mustCallSuper
void dispose() {
  state.dispose();
  pageNumber.dispose();
  totalPages.dispose();
  tagOrderBy.dispose();
  startDateController.dispose();
  endDateController.dispose();
}