Call this in the State object's initState() function.
void initState(StateMVC? state) => pushState(state);