WindowSummary.fromJson constructor
WindowSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory WindowSummary.fromJson(Map<String, dynamic> json) {
return WindowSummary(
evaluationType: (json['EvaluationType'] as String?)?.toEvaluationType(),
itemCount: json['ItemCount'] as int?,
metrics: json['Metrics'] != null
? Metrics.fromJson(json['Metrics'] as Map<String, dynamic>)
: null,
testWindowEnd: timeStampFromJson(json['TestWindowEnd']),
testWindowStart: timeStampFromJson(json['TestWindowStart']),
);
}