HttpRoutePart class Null safety

Represents a HTTP route part.

A HTTP route part is a route fragment (i.e /foo or /bar) followed by 0 or more parameters (i.e a guild or message id) that can change across invocations of the route..

Constructors

HttpRoutePart(String path, [List<HttpRouteParam> params = const <HttpRouteParam>[]])

Properties

hashCode int
The hash code for this object.
read-only, inherited
params List<HttpRouteParam>
The parameters of this route. May change across invocations of this route.
final
path String
The unchanging part of this route part.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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