GoogleCloudMlV1ExplanationConfig.fromJson constructor

GoogleCloudMlV1ExplanationConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudMlV1ExplanationConfig.fromJson(core.Map json_)
    : this(
        integratedGradientsAttribution:
            json_.containsKey('integratedGradientsAttribution')
                ? GoogleCloudMlV1IntegratedGradientsAttribution.fromJson(
                    json_['integratedGradientsAttribution']
                        as core.Map<core.String, core.dynamic>)
                : null,
        sampledShapleyAttribution:
            json_.containsKey('sampledShapleyAttribution')
                ? GoogleCloudMlV1SampledShapleyAttribution.fromJson(
                    json_['sampledShapleyAttribution']
                        as core.Map<core.String, core.dynamic>)
                : null,
        xraiAttribution: json_.containsKey('xraiAttribution')
            ? GoogleCloudMlV1XraiAttribution.fromJson(json_['xraiAttribution']
                as core.Map<core.String, core.dynamic>)
            : null,
      );