Statistics.fromJson constructor

Statistics.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Statistics.fromJson(Map<String, dynamic> json)
    : identifier = json['identifier'],
      startTimestamp = json['startTimestamp'],
      endTimestamp = json['endTimestamp'],
      sources = Source.collect(json['sources']),
      harmonized = StatisticsHarmonized.fromJson(json['harmonized']);