HistoryResult.from constructor

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

Implementation

HistoryResult.from(Map<String, dynamic> json)
    : dataSource = DataSource.from(json['dataSource']),
      dataType = DataType.from(json['dataType']),
      dataPoints = DataPoint.collect(json['dataPoints']);