PageStacksConfiguration class
Used to restore PageStacks state, can be serialized for browser history.
Constructors
-
PageStacksConfiguration({required Map<
String, PageStackConfiguration> pageStackConfigurations, required String? currentStackKey}) -
const
- PageStacksConfiguration.empty()
-
const
-
PageStacksConfiguration.singleStack({required String key, required List<
PagePath> paths})
Properties
- currentStackConfiguration → PageStackConfiguration?
-
no setter
- currentStackKey → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pageStackConfigurations
→ Map<
String, PageStackConfiguration> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restoreRouteInformation(
) → RouteInformation? -
toJson(
) → Map< String, dynamic> -
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) → PageStacksConfiguration?