HttpRoute class

An object that represents an HTTP or HTTP/2 route type.

Constructors

HttpRoute({required HttpRouteAction action, required HttpRouteMatch match, HttpRetryPolicy? retryPolicy, HttpTimeout? timeout})
HttpRoute.fromJson(Map<String, dynamic> json)
factory

Properties

action HttpRouteAction
An object that represents the action to take if a match is determined.
final
hashCode int
The hash code for this object.
no setterinherited
match HttpRouteMatch
An object that represents the criteria for determining a request match.
final
retryPolicy HttpRetryPolicy?
An object that represents a retry policy.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout HttpTimeout?
An object that represents types of timeouts.
final

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