HttpRouteFaultInjectionPolicy.fromJson constructor
HttpRouteFaultInjectionPolicy.fromJson(
- Map json_
Implementation
HttpRouteFaultInjectionPolicy.fromJson(core.Map json_)
: this(
abort: json_.containsKey('abort')
? HttpRouteFaultInjectionPolicyAbort.fromJson(
json_['abort'] as core.Map<core.String, core.dynamic>)
: null,
delay: json_.containsKey('delay')
? HttpRouteFaultInjectionPolicyDelay.fromJson(
json_['delay'] as core.Map<core.String, core.dynamic>)
: null,
);