deserialize method

  1. @override
int deserialize(
  1. int data
)
override

Deserializes previously saved navigation state back into route objects.

This method converts the persisted data (type S) back into the format needed to restore the navigation stack (type D). It's called during app launch when restoration data exists.

The data parameter contains the value previously returned by serialize.

Implementation

@override
int deserialize(int data) => data;