HttpFaultDelay.fromJson constructor

HttpFaultDelay.fromJson(
  1. 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_['percentage'] as core.num?)?.toDouble(),
    );