APIRouteInfo class

A route information.

Returned by API-INFO.

Constructors

APIRouteInfo(APIRouteHandler routeHandler, [APIRequest? apiRequest])

Properties

apiRequest APIRequest?
final
hashCode int
The hash code for this object.
no setterinherited
hasParameters bool
Returns true if this route has parameters.
no setter
method APIRequestMethod?
Returns the method of the route.
no setter
module APIModule
Returns the module of the route.
no setter
name String
Returns the name of the route.
no setter
parameters Map<String, TypeInfo>?
Returns the parameters of the route.
no setter
parametersAsJson Map<String, String>
no setter
routeHandler APIRouteHandler
final
rules List<APIRouteRule>
Returns the rules of the route.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
Returns the Uri of the route.
no setter
uriAsJson String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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