PageStackConfiguration class
Used to recover PagePath objects, can be serialized for browser history.
Constructors
-
PageStackConfiguration({required List<
PagePath?> paths}) -
const
Properties
Methods
-
getTopPagePath(
) → PagePath? - The first non-null page path from top.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restoreRouteInformation(
) → RouteInformation? - Returns RouteInformation that has the top PagePath's location and all pages' states.
-
toJson(
) → Map< String, dynamic> - Returns a map describing this state to be stored in the browser history.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMapOrNull(
Map< String, dynamic> ? map) → PageStackConfiguration? -
fromMaps(
Map< String, dynamic> maps) → Map<String, PageStackConfiguration> - Recovers normalized states from a map.