MigratableResource_DataLabelingDataset.fromJson constructor

MigratableResource_DataLabelingDataset.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MigratableResource_DataLabelingDataset.fromJson(
  Map<String, dynamic> json,
) {
  return MigratableResource_DataLabelingDataset(
    dataset: json['dataset'] ?? '',
    datasetDisplayName: json['datasetDisplayName'] ?? '',
    dataLabelingAnnotatedDatasets:
        decodeListMessage(
          json['dataLabelingAnnotatedDatasets'],
          MigratableResource_DataLabelingDataset_DataLabelingAnnotatedDataset
              .fromJson,
        ) ??
        [],
  );
}