PathController class

PathController is controller for during the call and visiting call tree callings.

Constructors

PathController(String calledPath, Map<String, String> queryParameters)
PathController.fromFullPath(String calledPath)
PathController.fromHttpRequest(HttpRequest request)

Properties

arguments → Map<String, String>
Store path arguments like:

path : "user/{user_id}/path"
call : "user/user1/path"

arguments stored key value pair:
final
calledPath → String
Called full path
final
hashCode → int
The hash code for this object.
no setterinherited
next ↔ String
First segment to be processed
getter/setter pair
notProcessedValues → List<String>
Next segments to be processed, include current
final
processed → List<CallingPathSegment>
The processed paths are kept here as the call progresses through the tree.
final
queryParameters ↔ Map<String, String>
latefinal
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
resolveFor(Iterable<PathSegment> segments) → CallingPathSegment
Each PathSegmentCalling calls resolveFor for its children. resolveFor return subsegments that need to be called.
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited