CustomErrorResponsePolicyCustomErrorResponseRule.fromJson constructor

CustomErrorResponsePolicyCustomErrorResponseRule.fromJson(
  1. Map json_
)

Implementation

CustomErrorResponsePolicyCustomErrorResponseRule.fromJson(core.Map json_)
  : this(
      matchResponseCodes:
          (json_['matchResponseCodes'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      overrideResponseCode: json_['overrideResponseCode'] as core.int?,
      path: json_['path'] as core.String?,
    );