DescribeAttackResponse.fromJson constructor

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

Implementation

factory DescribeAttackResponse.fromJson(Map<String, dynamic> json) {
  return DescribeAttackResponse(
    attack: json['Attack'] != null
        ? AttackDetail.fromJson(json['Attack'] as Map<String, dynamic>)
        : null,
  );
}