$RouteFaultInjectionPolicyAbort.fromJson constructor

$RouteFaultInjectionPolicyAbort.fromJson(
  1. Map json_
)

Implementation

$RouteFaultInjectionPolicyAbort.fromJson(core.Map json_)
    : this(
        httpStatus: json_.containsKey('httpStatus')
            ? json_['httpStatus'] as core.int
            : null,
        percentage: json_.containsKey('percentage')
            ? json_['percentage'] as core.int
            : null,
      );