removeState method
- @Deprecated("Too unpredictable! Can disrupt the 'state' of things.")
- StateMVC<
StatefulWidget> ? state
inherited
Remove the specified StateMVC object to a Set of such objects Internal use only: This disconnects the Controller to this View!
Implementation
@Deprecated("Too unpredictable! Can disrupt the 'state' of things.")
bool removeState(StateMVC? state) {
if (state == null) {
return false;
}
final remove = _stateMVCSet.remove(state);
_popState();
return remove;
}