SummarizedAttackVector.fromJson constructor
Implementation
factory SummarizedAttackVector.fromJson(Map<String, dynamic> json) {
return SummarizedAttackVector(
vectorType: json['VectorType'] as String,
vectorCounters: (json['VectorCounters'] as List?)
?.whereNotNull()
.map((e) => SummarizedCounter.fromJson(e as Map<String, dynamic>))
.toList(),
);
}