GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse.fromJson constructor

GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse.fromJson(
    core.Map _json)
    : this(
        annotatedDataset: _json.containsKey('annotatedDataset')
            ? _json['annotatedDataset'] as core.String
            : null,
        dataset: _json.containsKey('dataset')
            ? _json['dataset'] as core.String
            : null,
        exportCount: _json.containsKey('exportCount')
            ? _json['exportCount'] as core.int
            : null,
        labelStats: _json.containsKey('labelStats')
            ? GoogleCloudDatalabelingV1alpha1LabelStats.fromJson(
                _json['labelStats'] as core.Map<core.String, core.dynamic>)
            : null,
        outputConfig: _json.containsKey('outputConfig')
            ? GoogleCloudDatalabelingV1alpha1OutputConfig.fromJson(
                _json['outputConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        totalCount: _json.containsKey('totalCount')
            ? _json['totalCount'] as core.int
            : null,
      );