GoogleCloudAiplatformV1WriteFeatureValuesPayload.fromJson constructor

GoogleCloudAiplatformV1WriteFeatureValuesPayload.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1WriteFeatureValuesPayload.fromJson(core.Map json_)
    : this(
        entityId: json_.containsKey('entityId')
            ? json_['entityId'] as core.String
            : null,
        featureValues: json_.containsKey('featureValues')
            ? (json_['featureValues'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudAiplatformV1FeatureValue.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );