DatasetVersion.fromJson constructor
DatasetVersion.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DatasetVersion.fromJson(Map<String, dynamic> json) {
return DatasetVersion(
name: json['name'] ?? '',
createTime: decodeCustom(json['createTime'], protobuf.Timestamp.fromJson),
updateTime: decodeCustom(json['updateTime'], protobuf.Timestamp.fromJson),
etag: json['etag'] ?? '',
bigQueryDatasetName: json['bigQueryDatasetName'] ?? '',
displayName: json['displayName'] ?? '',
metadata: decodeCustom(json['metadata'], protobuf.Value.fromJson),
modelReference: json['modelReference'] ?? '',
satisfiesPzs: json['satisfiesPzs'] ?? false,
satisfiesPzi: json['satisfiesPzi'] ?? false,
);
}