NavigationEvent class
One immutable event. History is ordered oldest to newest by sequence.
The source/destination are the active managed pages before/after the event. route identifies its subject, including a removed page below the top. History and event streams contain unredacted application data. Logging has separate opt-in controls. Opaque payload/error objects remain references.
Constructors
Properties
- action → NavigationAction
-
final
- destination → RouteSnapshot?
-
final
- failure → RouteFailure?
-
final
- guardIndex → int?
-
Zero-based position in the definition's guards, when applicable.
final
- guardOutcome → NavigationGuardOutcome?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- redirectLocation → String?
-
final
- route → RouteSnapshot?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence → int
-
final
- source → RouteSnapshot?
-
final
-
stack
→ List<
RouteSnapshot> -
Resulting managed stack, bottom to top.
final
- timestamp → DateTime
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Safe summary without URI values, arguments, data or exception messages.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited