dispose method

  1. @override
void dispose()
override

Called after this Node is completely removed from the Node tree.

Flowing upwards

Implementation

@override
void dispose() {
  state.willUnmount();
  _updateStreamSubscription.cancel();
  super.dispose();
  state.dispose();
}