SummarizedCounter.fromJson constructor
Implementation
factory SummarizedCounter.fromJson(Map<String, dynamic> json) {
return SummarizedCounter(
average: json['Average'] as double?,
max: json['Max'] as double?,
n: json['N'] as int?,
name: json['Name'] as String?,
sum: json['Sum'] as double?,
unit: json['Unit'] as String?,
);
}