dispose method

  1. @override
void dispose()
override

Implementation

@override
void dispose() {
  super.dispose();
  searchController.dispose();
  items.clear();
  tempItems.clear();
  paymentIds.clear();
  mainItemList.clear();
  exportData.clear();
}