unmount method
Removes this element and disposes of the state.
Implementation
@override
/// Removes this element and disposes of the state.
void unmount() {
childElement?.unmount();
state.dispose();
state.internalContext = null;
super.unmount();
}