TensorboardExperiment.fromJson constructor
TensorboardExperiment.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TensorboardExperiment.fromJson(Map<String, dynamic> json) {
return TensorboardExperiment(
name: json['name'] ?? '',
displayName: json['displayName'] ?? '',
description: json['description'] ?? '',
createTime: decodeCustom(json['createTime'], protobuf.Timestamp.fromJson),
updateTime: decodeCustom(json['updateTime'], protobuf.Timestamp.fromJson),
labels: decodeMap(json['labels']) ?? {},
etag: json['etag'] ?? '',
source: json['source'] ?? '',
);
}