DescribeAttackStatisticsResponse.fromJson constructor
Implementation
factory DescribeAttackStatisticsResponse.fromJson(Map<String, dynamic> json) {
return DescribeAttackStatisticsResponse(
dataItems: (json['DataItems'] as List)
.whereNotNull()
.map((e) =>
AttackStatisticsDataItem.fromJson(e as Map<String, dynamic>))
.toList(),
timeRange: TimeRange.fromJson(json['TimeRange'] as Map<String, dynamic>),
);
}