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