NorsePath<T extends Object?, A extends Object?> class
A class representing a node in the navigation tree.
- Implementers
Constructors
Properties
-
children
→ List<
NorsePath< Object?, Object?> > -
An optional list of path.
If this object's name field is 'home' and one of the child's name is 'profile'.
Accessing the child will be achieved using the following url '/home/profile'.
Or if the user is already on the home page, '/profile' using the relative-rooting
based navigation.
final
-
childrenDict
→ Map<
String, NorsePath< Object?, Object?> > -
A Map field populated in this object's constructor to allow faster
relative-rooting based navigation by creating a more efficient way
to retrieve a child based on his name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name that will be used to access this path using the NorseRouter.routeBuilder
method.
final
-
parent
↔ NorsePath<
Object?, Object?> ? -
A link to the parent NorsePath path. A parent-child link is when
a path (the child) is contained inside the children field of another path (the parent).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildPath(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited