deserialize method
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;