VirtualGatewayConnectionPool.fromJson constructor
VirtualGatewayConnectionPool.fromJson(
- Map<String, dynamic> json
)
Implementation
factory VirtualGatewayConnectionPool.fromJson(Map<String, dynamic> json) {
return VirtualGatewayConnectionPool(
grpc: json['grpc'] != null
? VirtualGatewayGrpcConnectionPool.fromJson(
json['grpc'] as Map<String, dynamic>)
: null,
http: json['http'] != null
? VirtualGatewayHttpConnectionPool.fromJson(
json['http'] as Map<String, dynamic>)
: null,
http2: json['http2'] != null
? VirtualGatewayHttp2ConnectionPool.fromJson(
json['http2'] as Map<String, dynamic>)
: null,
);
}