GoogleCloudAiplatformV1FindNeighborsResponseNeighbor.fromJson constructor
GoogleCloudAiplatformV1FindNeighborsResponseNeighbor.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1FindNeighborsResponseNeighbor.fromJson(core.Map json_)
: this(
datapoint:
json_.containsKey('datapoint')
? GoogleCloudAiplatformV1IndexDatapoint.fromJson(
json_['datapoint'] as core.Map<core.String, core.dynamic>,
)
: null,
distance: (json_['distance'] as core.num?)?.toDouble(),
sparseDistance: (json_['sparseDistance'] as core.num?)?.toDouble(),
);