Replaces the state with an already validated image.
@override void restoreSnapshot(Object image) { validateSnapshot(image); _next.setAll(0, image as List<int>); }