GoogleCloudAiplatformV1ExplanationMetadata.fromJson constructor

GoogleCloudAiplatformV1ExplanationMetadata.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ExplanationMetadata.fromJson(core.Map json_)
    : this(
        featureAttributionsSchemaUri:
            json_.containsKey('featureAttributionsSchemaUri')
                ? json_['featureAttributionsSchemaUri'] as core.String
                : null,
        inputs: json_.containsKey('inputs')
            ? (json_['inputs'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudAiplatformV1ExplanationMetadataInputMetadata
                      .fromJson(value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        latentSpaceSource: json_.containsKey('latentSpaceSource')
            ? json_['latentSpaceSource'] as core.String
            : null,
        outputs: json_.containsKey('outputs')
            ? (json_['outputs'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
                      .fromJson(value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );