GoogleCloudAiplatformV1NearestNeighborQueryParameters.fromJson constructor

GoogleCloudAiplatformV1NearestNeighborQueryParameters.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1NearestNeighborQueryParameters.fromJson(core.Map json_)
    : this(
        approximateNeighborCandidates:
            json_.containsKey('approximateNeighborCandidates')
                ? json_['approximateNeighborCandidates'] as core.int
                : null,
        leafNodesSearchFraction: json_.containsKey('leafNodesSearchFraction')
            ? (json_['leafNodesSearchFraction'] as core.num).toDouble()
            : null,
      );