Remove decommission from RestorationBuckets (#63687)
This commit is contained in:
committed by
GitHub
parent
06c3de3285
commit
39a46bedad
@@ -55,6 +55,14 @@ class TestRestorationManager extends RestorationManager {
|
||||
handleRestorationUpdateFromEngine(enabled: true, data: data.binary);
|
||||
}
|
||||
|
||||
/// Disabled state restoration.
|
||||
///
|
||||
/// To turn restoration back on call [restoreFrom].
|
||||
void disableRestoration() {
|
||||
_restorationData = null;
|
||||
handleRestorationUpdateFromEngine(enabled: false);
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> sendToEngine(Uint8List encodedData) async {
|
||||
_restorationData = TestRestorationData._(encodedData);
|
||||
|
||||
Reference in New Issue
Block a user