GatewayRouteSpec class

An object that represents a gateway route specification. Specify one gateway route type.

Constructors

GatewayRouteSpec({GrpcGatewayRoute? grpcRoute, HttpGatewayRoute? http2Route, HttpGatewayRoute? httpRoute})
GatewayRouteSpec.fromJson(Map<String, dynamic> json)
factory

Properties

grpcRoute GrpcGatewayRoute?
An object that represents the specification of a gRPC gateway route.
final
hashCode int
The hash code for this object.
no setterinherited
http2Route HttpGatewayRoute?
An object that represents the specification of an HTTP/2 gateway route.
final
httpRoute HttpGatewayRoute?
An object that represents the specification of an HTTP gateway route.
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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