RouteResponse class
Represents a route response.
Constructors
-
RouteResponse({required String routeResponseKey, String? modelSelectionExpression, Map<
String, String> ? responseModels, Map<String, ParameterConstraints> ? responseParameters, String? routeResponseId}) -
RouteResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- modelSelectionExpression → String?
-
Represents the model selection expression of a route response. Supported
only for WebSocket APIs.
final
-
responseModels
→ Map<
String, String> ? -
Represents the response models of a route response.
final
-
responseParameters
→ Map<
String, ParameterConstraints> ? -
Represents the response parameters of a route response.
final
- routeResponseId → String?
-
Represents the identifier of a route response.
final
- routeResponseKey → String
-
Represents the route response key of a route response.
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