Route state for a single component.

Instances of ComponentInstruction are passed to route lifecycle hooks, like CanActivate.

ComponentInstruction is a public API.

ComponentInstruction`s are hash consed. You should never construct one yourself with "new." Instead, rely on router's internal recognizer to construct.

You should not modify this object. It should be treated as immutable.

Constructors

ComponentInstruction(String urlPath, List<String> urlParams, RouteData data, componentType, bool terminal, String specificity, [ Map<String, String> params, String routeName ])

Properties

componentType → dynamic

read / write
hashCode → int

Get a hash code for this object.

read-only, inherited
params → Map<String, String>

read / write
reuse → bool

read / write
routeData RouteData

read / write
routeName → String

read / write
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
specificity → String

read / write
terminal → bool

read / write
urlParams → List<String>

read / write
urlPath → String

read / write

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited