dispose method

  1. @override
void dispose()

Function used in disposing current component state, and disposing of any broadcast streams used in the process.

Implementation

@override
void dispose() {
  if (disposeState != null) component = disposeState!;
  super.dispose();
}