AttackStatisticsDataItem.fromJson constructor

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

Implementation

factory AttackStatisticsDataItem.fromJson(Map<String, dynamic> json) {
  return AttackStatisticsDataItem(
    attackCount: json['AttackCount'] as int,
    attackVolume: json['AttackVolume'] != null
        ? AttackVolume.fromJson(json['AttackVolume'] as Map<String, dynamic>)
        : null,
  );
}