GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors.fromJson constructor

GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors.fromJson(
    core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        neighbors: json_.containsKey('neighbors')
            ? (json_['neighbors'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1FindNeighborsResponseNeighbor
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );