DataPoint.from constructor

DataPoint.from(
  1. Map<String, dynamic> json
)

Implementation

DataPoint.from(Map<String, dynamic> json)
    : startTime = json['startTime'],
      endTime = json['endTime'],
      originalDataSource = DataSource.from(json['dataPoints']),
      entries = DataPointEntry.collect(json['entries']);