PersistenceServiceExt extension

Extension methods for persisting and restoring routes

on

Methods

persist() Future<void>

Available on PageService, provided by the PersistenceServiceExt extension

Persists the current navigation history using the configured persistence handler
persistBase() List<Map<String, dynamic>>

Available on PageService, provided by the PersistenceServiceExt extension

Persists the current navigation history to a serializable format Returns a list of maps containing path and extra data for each route
restore() Future<void>

Available on PageService, provided by the PersistenceServiceExt extension

Restores navigation history using the configured persistence handler
restoreBase(dynamic data) → void

Available on PageService, provided by the PersistenceServiceExt extension

Restores navigation history from persisted data data should be a List<Map<String, dynamic>> containing route information