HttpRouteParam constructor

HttpRouteParam(
  1. String value, {
  2. bool isMajor = false,
})

Create a new HttpRouteParam.

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.

Implementation

HttpRouteParam(this.value, {this.isMajor = false});