restore method
void
restore()
Implementation
void restore() async {
if (Z.inInterrupt) {
return;
}
Z.inInterrupt = true;
final result = await Z.sendIO({"command": ioCommands.restore});
Z.inInterrupt = false;
if (result == null) {
branch(false);
} else {
final restoreResult = Quetzal.restore(result);
if (!restoreResult) {
branch(false);
}
}
//PC should be set by restore here
Z.callAsync(Z.runIt);
}