restoreSnapshot method

  1. @override
void restoreSnapshot(
  1. Object image
)
override

Replaces the state with an already validated image.

Implementation

@override
void restoreSnapshot(Object image) {
  validateSnapshot(image);
  _next.setAll(0, image as List<int>);
}