GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse.fromJson constructor

GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse.fromJson(
    core.Map _json)
    : this(
        exampleComparisons: _json.containsKey('exampleComparisons')
            ? (_json['exampleComparisons'] as core.List)
                .map<GoogleCloudDatalabelingV1beta1ExampleComparison>(
                    (value) => GoogleCloudDatalabelingV1beta1ExampleComparison
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );