CustomErrorResponsePolicy.fromJson constructor

CustomErrorResponsePolicy.fromJson(
  1. Map json_
)

Implementation

CustomErrorResponsePolicy.fromJson(core.Map json_)
  : this(
      errorResponseRules:
          (json_['errorResponseRules'] as core.List?)
              ?.map(
                (value) =>
                    CustomErrorResponsePolicyCustomErrorResponseRule.fromJson(
                      value as core.Map<core.String, core.dynamic>,
                    ),
              )
              .toList(),
      errorService: json_['errorService'] as core.String?,
    );