Mutation class

Describes a single transition of the navigation tree.

A Mutation captures both the originalState (before the change) and the targetState (after the change). It is emitted to observers for logging and debugging, and does not itself perform the transition.

Annotations

Constructors

Mutation({required RouteNode originalState, required RouteNode targetState})
Describes a single transition of the navigation tree.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
originalState RouteNode
The state before the mutation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetState RouteNode
The state after the mutation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override