DataPoint.fromData constructor
DataPoint.fromData(
- Data data
Create a DataPoint from a Data
object.
Implementation
factory DataPoint.fromData(Data data) => DataPoint(
DataPointHeader(
dataFormat: data.format,
startTime: DateTime.now().toUtc(),
),
data);