GoogleCloudAiplatformV1NearestNeighborsNeighbor.fromJson constructor

GoogleCloudAiplatformV1NearestNeighborsNeighbor.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1NearestNeighborsNeighbor.fromJson(core.Map json_)
    : this(
        distance: json_.containsKey('distance')
            ? (json_['distance'] as core.num).toDouble()
            : null,
        entityId: json_.containsKey('entityId')
            ? json_['entityId'] as core.String
            : null,
        entityKeyValues: json_.containsKey('entityKeyValues')
            ? GoogleCloudAiplatformV1FetchFeatureValuesResponse.fromJson(
                json_['entityKeyValues']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );