RouteInfo class

Represents a single API route entry parsed from the OpenAPI paths map.

Each RouteInfo binds a concrete fullRoute (e.g. /api/Mobile/Event/GetEventById) with the detected HTTP method and its associated metadata in HttpMethodInfo.

Constructors

RouteInfo({required String fullRoute, required HttpMethodType httpMethod, required HttpMethodInfo httpMethodInfo})
Creates a RouteInfo for a specific path + method combination.
RouteInfo.fromJson(Map<String, dynamic> json, String fullRoute)
Builds a RouteInfo from a JSON node representing a single path item.
factory

Properties

fullRoute String
The full endpoint path as declared in the OpenAPI document.
final
hashCode int
The hash code for this object.
no setterinherited
httpMethod HttpMethodType
The HTTP method associated with fullRoute (e.g., GET, POST, DELETE).
final
httpMethodInfo HttpMethodInfo
Detailed method information (summary, parameters, requestBody, responses, etc.).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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