willUnmount method
void
willUnmount()
Called before the removal of this State from the tree.
Flowing downwards
Implementation
void willUnmount() => _isMounted = false;
Called before the removal of this State from the tree.
Flowing downwards
void willUnmount() => _isMounted = false;