HttpRoutePart class

A part of a HttpRoute.

HTTP route parts are made up of an identifier (such as /users) and, optionally, one or more parameters (such as the id of a user).

Constructors

HttpRoutePart(String name, [List<HttpRouteParam> params = const []])
Create a new HttpRoutePart.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of this part.
final
params List<HttpRouteParam>
The parameters of this part.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segments List<String>
The segments of this part.
no setter

Methods

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