HttpRouteParam class HTTP

A parameter in a HttpRoutePart.

This is not a query parameter, it is a parameter encoded in the path of the request itself, such as the id of a guild in /guilds/0123456789.

Constructors

HttpRouteParam(String value, {bool isMajor = false})
Create a new HttpRouteParam.

Properties

hashCode → int
The hash code for this object.
no setterinherited
isMajor → bool
Whether this parameter is a major parameter.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The value of this parameter.
final

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