TcpRoute.fromJson constructor
Implementation
factory TcpRoute.fromJson(Map<String, dynamic> json) {
return TcpRoute(
action: TcpRouteAction.fromJson(json['action'] as Map<String, dynamic>),
timeout: json['timeout'] != null
? TcpTimeout.fromJson(json['timeout'] as Map<String, dynamic>)
: null,
);
}