HttpRouteDestination.fromJson constructor
HttpRouteDestination.fromJson(
- Map json_
Implementation
HttpRouteDestination.fromJson(core.Map json_)
: this(
requestHeaderModifier: json_.containsKey('requestHeaderModifier')
? HttpRouteHeaderModifier.fromJson(json_['requestHeaderModifier']
as core.Map<core.String, core.dynamic>)
: null,
responseHeaderModifier: json_.containsKey('responseHeaderModifier')
? HttpRouteHeaderModifier.fromJson(json_['responseHeaderModifier']
as core.Map<core.String, core.dynamic>)
: null,
serviceName: json_.containsKey('serviceName')
? json_['serviceName'] as core.String
: null,
weight:
json_.containsKey('weight') ? json_['weight'] as core.int : null,
);