It seems that the navigator in Flutter 3.13.0 has changed a little bit how it works internally, those changes broke Mockinjay because how it "hooks" mocks in the navigation made that some internal fields were not populated, breaking the tests when the mocked navigator was disposed.
This PR adds an addition hack in order to trick those unpopulated internal fields so it can start working again.
Type of Change
[x] โจ New feature (non-breaking change which adds functionality)
[ ] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
[ ] โ Breaking change (fix or feature that would cause existing functionality to change)
Description
It seems that the navigator in Flutter 3.13.0 has changed a little bit how it works internally, those changes broke Mockinjay because how it "hooks" mocks in the navigation made that some internal fields were not populated, breaking the tests when the mocked navigator was disposed.
This PR adds an addition hack in order to trick those unpopulated internal fields so it can start working again.
Type of Change
Fixes #52