HttpRouteParam class Null safety

Represents a HTTP route parameter.

A HTTP route parameter is a URL fragment that contains data specific to an invocation of a route (i.e a guild or message id).

In the Discord documentation, these are the parts of URLs {enclosed in curly braces}.

Constructors

HttpRouteParam(String param, {bool isMajor = false})

Properties

hashCode int
The hash code for this object.
read-only, inherited
isMajor bool
Whether this parameter is a major parameter.
final
param String
The value of this parameter.
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