GoogleCloudAiplatformV1Attribution.fromJson constructor

GoogleCloudAiplatformV1Attribution.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1Attribution.fromJson(core.Map json_)
    : this(
        approximationError: json_.containsKey('approximationError')
            ? (json_['approximationError'] as core.num).toDouble()
            : null,
        baselineOutputValue: json_.containsKey('baselineOutputValue')
            ? (json_['baselineOutputValue'] as core.num).toDouble()
            : null,
        featureAttributions: json_.containsKey('featureAttributions')
            ? json_['featureAttributions']
            : null,
        instanceOutputValue: json_.containsKey('instanceOutputValue')
            ? (json_['instanceOutputValue'] as core.num).toDouble()
            : null,
        outputDisplayName: json_.containsKey('outputDisplayName')
            ? json_['outputDisplayName'] as core.String
            : null,
        outputIndex: json_.containsKey('outputIndex')
            ? (json_['outputIndex'] as core.List)
                .map((value) => value as core.int)
                .toList()
            : null,
        outputName: json_.containsKey('outputName')
            ? json_['outputName'] as core.String
            : null,
      );