PathSegment class abstract
Each path partition (between "/") is PathSegment.
PathSegment only use for building call tree.
There is two kind of PathSegment.
host/{user}/info
-
NamedSegment is not handle any parameters. "info" is named segment.
-
ArgumentSegment is handle this segment value and next route if possible. "{user}" is argument segment
Look CallingPathSegment for happening values during the call.
- Implementers
- Annotations
-
- @immutable
Constructors
- PathSegment(String name)
-
Automatically create ArgumentSegment or NamedSegment.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isArgument → bool
-
no setter
- isRoot → bool
-
Is root of parent segment
no setter
- isUnknown → bool
-
Path Segment is unknown.
if isUnknown is true, calling
unknown route of binding
no setter
- name → String
-
Path Segment Name
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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override