TimeSeriesDataPoint.fromJson constructor
Implementation
factory TimeSeriesDataPoint.fromJson(Map<String, dynamic> json) {
return TimeSeriesDataPoint(
scalar: decode(json['scalar'], Scalar.fromJson),
tensor: decode(json['tensor'], TensorboardTensor.fromJson),
blobs: decode(json['blobs'], TensorboardBlobSequence.fromJson),
wallTime: decodeCustom(json['wallTime'], protobuf.Timestamp.fromJson),
step: decodeInt64(json['step']) ?? 0,
);
}