HttpFaultDelay.fromJson constructor
HttpFaultDelay.fromJson(
- Map json_
Implementation
HttpFaultDelay.fromJson(core.Map json_)
: this(
fixedDelay: json_.containsKey('fixedDelay')
? Duration.fromJson(
json_['fixedDelay'] as core.Map<core.String, core.dynamic>)
: null,
percentage: json_.containsKey('percentage')
? (json_['percentage'] as core.num).toDouble()
: null,
);