disableRestoration method
Disabled state restoration.
To turn restoration back on call restoreFrom.
Implementation
void disableRestoration() {
_restorationData = TestRestorationData.empty;
handleRestorationUpdateFromEngine(enabled: false, data: null);
}