resetDefaultState method

  1. @override
void resetDefaultState([
  1. VoidCallback? fn
])
override

Implementation

@override
void resetDefaultState([VoidCallback? fn]) {
  super.resetDefaultState(fn);
  _isInitialized = false;
  _onCrudRM?.dispose();
  _onCrudRM = null;
  item._dispose();
  _repo = null;
  _crud = null;
  _isOnCRUD = false;
}